Project Number Date
test_Tails_ISO_stable 5595 24 Apr 2025, 15:08

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:54.853 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.935
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:46.589
And I update APT using apt 13.071
And I install "python3-behave" using apt 26.093
Then the Tails Persistent Storage behave tests pass 2.181
After features/support/hooks.rb:330 0.700
After features/support/hooks.rb:100 0.000
Tags: @product
47.080
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 11.457
When I log in to a new session without activating the Persistent Storage 23.015
Then Tails is running from USB drive "__internal" 0.662
And persistence is disabled 0.444
But a Tails persistence partition exists on USB drive "__internal" 11.500
After features/support/hooks.rb:330 3.368
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.533
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 without a persistent partition and logged in 14.789
Then Tails is running from USB drive "__internal" 0.826
When I create a file in the Persistent directory 0.236
And I create a persistent partition with the default settings 24.892
Then the file I created was copied to the Persistent Storage 2.681
When I shutdown Tails and wait for the computer to power off 12.994
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.509
Then persistence for "Persistent" is active 0.507
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:330 2.441
After features/support/hooks.rb:100 0.007
Tags: @product
1:13.288
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 without a persistent partition and logged in 13.300
And the system is very low on memory 5.462
When I create a file in the Persistent directory 1.194
When I try to create a persistent partition 31.454
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.262
When I close the Persistent Storage app 2.631
And I free up some memory 3.966
And I create a persistent partition with the default settings 14.486
Then the file I created was copied to the Persistent Storage 0.526
After features/support/hooks.rb:330 2.483
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.693
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 persistent partition enabled and logged in 15.023
Then Tails is running from USB drive "__internal" 0.664
And all tps features are active 2.505
And all persistent directories have safe access rights 2.799
When I disable the first tps feature 6.509
Then all tps features but the first one are active 2.564
And I shutdown Tails and wait for the computer to power off 13.912
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.996
Then all tps features but the first one are active 2.717
After features/support/hooks.rb:330 1.308
After features/support/hooks.rb:100 0.009
Tags: @product
21.944
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 persistent partition enabled and logged in 11.923
Then persistence for "Persistent" is active 0.099
And I create a file in the Persistent directory 0.136
Then the file I created was copied to the Persistent Storage 0.083
When I disable the first tps feature 6.124
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.075
When I enable the first tps feature 3.244
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:330 1.198
After features/support/hooks.rb:100 0.000
Tags: @product
19.849
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.898
Then persistence for "Persistent" is active 0.124
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 6.038
And I delete the data of the Persistent Folder feature 3.656
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:330 1.136
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.959
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.211
And the network is plugged 0.175
And Tor is ready 19.094
And I take note of which tps features are available 0.740
When I write some files expected to persist 1.637
And I shutdown Tails and wait for the computer to power off 8.819
# 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.281
After features/support/hooks.rb:330 0.104
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.382
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.456
And the network is plugged 0.124
And Tor is ready 20.957
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.203
And I shutdown Tails and wait for the computer to power off 9.051
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.607
And I capture all network traffic 0.008
And the network is plugged 0.085
And Tor is ready 20.197
And I switch to the "persistent-con-current" NetworkManager connection 0.390
And the 1st network device has a spoofed MAC address configured 0.153
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:330 0.616
After features/support/hooks.rb:100 0.062
Tags: @product
59.688
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.002
And I enable persistence creation in Tails Greeter 1.189
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.068
Then I create a persistent partition with the default settings using the wizard that was already open 24.428
After features/support/hooks.rb:330 2.861
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.134
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 13.361
When I enable persistence 42.917
Then no persistent Greeter options were restored 14.802
When I set all Greeter options to non-default values 26.849
And I log in to a new session in German (de) after having activated the Persistent Storage 54.618
Then all Greeter options are set to non-default values 0.318
When I cold reboot the computer 7.623
And the computer reboots Tails 1:2.898
Given I enable persistence 16.786
Then persistent Greeter options were restored 5.033
When I log in to a new session after having activated the Persistent Storage 34.401
Then all Greeter options are set to non-default values 0.522
After features/support/hooks.rb:330 1.703
After features/support/hooks.rb:100 0.009
Tags: @product
4:21.407
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.204
# 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.898
And I shutdown Tails and wait for the computer to power off 16.722
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:41.422
And I change the passphrase of the Persistent Storage back to the original 38.160
After features/support/hooks.rb:330 2.984
After features/support/hooks.rb:100 0.008
Tags: @product
1:8.992
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 16.458
And I log in to a new session without activating the Persistent Storage 24.465
Then persistence is disabled 0.435
But a Tails persistence partition exists on USB drive "__internal" 10.641
And all notifications have disappeared 9.550
When I delete the persistent partition 6.448
Then there is no persistence partition on USB drive "__internal" 0.993
After features/support/hooks.rb:330 1.167
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.389
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.245
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 9.693
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.783
Then the expected persistent dotfile is present in the filesystem 0.588
After features/support/hooks.rb:330 1.329
After features/support/hooks.rb:100 0.012
Tags: @product
1:57.289
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.376
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.104
When I try to enable persistence 1.394
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.570
When I log in to a new session after having activated the Persistent Storage 49.757
And all notifications have disappeared 11.572
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.325
And all tps features are enabled 2.979
And all tps features but the first one are active 2.208
After features/support/hooks.rb:330 2.293
After features/support/hooks.rb:100 0.000
Tags: @product
9:10.965
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
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 7:42.763
And I enable persistence 33.811
And I log in to a new session after having activated the Persistent Storage 47.408
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.023
And persistence is enabled 3.959
After features/support/hooks.rb:330 1.678
After features/support/hooks.rb:100 0.000
Tags: @product
41.931
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 15.770
And I enable persistence but something goes wrong during the LUKS header upgrade 25.277
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.883
After features/support/hooks.rb:330 0.656
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.954
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 11.134
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.170
When I enable persistence 49.161
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 3.401
After features/support/hooks.rb:330 1.880
After features/support/hooks.rb:100 0.000
Tags: @product
56.551
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.719
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.893
When I try to enable persistence 1.538
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.661
When I repair the filesystem of the Persistent Storage 1.283
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.285
And the filesystem of the Persistent Storage was repaired 4.405
When I close the filesystem repair dialog 1.271
Then persistence is successfully enabled 1.492
After features/support/hooks.rb:330 1.672
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.685
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 8.944
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.376
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.825
When I repair the filesystem of the Persistent Storage 1.237
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 46.738
And all notifications have disappeared 9.702
# 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.756
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.258
When I close the "whisperback" window 1.625
Then the Tor Browser starts 20.063
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.974
After features/support/hooks.rb:330 2.232
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:10.195
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.294
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.131
And Tails detects disk read failures on the boot device 0.650
When I try to enable persistence 0.488
Then the Welcome Screen tells me that my hardware is probably failing 22.383
When I log in to a new session 50.013
And all notifications have disappeared 8.736
Then the Tor Browser starts 23.529
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.966
After features/support/hooks.rb:330 2.807
After features/support/hooks.rb:100 0.000