Project Number Date
test_Tails_ISO_devel 3575 03 Nov 2024, 12:54

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:54.583 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.043
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.098
And I update APT using apt 14.258
And I install "python3-behave" using apt 25.455
Then the Tails Persistent Storage behave tests pass 3.231
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.000
Tags: @product
44.940
Before features/support/hooks.rb:269 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 12.304
When I log in to a new session without activating the Persistent Storage 23.431
Then Tails is running from USB drive "__internal" 0.997
And persistence is disabled 0.400
But a Tails persistence partition exists on USB drive "__internal" 7.806
After features/support/hooks.rb:326 2.090
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.728
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.319
Then Tails is running from USB drive "__internal" 0.853
When I create a file in the Persistent directory 0.220
And I create a persistent partition with the default settings 25.437
Then the file I created was copied to the Persistent Storage 0.835
When I shutdown Tails and wait for the computer to power off 12.991
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.573
Then persistence for "Persistent" is active 0.419
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 1.092
After features/support/hooks.rb:100 0.020
Tags: @product
1:7.473
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.793
And the system is very low on memory 6.204
When I create a file in the Persistent directory 1.493
When I try to create a persistent partition 27.986
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.299
When I close the Persistent Storage app 2.771
And I free up some memory 1.879
And I create a persistent partition with the default settings 13.755
Then the file I created was copied to the Persistent Storage 0.290
After features/support/hooks.rb:326 1.715
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.486
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 12.013
Then Tails is running from USB drive "__internal" 0.460
And all tps features are active 2.568
And all persistent directories have safe access rights 2.635
When I disable the first tps feature 6.588
Then all tps features but the first one are active 2.513
And I shutdown Tails and wait for the computer to power off 13.299
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.993
Then all tps features but the first one are active 2.412
After features/support/hooks.rb:326 0.996
After features/support/hooks.rb:100 0.031
Tags: @product
25.857
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.565
Then persistence for "Persistent" is active 0.112
And I create a file in the Persistent directory 0.191
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 7.152
Then persistence for "Persistent" is not active 0.119
And the Persistent directory does not exist 0.068
When I enable the first tps feature 4.400
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 1.009
After features/support/hooks.rb:100 0.000
Tags: @product
24.065
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 11.560
Then persistence for "Persistent" is active 0.112
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 7.743
And I delete the data of the Persistent Folder feature 4.466
Then the file I created does not exist on the Persistent Storage 0.101
After features/support/hooks.rb:326 1.083
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.484
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.975
And the network is plugged 0.206
And Tor is ready 20.877
And I take note of which tps features are available 0.664
When I write some files expected to persist 1.629
And I shutdown Tails and wait for the computer to power off 12.969
# 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" 25.161
After features/support/hooks.rb:326 0.159
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.667
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.791
And the network is plugged 0.091
And Tor is ready 20.944
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.194
And I shutdown Tails and wait for the computer to power off 8.887
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.791
And I capture all network traffic 0.008
And the network is plugged 0.083
And Tor is ready 23.175
And I switch to the "persistent-con-current" NetworkManager connection 0.415
And the 1st network device has a spoofed MAC address configured 0.123
And no network device leaked the real MAC address 0.160
After features/support/hooks.rb:326 0.660
After features/support/hooks.rb:100 0.082
Tags: @product
1:2.026
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.715
And I enable persistence creation in Tails Greeter 1.181
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.411
Then I create a persistent partition with the default settings using the wizard that was already open 23.718
After features/support/hooks.rb:326 1.968
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.485
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 13.292
When I enable persistence 47.139
Then no persistent Greeter options were restored 14.298
When I set all Greeter options to non-default values 25.457
And I log in to a new session in German (de) after having activated the Persistent Storage 48.650
Then all Greeter options are set to non-default values 1.746
When I cold reboot the computer 7.626
And the computer reboots Tails 59.717
Given I enable persistence 32.892
Then persistent Greeter options were restored 15.169
When I log in to a new session after having activated the Persistent Storage 41.087
Then all Greeter options are set to non-default values 0.405
After features/support/hooks.rb:326 1.347
After features/support/hooks.rb:100 0.007
Tags: @product
3:51.983
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.466
# 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 42.981
And I shutdown Tails and wait for the computer to power off 12.464
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.029
And I change the passphrase of the Persistent Storage back to the original 40.041
After features/support/hooks.rb:326 1.976
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.671
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.549
And I log in to a new session without activating the Persistent Storage 22.306
Then persistence is disabled 0.412
But a Tails persistence partition exists on USB drive "__internal" 14.964
And all notifications have disappeared 8.395
When I delete the persistent partition 5.802
Then there is no persistence partition on USB drive "__internal" 0.239
After features/support/hooks.rb:326 0.788
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.971
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.581
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 8.826
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.932
Then the expected persistent dotfile is present in the filesystem 0.564
After features/support/hooks.rb:326 1.127
After features/support/hooks.rb:100 0.008
Tags: @product
1:34.609
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.795
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.108
When I try to enable persistence 0.298
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.990
When I log in to a new session after having activated the Persistent Storage 35.962
And all notifications have disappeared 7.690
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.936
And all tps features are enabled 2.467
And all tps features but the first one are active 2.360
After features/support/hooks.rb:326 1.114
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.256
Before features/support/hooks.rb:269 0.004
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.940
And I enable persistence 34.906
And I log in to a new session after having activated the Persistent Storage 51.916
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.235
And persistence is enabled 0.257
After features/support/hooks.rb:326 1.873
After features/support/hooks.rb:100 0.000
Tags: @product
28.221
Before features/support/hooks.rb:269 0.004
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.016
And I enable persistence but something goes wrong during the LUKS header upgrade 18.424
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.781
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.000
Tags: @product
47.907
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.624
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.438
When I enable persistence 32.341
Then the filesystem of the Persistent Storage was repaired 0.115
And persistence is successfully enabled 0.388
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
28.415
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 9.359
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.808
When I try to enable persistence 0.473
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.463
When I repair the filesystem of the Persistent Storage 1.198
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.307
And the filesystem of the Persistent Storage was repaired 0.074
When I close the filesystem repair dialog 1.287
Then persistence is successfully enabled 0.442
After features/support/hooks.rb:326 0.934
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:40.316
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 8.832
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.117
When I try to enable persistence 0.264
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.392
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 31.368
And all notifications have disappeared 7.444
# 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.760
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.352
When I close the "whisperback" window 1.640
Then the Tor Browser starts 16.955
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.847
After features/support/hooks.rb:326 2.333
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.969
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 9.573
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.936
And Tails detects disk read failures on the boot device 1.646
When I try to enable persistence 0.481
Then the Welcome Screen tells me that my hardware is probably failing 6.300
When I log in to a new session 21.373
And all notifications have disappeared 9.790
Then the Tor Browser starts 21.971
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.894
After features/support/hooks.rb:326 1.727
After features/support/hooks.rb:100 0.000