Project Number Date
test_Tails_ISO_stable 5135 03 Oct 2024, 08:48

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 42:3.216 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.055
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:35.371
And I update APT using apt 16.131
And I install "python3-behave" using apt 25.841
Then the Tails Persistent Storage behave tests pass 2.712
After features/support/hooks.rb:326 0.640
After features/support/hooks.rb:100 0.000
Tags: @product
59.051
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 24.231
When I log in to a new session without activating the Persistent Storage 26.339
Then Tails is running from USB drive "__internal" 0.663
And persistence is disabled 0.470
But a Tails persistence partition exists on USB drive "__internal" 7.345
After features/support/hooks.rb:326 0.917
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.571
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.665
Then Tails is running from USB drive "__internal" 1.031
When I create a file in the Persistent directory 0.240
And I create a persistent partition with the default settings 22.774
Then the file I created was copied to the Persistent Storage 0.770
When I shutdown Tails and wait for the computer to power off 13.519
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.070
Then persistence for "Persistent" is active 0.426
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.952
After features/support/hooks.rb:100 0.041
Tags: @product
1:9.397
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.159
And the system is very low on memory 5.916
When I create a file in the Persistent directory 2.189
When I try to create a persistent partition 31.121
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.329
When I close the Persistent Storage app 2.533
And I free up some memory 1.638
And I create a persistent partition with the default settings 13.253
Then the file I created was copied to the Persistent Storage 0.254
After features/support/hooks.rb:326 1.716
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.158
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 11.165
Then Tails is running from USB drive "__internal" 0.523
And all tps features are active 2.654
And all persistent directories have safe access rights 2.859
When I disable the first tps feature 5.342
Then all tps features but the first one are active 2.111
And I shutdown Tails and wait for the computer to power off 13.603
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.632
Then all tps features but the first one are active 2.266
After features/support/hooks.rb:326 0.871
After features/support/hooks.rb:100 0.010
Tags: @product
20.421
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.128
Then persistence for "Persistent" is active 0.200
And I create a file in the Persistent directory 0.085
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 5.467
Then persistence for "Persistent" is not active 0.103
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.146
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.780
After features/support/hooks.rb:100 0.000
Tags: @product
20.025
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.697
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.130
And I disable the first tps feature 5.813
And I delete the data of the Persistent Folder feature 4.217
Then the file I created does not exist on the Persistent Storage 0.076
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.414
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.927
And the network is plugged 0.908
And Tor is ready 19.390
And I take note of which tps features are available 0.633
When I write some files expected to persist 1.772
And I shutdown Tails and wait for the computer to power off 8.375
# 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.404
After features/support/hooks.rb:326 0.170
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.560
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.937
And the network is plugged 0.211
And Tor is ready 19.734
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.222
And I shutdown Tails and wait for the computer to power off 9.569
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.606
And I capture all network traffic 0.006
And the network is plugged 0.079
And Tor is ready 20.308
And I switch to the "persistent-con-current" NetworkManager connection 0.522
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.243
After features/support/hooks.rb:326 0.625
After features/support/hooks.rb:100 0.076
Tags: @product
59.053
Before features/support/hooks.rb:269 0.017
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.474
And I enable persistence creation in Tails Greeter 1.121
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.665
Then I create a persistent partition with the default settings using the wizard that was already open 22.792
After features/support/hooks.rb:326 1.913
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.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 14.699
When I enable persistence 39.750
Then no persistent Greeter options were restored 14.541
When I set all Greeter options to non-default values 25.782
And I log in to a new session in German (de) after having activated the Persistent Storage 55.855
Then all Greeter options are set to non-default values 0.759
When I cold reboot the computer 7.612
And the computer reboots Tails 1:0.039
Given I enable persistence 32.576
Then persistent Greeter options were restored 14.694
When I log in to a new session after having activated the Persistent Storage 40.180
Then all Greeter options are set to non-default values 0.445
After features/support/hooks.rb:326 1.466
After features/support/hooks.rb:100 0.008
Tags: @product
3:57.850
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.674
# 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 33.689
And I shutdown Tails and wait for the computer to power off 12.598
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:27.117
And I change the passphrase of the Persistent Storage back to the original 33.770
After features/support/hooks.rb:326 2.349
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.601
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.013
And I log in to a new session without activating the Persistent Storage 21.465
Then persistence is disabled 0.330
But a Tails persistence partition exists on USB drive "__internal" 11.362
And all notifications have disappeared 10.992
When I delete the persistent partition 6.775
Then there is no persistence partition on USB drive "__internal" 0.661
After features/support/hooks.rb:326 0.875
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.574
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.870
When I write some dotfile expected to persist 0.123
And I shutdown Tails and wait for the computer to power off 8.429
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.728
Then the expected persistent dotfile is present in the filesystem 0.422
After features/support/hooks.rb:326 1.066
After features/support/hooks.rb:100 0.013
Tags: @product
1:43.805
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.115
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.254
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.939
When I log in to a new session after having activated the Persistent Storage 41.425
And all notifications have disappeared 9.033
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.001
And all tps features are enabled 2.671
And all tps features but the first one are active 2.280
After features/support/hooks.rb:326 1.373
After features/support/hooks.rb:100 0.000
Tags: @product
5:39.737
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 4:6.464
And I enable persistence 41.701
And I log in to a new session after having activated the Persistent Storage 49.444
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.895
And persistence is enabled 0.231
After features/support/hooks.rb:326 1.509
After features/support/hooks.rb:100 0.000
Tags: @product
30.681
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 9.910
And I enable persistence but something goes wrong during the LUKS header upgrade 19.989
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.780
After features/support/hooks.rb:326 0.705
After features/support/hooks.rb:100 0.000
Tags: @product
59.208
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 9.238
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.737
When I enable persistence 43.595
Then the filesystem of the Persistent Storage was repaired 0.126
And persistence is successfully enabled 0.511
After features/support/hooks.rb:326 1.174
After features/support/hooks.rb:100 0.000
Tags: @product
34.412
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.045
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.580
When I try to enable persistence 0.510
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.752
When I repair the filesystem of the Persistent Storage 1.361
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.335
And the filesystem of the Persistent Storage was repaired 0.097
When I close the filesystem repair dialog 1.270
Then persistence is successfully enabled 0.457
After features/support/hooks.rb:326 0.874
After features/support/hooks.rb:100 0.000
Tags: @product
1:55.503
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.682
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.331
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.715
When I repair the filesystem of the Persistent Storage 1.398
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.107
When I log in to a new session 37.764
And all notifications have disappeared 11.116
# 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.747
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.892
When I close the "whisperback" window 1.664
Then the Tor Browser starts 14.414
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.551
After features/support/hooks.rb:326 2.147
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.193
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.353
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.919
And Tails detects disk read failures on the boot device 1.661
When I try to enable persistence 0.489
Then the Welcome Screen tells me that my hardware is probably failing 6.872
When I log in to a new session 24.980
And all notifications have disappeared 5.433
Then the Tor Browser starts 23.971
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.511
After features/support/hooks.rb:326 1.772
After features/support/hooks.rb:100 0.000