Project Number Date
test_Tails_ISO_devel 3846 31 May 2025, 12:52

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:52.880 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.535
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:34.714
And I update APT using apt 14.088
And I install "python3-behave" using apt 25.964
Then the Tails Persistent Storage behave tests pass 2.768
After features/support/hooks.rb:330 2.129
After features/support/hooks.rb:100 0.000
Tags: @product
47.504
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 and stopped at Tails Greeter's login screen 12.060
When I log in to a new session without activating the Persistent Storage 23.417
Then Tails is running from USB drive "__internal" 0.493
And persistence is disabled 0.448
But a Tails persistence partition exists on USB drive "__internal" 11.084
After features/support/hooks.rb:330 1.779
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.696
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 without a persistent partition and logged in 14.989
Then Tails is running from USB drive "__internal" 0.446
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 24.900
Then the file I created was copied to the Persistent Storage 2.108
When I shutdown Tails and wait for the computer to power off 12.773
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.796
Then persistence for "Persistent" is active 0.463
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:330 1.836
After features/support/hooks.rb:100 0.011
Tags: @product
1:8.351
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 without a persistent partition and logged in 12.246
And the system is very low on memory 3.017
When I create a file in the Persistent directory 1.488
When I try to create a persistent partition 32.259
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.141
When I close the Persistent Storage app 2.635
And I free up some memory 3.538
And I create a persistent partition with the default settings 12.747
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:330 2.307
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.521
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 13.038
Then Tails is running from USB drive "__internal" 0.440
And all tps features are active 3.219
And all persistent directories have safe access rights 2.616
When I disable the first tps feature 4.972
Then all tps features but the first one are active 2.060
And I shutdown Tails and wait for the computer to power off 12.987
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.836
Then all tps features but the first one are active 2.348
After features/support/hooks.rb:330 1.639
After features/support/hooks.rb:100 0.011
Tags: @product
20.139
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 10.673
Then persistence for "Persistent" is active 0.124
And I create a file in the Persistent directory 0.212
Then the file I created was copied to the Persistent Storage 0.135
When I disable the first tps feature 5.624
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.105
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 1.501
After features/support/hooks.rb:100 0.000
Tags: @product
18.609
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 enabled and logged in 9.329
Then persistence for "Persistent" is active 0.074
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 5.305
And I delete the data of the Persistent Folder feature 3.747
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 1.567
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.186
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 9.377
And the network is plugged 0.090
And Tor is ready 20.707
And I take note of which tps features are available 0.836
When I write some files expected to persist 1.628
And I shutdown Tails and wait for the computer to power off 9.055
# 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.489
After features/support/hooks.rb:330 0.150
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.962
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 enabled and logged in 9.626
And the network is plugged 0.066
And Tor is ready 20.249
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.217
And I shutdown Tails and wait for the computer to power off 8.537
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.002
And I capture all network traffic 0.006
And the network is plugged 0.083
And Tor is ready 20.652
And I switch to the "persistent-con-current" NetworkManager connection 0.324
And the 1st network device has a spoofed MAC address configured 0.080
And no network device leaked the real MAC address 0.116
After features/support/hooks.rb:330 0.590
After features/support/hooks.rb:100 0.058
Tags: @product
59.316
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 without a persistent partition and stopped at Tails Greeter's login screen 12.372
And I enable persistence creation in Tails Greeter 1.135
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.837
Then I create a persistent partition with the default settings using the wizard that was already open 23.971
After features/support/hooks.rb:330 3.004
After features/support/hooks.rb:100 0.000
Tags: @product
4:13.726
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.388
When I enable persistence 34.852
Then no persistent Greeter options were restored 14.558
When I set all Greeter options to non-default values 25.738
And I log in to a new session in German (de) after having activated the Persistent Storage 43.012
Then all Greeter options are set to non-default values 0.511
When I cold reboot the computer 7.437
And the computer reboots Tails 1:1.342
Given I enable persistence 17.406
Then persistent Greeter options were restored 0.597
When I log in to a new session after having activated the Persistent Storage 36.598
Then all Greeter options are set to non-default values 0.281
After features/support/hooks.rb:330 1.986
After features/support/hooks.rb:100 0.008
Tags: @product
3:58.192
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 enabled and logged in 10.063
# 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 37.436
And I shutdown Tails and wait for the computer to power off 14.871
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.169
And I change the passphrase of the Persistent Storage back to the original 39.652
After features/support/hooks.rb:330 3.226
After features/support/hooks.rb:100 0.011
Tags: @product
56.135
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.886
And I log in to a new session without activating the Persistent Storage 21.667
Then persistence is disabled 0.458
But a Tails persistence partition exists on USB drive "__internal" 8.566
And all notifications have disappeared 8.709
When I delete the persistent partition 6.022
Then there is no persistence partition on USB drive "__internal" 0.823
After features/support/hooks.rb:330 1.439
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.451
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 enabled and logged in 9.743
When I write some dotfile expected to persist 0.165
And I shutdown Tails and wait for the computer to power off 10.780
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.393
Then the expected persistent dotfile is present in the filesystem 0.366
After features/support/hooks.rb:330 1.353
After features/support/hooks.rb:100 0.010
Tags: @product
1:32.273
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 and stopped at Tails Greeter's login screen 8.944
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.475
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.340
When I log in to a new session after having activated the Persistent Storage 36.055
And all notifications have disappeared 7.748
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.432
And all tps features are enabled 2.604
And all tps features but the first one are active 2.587
After features/support/hooks.rb:330 2.036
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.288
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:42.232
And I enable persistence 30.193
And I log in to a new session after having activated the Persistent Storage 49.214
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.605
And persistence is enabled 3.042
After features/support/hooks.rb:330 2.187
After features/support/hooks.rb:100 0.000
Tags: @product
33.680
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.996
And I enable persistence but something goes wrong during the LUKS header upgrade 22.848
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.835
After features/support/hooks.rb:330 0.759
After features/support/hooks.rb:100 0.000
Tags: @product
52.022
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 and stopped at Tails Greeter's login screen 9.637
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.037
When I enable persistence 34.549
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.708
After features/support/hooks.rb:330 2.247
After features/support/hooks.rb:100 0.000
Tags: @product
50.729
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 and stopped at Tails Greeter's login screen 9.146
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.787
When I try to enable persistence 0.396
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.474
When I repair the filesystem of the Persistent Storage 1.762
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.439
And the filesystem of the Persistent Storage was repaired 3.016
When I close the filesystem repair dialog 1.220
Then persistence is successfully enabled 1.484
After features/support/hooks.rb:330 2.828
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.376
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 and stopped at Tails Greeter's login screen 8.576
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.351
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.152
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 36.022
And all notifications have disappeared 12.415
# 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.472
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.493
When I close the "whisperback" window 1.770
Then the Tor Browser starts 20.757
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.934
After features/support/hooks.rb:330 2.907
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.180
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 and stopped at Tails Greeter's login screen 8.939
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.910
And Tails detects disk read failures on the boot device 0.506
When I try to enable persistence 0.455
Then the Welcome Screen tells me that my hardware is probably failing 18.522
When I log in to a new session 51.193
And all notifications have disappeared 9.109
Then the Tor Browser starts 19.588
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.957
After features/support/hooks.rb:330 2.143
After features/support/hooks.rb:100 0.000