Project Number Date
test_Tails_ISO_stable 5131 01 Oct 2024, 14:23

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 40:12.839 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.568
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.489
And I update APT using apt 14.566
And I install "python3-behave" using apt 25.873
Then the Tails Persistent Storage behave tests pass 2.638
After features/support/hooks.rb:326 0.687
After features/support/hooks.rb:100 0.000
Tags: @product
50.138
Before features/support/hooks.rb:269 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 15.643
When I log in to a new session without activating the Persistent Storage 27.063
Then Tails is running from USB drive "__internal" 0.653
And persistence is disabled 0.515
But a Tails persistence partition exists on USB drive "__internal" 6.262
After features/support/hooks.rb:326 1.886
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.616
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.408
Then Tails is running from USB drive "__internal" 0.449
When I create a file in the Persistent directory 0.242
And I create a persistent partition with the default settings 24.356
Then the file I created was copied to the Persistent Storage 0.878
When I shutdown Tails and wait for the computer to power off 15.505
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.343
Then persistence for "Persistent" is active 0.351
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.938
After features/support/hooks.rb:100 0.012
Tags: @product
1:15.997
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 33.025
And the system is very low on memory 5.310
When I create a file in the Persistent directory 2.172
When I try to create a persistent partition 19.871
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.266
When I close the Persistent Storage app 2.558
And I free up some memory 1.258
And I create a persistent partition with the default settings 11.324
Then the file I created was copied to the Persistent Storage 0.209
After features/support/hooks.rb:326 1.049
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.002
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.785
Then Tails is running from USB drive "__internal" 0.541
And all tps features are active 2.331
And all persistent directories have safe access rights 2.479
When I disable the first tps feature 5.646
Then all tps features but the first one are active 2.027
And I shutdown Tails and wait for the computer to power off 8.712
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.125
Then all tps features but the first one are active 2.352
After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.010
Tags: @product
20.667
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.668
Then persistence for "Persistent" is active 0.093
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 6.174
Then persistence for "Persistent" is not active 0.156
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.137
Then persistence for "Persistent" is active 0.122
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.000
Tags: @product
20.444
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.106
Then persistence for "Persistent" is active 0.092
When I create a file in the Persistent directory 0.091
And I disable the first tps feature 6.238
And I delete the data of the Persistent Folder feature 3.860
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 1.396
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.940
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.947
And the network is plugged 0.078
And Tor is ready 21.671
And I take note of which tps features are available 0.577
When I write some files expected to persist 1.602
And I shutdown Tails and wait for the computer to power off 8.401
# 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.660
After features/support/hooks.rb:326 0.112
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.676
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.041
And the network is plugged 0.076
And Tor is ready 21.070
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.207
And I shutdown Tails and wait for the computer to power off 8.462
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.805
And I capture all network traffic 0.006
And the network is plugged 0.075
And Tor is ready 22.148
And I switch to the "persistent-con-current" NetworkManager connection 0.436
And the 1st network device has a spoofed MAC address configured 0.093
And no network device leaked the real MAC address 0.251
After features/support/hooks.rb:326 0.635
After features/support/hooks.rb:100 0.045
Tags: @product
1:1.144
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.633
And I enable persistence creation in Tails Greeter 1.107
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.453
Then I create a persistent partition with the default settings using the wizard that was already open 21.950
After features/support/hooks.rb:326 1.872
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.013
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.968
When I enable persistence 38.303
Then no persistent Greeter options were restored 14.235
When I set all Greeter options to non-default values 25.857
And I log in to a new session in German (de) after having activated the Persistent Storage 56.132
Then all Greeter options are set to non-default values 0.632
When I cold reboot the computer 7.511
And the computer reboots Tails 58.843
Given I enable persistence 32.358
Then persistent Greeter options were restored 15.300
When I log in to a new session after having activated the Persistent Storage 40.302
Then all Greeter options are set to non-default values 0.567
After features/support/hooks.rb:326 1.298
After features/support/hooks.rb:100 0.007
Tags: @product
3:29.039
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.447
# 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 35.377
And I shutdown Tails and wait for the computer to power off 17.102
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:58.123
And I change the passphrase of the Persistent Storage back to the original 27.987
After features/support/hooks.rb:326 2.525
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.937
Before features/support/hooks.rb:269 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 10.560
And I log in to a new session without activating the Persistent Storage 22.925
Then persistence is disabled 0.569
But a Tails persistence partition exists on USB drive "__internal" 10.563
And all notifications have disappeared 10.167
When I delete the persistent partition 5.649
Then there is no persistence partition on USB drive "__internal" 0.500
After features/support/hooks.rb:326 0.900
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.309
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.232
When I write some dotfile expected to persist 0.086
And I shutdown Tails and wait for the computer to power off 8.753
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.867
Then the expected persistent dotfile is present in the filesystem 0.368
After features/support/hooks.rb:326 1.040
After features/support/hooks.rb:100 0.010
Tags: @product
1:40.364
Before features/support/hooks.rb:269 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.446
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.172
When I try to enable persistence 0.313
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.991
When I log in to a new session after having activated the Persistent Storage 40.713
And all notifications have disappeared 9.032
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.352
And all tps features are enabled 2.236
And all tps features but the first one are active 2.105
After features/support/hooks.rb:326 1.053
After features/support/hooks.rb:100 0.000
Tags: @product
4:59.458
Before features/support/hooks.rb:269 0.006
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:35.935
And I enable persistence 35.308
And I log in to a new session after having activated the Persistent Storage 45.701
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.135
And persistence is enabled 0.377
After features/support/hooks.rb:326 1.545
After features/support/hooks.rb:100 0.000
Tags: @product
28.108
Before features/support/hooks.rb:269 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 8.541
And I enable persistence but something goes wrong during the LUKS header upgrade 18.736
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.831
After features/support/hooks.rb:326 0.738
After features/support/hooks.rb:100 0.000
Tags: @product
53.682
Before features/support/hooks.rb:269 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.356
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.057
When I enable persistence 37.728
Then the filesystem of the Persistent Storage was repaired 0.100
And persistence is successfully enabled 0.440
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
28.823
Before features/support/hooks.rb:269 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.393
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.611
When I try to enable persistence 0.519
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.055
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.242
And the filesystem of the Persistent Storage was repaired 0.090
When I close the filesystem repair dialog 1.245
Then persistence is successfully enabled 0.405
After features/support/hooks.rb:326 1.282
After features/support/hooks.rb:100 0.000
Tags: @product
1:53.937
Before features/support/hooks.rb:269 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.238
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.113
When I try to enable persistence 0.276
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.296
When I repair the filesystem of the Persistent Storage 1.280
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.097
When I log in to a new session 40.824
And all notifications have disappeared 10.117
# 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.903
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.770
When I close the "whisperback" window 1.451
Then the Tor Browser starts 13.110
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.455
After features/support/hooks.rb:326 2.247
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.966
Before features/support/hooks.rb:269 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 10.685
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.193
And Tails detects disk read failures on the boot device 1.587
When I try to enable persistence 0.436
Then the Welcome Screen tells me that my hardware is probably failing 5.965
When I log in to a new session 20.678
And all notifications have disappeared 7.479
Then the Tor Browser starts 19.442
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.498
After features/support/hooks.rb:326 1.799
After features/support/hooks.rb:100 0.000