Project Number Date
test_Tails_ISO_devel 3816 17 May 2025, 10:10

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:50.641 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.090
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:43.845
And I update APT using apt 14.069
And I install "python3-behave" using apt 27.657
Then the Tails Persistent Storage behave tests pass 2.517
After features/support/hooks.rb:330 0.784
After features/support/hooks.rb:100 0.000
Tags: @product
53.029
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 12.998
When I log in to a new session without activating the Persistent Storage 25.913
Then Tails is running from USB drive "__internal" 0.743
And persistence is disabled 1.087
But a Tails persistence partition exists on USB drive "__internal" 12.285
After features/support/hooks.rb:330 2.195
After features/support/hooks.rb:100 0.000
Tags: @product
3:34.601
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.054
Given I have started Tails without network from a USB drive without a persistent partition and logged in 18.314
Then Tails is running from USB drive "__internal" 0.993
When I create a file in the Persistent directory 0.505
And I create a persistent partition with the default settings 28.147
Then the file I created was copied to the Persistent Storage 2.223
When I shutdown Tails and wait for the computer to power off 13.855
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.390
Then persistence for "Persistent" is active 1.096
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 2.132
After features/support/hooks.rb:100 0.008
Tags: @product
1:20.598
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.579
And the system is very low on memory 6.933
When I create a file in the Persistent directory 2.241
When I try to create a persistent partition 32.277
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.379
When I close the Persistent Storage app 2.830
And I free up some memory 5.142
And I create a persistent partition with the default settings 18.510
Then the file I created was copied to the Persistent Storage 0.703
After features/support/hooks.rb:330 2.645
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.006
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.101
Then Tails is running from USB drive "__internal" 0.731
And all tps features are active 2.596
And all persistent directories have safe access rights 3.390
When I disable the first tps feature 7.338
Then all tps features but the first one are active 2.515
And I shutdown Tails and wait for the computer to power off 16.102
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.459
Then all tps features but the first one are active 2.771
After features/support/hooks.rb:330 2.066
After features/support/hooks.rb:100 0.012
Tags: @product
24.817
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 13.748
Then persistence for "Persistent" is active 0.237
And I create a file in the Persistent directory 0.093
Then the file I created was copied to the Persistent Storage 0.090
When I disable the first tps feature 7.220
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.044
When I enable the first tps feature 3.145
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 1.540
After features/support/hooks.rb:100 0.000
Tags: @product
23.443
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 12.049
Then persistence for "Persistent" is active 0.210
When I create a file in the Persistent directory 0.164
And I disable the first tps feature 7.173
And I delete the data of the Persistent Folder feature 3.781
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 1.655
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.601
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 11.287
And the network is plugged 0.087
And Tor is ready 23.909
And I take note of which tps features are available 0.639
When I write some files expected to persist 1.748
And I shutdown Tails and wait for the computer to power off 11.000
# 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.928
After features/support/hooks.rb:330 0.130
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.516
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 12.509
And the network is plugged 0.109
And Tor is ready 24.764
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.229
And I shutdown Tails and wait for the computer to power off 9.523
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.483
And I capture all network traffic 0.006
And the network is plugged 0.087
And Tor is ready 19.115
And I switch to the "persistent-con-current" NetworkManager connection 0.433
And the 1st network device has a spoofed MAC address configured 0.136
And no network device leaked the real MAC address 0.116
After features/support/hooks.rb:330 0.910
After features/support/hooks.rb:100 0.054
Tags: @product
1:15.586
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 without a persistent partition and stopped at Tails Greeter's login screen 20.275
And I enable persistence creation in Tails Greeter 1.112
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.743
Then I create a persistent partition with the default settings using the wizard that was already open 30.455
After features/support/hooks.rb:330 2.996
After features/support/hooks.rb:100 0.000
Tags: @product
4:47.910
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 13.925
When I enable persistence 46.394
Then no persistent Greeter options were restored 14.927
When I set all Greeter options to non-default values 26.980
And I log in to a new session in German (de) after having activated the Persistent Storage 44.589
Then all Greeter options are set to non-default values 0.439
When I cold reboot the computer 10.406
And the computer reboots Tails 1:7.619
Given I enable persistence 18.335
Then persistent Greeter options were restored 0.556
When I log in to a new session after having activated the Persistent Storage 43.020
Then all Greeter options are set to non-default values 0.715
After features/support/hooks.rb:330 1.332
After features/support/hooks.rb:100 0.017
Tags: @product
4:33.811
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.762
# 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 39.827
And I shutdown Tails and wait for the computer to power off 18.456
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:42.069
And I change the passphrase of the Persistent Storage back to the original 41.695
After features/support/hooks.rb:330 1.527
After features/support/hooks.rb:100 0.010
Tags: @product
1:3.922
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.227
And I log in to a new session without activating the Persistent Storage 21.972
Then persistence is disabled 0.305
But a Tails persistence partition exists on USB drive "__internal" 10.718
And all notifications have disappeared 13.116
When I delete the persistent partition 6.805
Then there is no persistence partition on USB drive "__internal" 0.776
After features/support/hooks.rb:330 1.914
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.575
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.843
When I write some dotfile expected to persist 0.188
And I shutdown Tails and wait for the computer to power off 11.353
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.766
Then the expected persistent dotfile is present in the filesystem 0.424
After features/support/hooks.rb:330 1.884
After features/support/hooks.rb:100 0.009
Tags: @product
1:57.011
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.739
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.330
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.317
When I log in to a new session after having activated the Persistent Storage 49.071
And all notifications have disappeared 9.919
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.603
And all tps features are enabled 2.923
And all tps features but the first one are active 2.012
After features/support/hooks.rb:330 1.763
After features/support/hooks.rb:100 0.000
Tags: @product
6:54.097
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 5:18.529
And I enable persistence 34.357
And I log in to a new session after having activated the Persistent Storage 52.030
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.083
And persistence is enabled 6.096
After features/support/hooks.rb:330 4.382
After features/support/hooks.rb:100 0.000
Tags: @product
32.694
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.478
And I enable persistence but something goes wrong during the LUKS header upgrade 22.219
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.996
After features/support/hooks.rb:330 0.906
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.608
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.506
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.976
When I enable persistence 52.019
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 4.025
After features/support/hooks.rb:330 2.597
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.968
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 10.718
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.208
When I try to enable persistence 0.510
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.273
When I repair the filesystem of the Persistent Storage 1.267
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.045
And the filesystem of the Persistent Storage was repaired 4.242
When I close the filesystem repair dialog 1.292
Then persistence is successfully enabled 1.408
After features/support/hooks.rb:330 4.519
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.294
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.754
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.150
When I try to enable persistence 0.434
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.798
When I repair the filesystem of the Persistent Storage 1.315
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.352
When I log in to a new session 44.622
And all notifications have disappeared 9.132
# 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.604
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.477
When I close the "whisperback" window 1.662
Then the Tor Browser starts 23.019
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.970
After features/support/hooks.rb:330 2.940
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:16.454
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 9.719
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.204
And Tails detects disk read failures on the boot device 1.645
When I try to enable persistence 0.419
Then the Welcome Screen tells me that my hardware is probably failing 30.021
When I log in to a new session 54.063
And all notifications have disappeared 9.467
Then the Tor Browser starts 23.772
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.139
After features/support/hooks.rb:330 1.789
After features/support/hooks.rb:100 0.000