Project Number Date
test_Tails_ISO_stable 5130 01 Oct 2024, 12:40

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 47:14.091 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.497
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:45.549
And I update APT using apt 14.156
And I install "python3-behave" using apt 25.987
Then the Tails Persistent Storage behave tests pass 3.804
After features/support/hooks.rb:326 0.797
After features/support/hooks.rb:100 0.000
Tags: @product
57.423
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 18.074
When I log in to a new session without activating the Persistent Storage 26.245
Then Tails is running from USB drive "__internal" 0.595
And persistence is disabled 0.562
But a Tails persistence partition exists on USB drive "__internal" 11.945
After features/support/hooks.rb:326 1.695
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.945
Before features/support/hooks.rb:269 0.020
Given I have started Tails without network from a USB drive without a persistent partition and logged in 34.038
Then Tails is running from USB drive "__internal" 0.956
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 24.788
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 15.720
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.938
Then persistence for "Persistent" is active 0.426
And the file I created in the Persistent directory exists 0.105
After features/support/hooks.rb:326 1.236
After features/support/hooks.rb:100 0.014
Tags: @product
1:14.162
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 29.431
And the system is very low on memory 6.696
When I create a file in the Persistent directory 0.981
When I try to create a persistent partition 19.901
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.296
When I close the Persistent Storage app 2.876
And I free up some memory 1.535
And I create a persistent partition with the default settings 12.141
Then the file I created was copied to the Persistent Storage 0.301
After features/support/hooks.rb:326 1.397
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.622
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 20.039
Then Tails is running from USB drive "__internal" 1.341
And all tps features are active 2.892
And all persistent directories have safe access rights 3.860
When I disable the first tps feature 5.207
Then all tps features but the first one are active 2.677
And I shutdown Tails and wait for the computer to power off 11.436
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.915
Then all tps features but the first one are active 3.252
After features/support/hooks.rb:326 0.878
After features/support/hooks.rb:100 0.014
Tags: @product
23.327
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.991
Then persistence for "Persistent" is active 0.097
And I create a file in the Persistent directory 0.149
Then the file I created was copied to the Persistent Storage 0.115
When I disable the first tps feature 7.282
Then persistence for "Persistent" is not active 0.097
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.325
Then persistence for "Persistent" is active 0.105
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 1.161
After features/support/hooks.rb:100 0.000
Tags: @product
20.468
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.556
Then persistence for "Persistent" is active 0.233
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 5.900
And I delete the data of the Persistent Folder feature 3.651
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:326 1.078
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.633
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.698
And the network is plugged 0.141
And Tor is ready 22.000
And I take note of which tps features are available 0.828
When I write some files expected to persist 1.561
And I shutdown Tails and wait for the computer to power off 9.166
# 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" 27.237
After features/support/hooks.rb:326 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:41.511
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 9.777
And the network is plugged 0.170
And Tor is ready 49.451
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.243
And I shutdown Tails and wait for the computer to power off 8.502
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.496
And I capture all network traffic 0.007
And the network is plugged 0.102
And Tor is ready 19.914
And I switch to the "persistent-con-current" NetworkManager connection 0.517
And the 1st network device has a spoofed MAC address configured 0.094
And no network device leaked the real MAC address 0.234
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.069
Tags: @product
1:38.015
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 51.117
And I enable persistence creation in Tails Greeter 1.259
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.625
Then I create a persistent partition with the default settings using the wizard that was already open 24.014
After features/support/hooks.rb:326 1.989
After features/support/hooks.rb:100 0.000
Tags: @product
5:57.049
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 39.993
When I enable persistence 56.164
Then no persistent Greeter options were restored 14.580
When I set all Greeter options to non-default values 33.929
And I log in to a new session in German (de) after having activated the Persistent Storage 45.122
Then all Greeter options are set to non-default values 0.332
When I cold reboot the computer 9.770
And the computer reboots Tails 1:6.975
Given I enable persistence 36.926
Then persistent Greeter options were restored 15.031
When I log in to a new session after having activated the Persistent Storage 37.516
Then all Greeter options are set to non-default values 0.705
After features/support/hooks.rb:326 1.577
After features/support/hooks.rb:100 0.008
Tags: @product
4:2.510
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.602
# 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 36.384
And I shutdown Tails and wait for the computer to power off 15.160
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.043
And I change the passphrase of the Persistent Storage back to the original 34.319
After features/support/hooks.rb:326 2.521
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.034
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 10.291
And I log in to a new session without activating the Persistent Storage 27.843
Then persistence is disabled 0.426
But a Tails persistence partition exists on USB drive "__internal" 8.736
And all notifications have disappeared 11.046
When I delete the persistent partition 9.142
Then there is no persistence partition on USB drive "__internal" 0.546
After features/support/hooks.rb:326 1.051
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.487
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 11.520
When I write some dotfile expected to persist 0.421
And I shutdown Tails and wait for the computer to power off 11.729
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.401
Then the expected persistent dotfile is present in the filesystem 0.413
After features/support/hooks.rb:326 0.643
After features/support/hooks.rb:100 0.008
Tags: @product
2:3.601
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.095
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.126
When I try to enable persistence 0.499
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.774
When I log in to a new session after having activated the Persistent Storage 57.125
And all notifications have disappeared 8.611
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.772
And all tps features are enabled 2.396
And all tps features but the first one are active 2.200
After features/support/hooks.rb:326 1.417
After features/support/hooks.rb:100 0.000
Tags: @product
7:8.560
Before features/support/hooks.rb:269 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 5:40.601
And I enable persistence 40.467
And I log in to a new session after having activated the Persistent Storage 43.634
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.498
And persistence is enabled 0.358
After features/support/hooks.rb:326 2.098
After features/support/hooks.rb:100 0.000
Tags: @product
43.346
Before features/support/hooks.rb:269 0.011
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 11.992
And I enable persistence but something goes wrong during the LUKS header upgrade 30.395
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.958
After features/support/hooks.rb:326 0.932
After features/support/hooks.rb:100 0.000
Tags: @product
51.655
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 10.421
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.653
When I enable persistence 32.099
Then the filesystem of the Persistent Storage was repaired 0.113
And persistence is successfully enabled 0.368
After features/support/hooks.rb:326 1.284
After features/support/hooks.rb:100 0.000
Tags: @product
26.900
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.653
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.661
When I try to enable persistence 0.762
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.672
When I repair the filesystem of the Persistent Storage 1.230
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.179
And the filesystem of the Persistent Storage was repaired 0.122
When I close the filesystem repair dialog 1.213
Then persistence is successfully enabled 0.403
After features/support/hooks.rb:326 0.793
After features/support/hooks.rb:100 0.000
Tags: @product
2:13.201
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 10.366
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.129
When I try to enable persistence 0.636
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 52.108
When I repair the filesystem of the Persistent Storage 1.274
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.160
When I log in to a new session 38.693
And all notifications have disappeared 8.892
# 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" 2.034
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.923
When I close the "whisperback" window 1.735
Then the Tor Browser starts 15.627
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.618
After features/support/hooks.rb:326 2.177
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.133
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.223
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.742
And Tails detects disk read failures on the boot device 1.656
When I try to enable persistence 0.403
Then the Welcome Screen tells me that my hardware is probably failing 5.473
When I log in to a new session 24.091
And all notifications have disappeared 5.261
Then the Tor Browser starts 25.771
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.509
After features/support/hooks.rb:326 2.152
After features/support/hooks.rb:100 0.000