Project Number Date
test_Tails_ISO_feature-arti 86 09 Jun 2025, 16:33

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 45:41.623 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:58.153
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:44.381
And I update APT using apt 43.475
And I install "python3-behave" using apt 27.760
Then the Tails Persistent Storage behave tests pass 2.536
After features/support/hooks.rb:330 0.814
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.763
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 25.277
When I log in to a new session without activating the Persistent Storage 23.565
Then Tails is running from USB drive "__internal" 0.534
And persistence is disabled 0.504
But a Tails persistence partition exists on USB drive "__internal" 12.882
After features/support/hooks.rb:330 3.415
After features/support/hooks.rb:100 0.000
Tags: @product
3:39.357
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 without a persistent partition and logged in 15.964
Then Tails is running from USB drive "__internal" 0.466
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 25.889
Then the file I created was copied to the Persistent Storage 3.114
When I shutdown Tails and wait for the computer to power off 13.157
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:39.828
Then persistence for "Persistent" is active 0.734
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 9.679
After features/support/hooks.rb:100 0.011
Tags: @product
1:21.528
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 logged in 11.319
And the system is very low on memory 3.215
When I create a file in the Persistent directory 2.135
When I try to create a persistent partition 36.154
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.232
When I close the Persistent Storage app 3.811
And I free up some memory 5.449
And I create a persistent partition with the default settings 16.553
Then the file I created was copied to the Persistent Storage 1.656
After features/support/hooks.rb:330 2.523
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.148
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 20.463
Then Tails is running from USB drive "__internal" 0.468
And all tps features are active 2.628
And all persistent directories have safe access rights 2.738
When I disable the first tps feature 6.316
Then all tps features but the first one are active 2.266
And I shutdown Tails and wait for the computer to power off 13.842
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.710
Then all tps features but the first one are active 2.713
After features/support/hooks.rb:330 1.488
After features/support/hooks.rb:100 0.011
Tags: @product
21.680
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.495
Then persistence for "Persistent" is active 0.175
And I create a file in the Persistent directory 0.161
Then the file I created was copied to the Persistent Storage 0.134
When I disable the first tps feature 6.100
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.309
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.465
After features/support/hooks.rb:100 0.000
Tags: @product
21.290
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.392
Then persistence for "Persistent" is active 0.155
When I create a file in the Persistent directory 0.322
And I disable the first tps feature 6.317
And I delete the data of the Persistent Folder feature 4.029
Then the file I created does not exist on the Persistent Storage 0.073
After features/support/hooks.rb:330 1.488
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.831
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.755
And the network is plugged 0.080
And Tor is ready 21.531
And I take note of which tps features are available 0.617
When I write some files expected to persist 1.645
And I shutdown Tails and wait for the computer to power off 9.180
# 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.019
After features/support/hooks.rb:330 0.124
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.836
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.721
And the network is plugged 0.121
And Tor is ready 23.700
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 6.816
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.217
And I capture all network traffic 0.008
And the network is plugged 0.091
And Tor is ready 19.353
And I switch to the "persistent-con-current" NetworkManager connection 0.324
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.172
After features/support/hooks.rb:330 0.635
After features/support/hooks.rb:100 0.055
Tags: @product
1:3.429
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 17.351
And I enable persistence creation in Tails Greeter 1.197
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.119
Then I create a persistent partition with the default settings using the wizard that was already open 22.761
After features/support/hooks.rb:330 2.804
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.656
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.411
When I enable persistence 37.591
Then no persistent Greeter options were restored 14.849
When I set all Greeter options to non-default values 27.292
And I log in to a new session in German (de) after having activated the Persistent Storage 51.914
Then all Greeter options are set to non-default values 0.653
When I cold reboot the computer 7.604
And the computer reboots Tails 1:5.150
Given I enable persistence 18.652
Then persistent Greeter options were restored 0.572
When I log in to a new session after having activated the Persistent Storage 41.371
Then all Greeter options are set to non-default values 0.592
After features/support/hooks.rb:330 1.239
After features/support/hooks.rb:100 0.008
Tags: @product
3:56.038
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 11.074
# 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.905
And I shutdown Tails and wait for the computer to power off 13.627
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.755
And I change the passphrase of the Persistent Storage back to the original 32.675
After features/support/hooks.rb:330 2.093
After features/support/hooks.rb:100 0.022
Tags: @product
1:2.018
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 persistent partition and stopped at Tails Greeter's login screen 10.024
And I log in to a new session without activating the Persistent Storage 24.859
Then persistence is disabled 0.603
But a Tails persistence partition exists on USB drive "__internal" 9.766
And all notifications have disappeared 9.792
When I delete the persistent partition 6.040
Then there is no persistence partition on USB drive "__internal" 0.931
After features/support/hooks.rb:330 1.290
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.491
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 persistent partition enabled and logged in 11.846
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 10.715
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.183
Then the expected persistent dotfile is present in the filesystem 0.662
After features/support/hooks.rb:330 1.266
After features/support/hooks.rb:100 0.025
Tags: @product
1:47.876
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.311
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.132
When I try to enable persistence 0.342
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.262
When I log in to a new session after having activated the Persistent Storage 45.981
And all notifications have disappeared 9.269
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.010
And all tps features are enabled 3.214
And all tps features but the first one are active 2.351
After features/support/hooks.rb:330 2.513
After features/support/hooks.rb:100 0.000
Tags: @product
6:55.151
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 5:30.600
And I enable persistence 30.450
And I log in to a new session after having activated the Persistent Storage 48.161
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.365
And persistence is enabled 2.572
After features/support/hooks.rb:330 4.948
After features/support/hooks.rb:100 0.000
Tags: @product
34.077
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 11.364
And I enable persistence but something goes wrong during the LUKS header upgrade 21.870
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.842
After features/support/hooks.rb:330 0.788
After features/support/hooks.rb:100 0.000
Tags: @product
48.883
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 11.047
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.388
When I enable persistence 28.468
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.885
After features/support/hooks.rb:330 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
59.732
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.875
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.811
When I try to enable persistence 0.455
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.768
When I repair the filesystem of the Persistent Storage 1.307
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.061
And the filesystem of the Persistent Storage was repaired 2.614
When I close the filesystem repair dialog 1.244
Then persistence is successfully enabled 1.592
After features/support/hooks.rb:330 1.940
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.692
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 with a persistent partition and stopped at Tails Greeter's login screen 8.913
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.369
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.391
When I repair the filesystem of the Persistent Storage 1.641
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 35.656
And all notifications have disappeared 10.205
# 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.919
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.606
When I close the "whisperback" window 1.369
Then the Tor Browser starts 22.486
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.962
After features/support/hooks.rb:330 3.356
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.985
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 and stopped at Tails Greeter's login screen 9.807
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.799
And Tails detects disk read failures on the boot device 1.570
When I try to enable persistence 0.420
Then the Welcome Screen tells me that my hardware is probably failing 20.999
When I log in to a new session 48.159
And all notifications have disappeared 8.750
Then the Tor Browser starts 26.441
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.037
After features/support/hooks.rb:330 2.030
After features/support/hooks.rb:100 0.000