Project Number Date
test_Tails_ISO_feature-arti 20 06 Apr 2025, 16:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 157 0 0 0 0 157 21 0 21 44:45.085 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:6.813
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:51.914
And I update APT using apt 1:15.998
And I install "python3-behave" using apt 1:56.044
Then the Tails Persistent Storage behave tests pass 2.856
After features/support/hooks.rb:330 0.824
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.783
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 24.129
When I log in to a new session without activating the Persistent Storage 25.084
Then Tails is running from USB drive "__internal" 0.613
And persistence is disabled 0.521
But a Tails persistence partition exists on USB drive "__internal" 18.434
After features/support/hooks.rb:330 3.061
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.638
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.542
Then Tails is running from USB drive "__internal" 0.509
When I create a file in the Persistent directory 0.121
And I create a persistent partition with the default settings 30.650
Then the file I created was copied to the Persistent Storage 2.474
When I shutdown Tails and wait for the computer to power off 18.962
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.924
Then persistence for "Persistent" is active 0.380
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 0.799
After features/support/hooks.rb:100 0.010
Tags: @product
56.716
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.656
And the system is very low on memory 3.584
When I create a file in the Persistent directory 1.223
When I try to create a persistent partition 22.557
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.122
When I close the Persistent Storage app 2.528
And I free up some memory 2.369
And I create a persistent partition with the default settings 12.412
Then the file I created was copied to the Persistent Storage 0.262
After features/support/hooks.rb:330 2.148
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.746
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.207
Then Tails is running from USB drive "__internal" 0.793
And all tps features are active 2.443
And all persistent directories have safe access rights 2.679
When I disable the first tps feature 5.984
Then all tps features but the first one are active 3.132
And I shutdown Tails and wait for the computer to power off 12.819
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.451
Then all tps features but the first one are active 2.233
After features/support/hooks.rb:330 1.420
After features/support/hooks.rb:100 0.011
Tags: @product
20.300
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.661
Then persistence for "Persistent" is active 0.374
And I create a file in the Persistent directory 0.066
Then the file I created was copied to the Persistent Storage 0.059
When I disable the first tps feature 5.805
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.041
When I enable the first tps feature 3.062
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 0.834
After features/support/hooks.rb:100 0.000
Tags: @product
19.969
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.126
Then persistence for "Persistent" is active 0.116
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 5.630
And I delete the data of the Persistent Folder feature 3.943
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 0.849
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.301
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.056
And the network is plugged 0.073
And Tor is ready 19.884
And I take note of which tps features are available 0.726
When I write some files expected to persist 1.536
And I shutdown Tails and wait for the computer to power off 8.602
# XXX: The next step succeeds (and the --debug output confirms that it's actually looking for the files) but will fail in a subsequent scenario restoring the same snapshot. This exactly what we want, but why does it work? What is guestfs's behaviour when qcow2 internal snapshots are involved?
Then only the expected files are present on the persistence partition on USB drive "__internal" 24.421
After features/support/hooks.rb:330 0.105
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.276
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.861
And the network is plugged 0.091
And Tor is ready 47.212
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.176
And I shutdown Tails and wait for the computer to power off 8.637
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.181
And I capture all network traffic 0.006
And the network is plugged 0.068
And Tor is ready 21.431
And I switch to the "persistent-con-current" NetworkManager connection 0.307
And the 1st network device has a spoofed MAC address configured 0.118
And no network device leaked the real MAC address 0.183
After features/support/hooks.rb:330 0.800
After features/support/hooks.rb:100 0.068
Tags: @product
59.191
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.101
And I enable persistence creation in Tails Greeter 1.130
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.910
Then I create a persistent partition with the default settings using the wizard that was already open 21.048
After features/support/hooks.rb:330 2.532
After features/support/hooks.rb:100 0.000
Tags: @product
4:38.447
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.023
When I enable persistence 39.504
Then no persistent Greeter options were restored 14.318
When I set all Greeter options to non-default values 32.201
And I log in to a new session in German (de) after having activated the Persistent Storage 42.532
Then all Greeter options are set to non-default values 0.360
When I cold reboot the computer 7.344
And the computer reboots Tails 1:7.354
Given I enable persistence 18.205
Then persistent Greeter options were restored 0.631
When I log in to a new session after having activated the Persistent Storage 40.416
Then all Greeter options are set to non-default values 0.556
After features/support/hooks.rb:330 2.107
After features/support/hooks.rb:100 0.024
Tags: @product
3:36.487
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.577
# Note that if anything fails after the passphrase was changed and
# before it's changed back below, subsequent scenarios might fail
# because the Persistent Storage doesn't have the expected passphrase.
When I change the passphrase of the Persistent Storage 32.944
And I shutdown Tails and wait for the computer to power off 14.843
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.546
And I change the passphrase of the Persistent Storage back to the original 29.575
After features/support/hooks.rb:330 2.901
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.435
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.914
And I log in to a new session without activating the Persistent Storage 27.326
Then persistence is disabled 0.861
But a Tails persistence partition exists on USB drive "__internal" 10.532
And all notifications have disappeared 9.924
When I delete the persistent partition 6.124
Then there is no persistence partition on USB drive "__internal" 0.752
After features/support/hooks.rb:330 1.277
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.741
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.650
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 9.075
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.364
Then the expected persistent dotfile is present in the filesystem 0.572
After features/support/hooks.rb:330 1.581
After features/support/hooks.rb:100 0.012
Tags: @product
1:54.088
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.487
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.361
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.212
When I log in to a new session after having activated the Persistent Storage 49.434
And all notifications have disappeared 7.992
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.274
And all tps features are enabled 4.140
And all tps features but the first one are active 2.085
After features/support/hooks.rb:330 3.023
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.364
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:53.164
And I enable persistence 35.745
And I log in to a new session after having activated the Persistent Storage 41.955
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.934
And persistence is enabled 2.564
After features/support/hooks.rb:330 1.252
After features/support/hooks.rb:100 0.000
Tags: @product
32.236
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.089
And I enable persistence but something goes wrong during the LUKS header upgrade 22.021
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.124
After features/support/hooks.rb:330 0.953
After features/support/hooks.rb:100 0.000
Tags: @product
48.110
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.913
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.504
When I enable persistence 26.285
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 3.311
After features/support/hooks.rb:330 1.172
After features/support/hooks.rb:100 0.000
Tags: @product
52.445
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.122
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.463
When I try to enable persistence 1.488
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.032
When I repair the filesystem of the Persistent Storage 1.320
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.492
And the filesystem of the Persistent Storage was repaired 3.942
When I close the filesystem repair dialog 1.241
Then persistence is successfully enabled 1.342
After features/support/hooks.rb:330 1.178
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.025
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.462
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.119
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.438
When I repair the filesystem of the Persistent Storage 2.765
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 41.593
And all notifications have disappeared 10.923
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 0.486
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.656
When I close the "whisperback" window 1.601
Then the Tor Browser starts 20.832
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.780
After features/support/hooks.rb:330 2.297
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.963
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.848
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.770
And Tails detects disk read failures on the boot device 1.624
When I try to enable persistence 0.423
Then the Welcome Screen tells me that my hardware is probably failing 19.213
When I log in to a new session 48.708
And all notifications have disappeared 8.299
Then the Tor Browser starts 23.338
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.736
After features/support/hooks.rb:330 1.676
After features/support/hooks.rb:100 0.000