Project Number Date
test_Tails_ISO_feature-arti 104 02 Jul 2025, 18:03

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 56:30.505 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:2.836
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:35.035
And I update APT using apt 49.385
And I install "python3-behave" using apt 30.481
Then the Tails Persistent Storage behave tests pass 7.933
After features/support/hooks.rb:330 1.106
After features/support/hooks.rb:100 0.000
Tags: @product
59.003
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 15.141
When I log in to a new session without activating the Persistent Storage 30.196
Then Tails is running from USB drive "__internal" 0.723
And persistence is disabled 0.562
But a Tails persistence partition exists on USB drive "__internal" 12.379
After features/support/hooks.rb:330 1.669
After features/support/hooks.rb:100 0.000
Tags: @product
4:21.556
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 16.774
Then Tails is running from USB drive "__internal" 0.445
When I create a file in the Persistent directory 0.356
And I create a persistent partition with the default settings 37.246
Then the file I created was copied to the Persistent Storage 2.919
When I shutdown Tails and wait for the computer to power off 17.154
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:4.282
Then persistence for "Persistent" is active 2.296
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 1.643
After features/support/hooks.rb:100 0.026
Tags: @product
1:18.156
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.034
And the system is very low on memory 3.196
When I create a file in the Persistent directory 0.879
When I try to create a persistent partition 33.101
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.231
When I close the Persistent Storage app 2.863
And I free up some memory 2.777
And I create a persistent partition with the default settings 18.454
Then the file I created was copied to the Persistent Storage 0.617
After features/support/hooks.rb:330 2.128
After features/support/hooks.rb:100 0.000
Tags: @product
3:51.772
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 18.529
Then Tails is running from USB drive "__internal" 0.441
And all tps features are active 2.616
And all persistent directories have safe access rights 3.228
When I disable the first tps feature 11.798
Then all tps features but the first one are active 2.182
And I shutdown Tails and wait for the computer to power off 17.743
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:48.602
Then all tps features but the first one are active 6.628
After features/support/hooks.rb:330 1.662
After features/support/hooks.rb:100 0.068
Tags: @product
24.133
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.043
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.511
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.101
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 9.194
Then persistence for "Persistent" is not active 0.120
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.808
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 0.930
After features/support/hooks.rb:100 0.000
Tags: @product
28.850
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 14.933
Then persistence for "Persistent" is active 0.215
When I create a file in the Persistent directory 0.223
And I disable the first tps feature 6.569
And I delete the data of the Persistent Folder feature 5.941
Then the file I created does not exist on the Persistent Storage 0.966
After features/support/hooks.rb:330 2.607
After features/support/hooks.rb:100 0.000
Tags: @product
1:33.497
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.056
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.269
And the network is plugged 0.119
And Tor is ready 31.769
And I take note of which tps features are available 0.925
When I write some files expected to persist 1.596
And I shutdown Tails and wait for the computer to power off 13.122
# 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" 33.692
After features/support/hooks.rb:330 0.129
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.544
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 16.800
And the network is plugged 0.174
And Tor is ready 26.305
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 1.828
And I shutdown Tails and wait for the computer to power off 9.768
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:54.930
And I capture all network traffic 0.009
And the network is plugged 0.088
And Tor is ready 23.840
And I switch to the "persistent-con-current" NetworkManager connection 0.524
And the 1st network device has a spoofed MAC address configured 0.089
And no network device leaked the real MAC address 0.183
After features/support/hooks.rb:330 0.610
After features/support/hooks.rb:100 0.069
Tags: @product
1:23.469
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 without a persistent partition and stopped at Tails Greeter's login screen 17.855
And I enable persistence creation in Tails Greeter 1.293
And I log in to a new session expecting no warning about the Persistent Storage not being activated 35.787
Then I create a persistent partition with the default settings using the wizard that was already open 28.532
After features/support/hooks.rb:330 6.957
After features/support/hooks.rb:100 0.000
Tags: @product
6:18.440
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.166
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 20.628
When I enable persistence 1:3.358
Then no persistent Greeter options were restored 16.815
When I set all Greeter options to non-default values 34.398
And I log in to a new session in German (de) after having activated the Persistent Storage 1:11.482
Then all Greeter options are set to non-default values 0.226
When I cold reboot the computer 7.677
And the computer reboots Tails 1:33.983
Given I enable persistence 19.768
Then persistent Greeter options were restored 0.491
When I log in to a new session after having activated the Persistent Storage 46.135
Then all Greeter options are set to non-default values 3.473
After features/support/hooks.rb:330 5.690
After features/support/hooks.rb:100 0.047
Tags: @product
5:27.157
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.070
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.093
# 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 51.346
And I shutdown Tails and wait for the computer to power off 15.334
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:24.151
And I change the passphrase of the Persistent Storage back to the original 46.230
After features/support/hooks.rb:330 3.677
After features/support/hooks.rb:100 0.083
Tags: @product
1:23.519
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.081
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.505
And I log in to a new session without activating the Persistent Storage 35.716
Then persistence is disabled 0.222
But a Tails persistence partition exists on USB drive "__internal" 5.988
And all notifications have disappeared 14.044
When I delete the persistent partition 10.088
Then there is no persistence partition on USB drive "__internal" 1.954
After features/support/hooks.rb:330 1.783
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.903
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.084
When I write some dotfile expected to persist 0.200
And I shutdown Tails and wait for the computer to power off 11.081
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:48.147
Then the expected persistent dotfile is present in the filesystem 0.388
After features/support/hooks.rb:330 3.297
After features/support/hooks.rb:100 0.157
Tags: @product
2:27.871
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.973
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.121
When I try to enable persistence 0.396
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 49.443
When I log in to a new session after having activated the Persistent Storage 57.188
And all notifications have disappeared 11.890
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 6.682
And all tps features are enabled 4.992
And all tps features but the first one are active 3.181
After features/support/hooks.rb:330 3.314
After features/support/hooks.rb:100 0.000
Tags: @product
6:1.661
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 4:19.614
And I enable persistence 41.876
And I log in to a new session after having activated the Persistent Storage 56.433
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.892
And persistence is enabled 2.844
After features/support/hooks.rb:330 1.319
After features/support/hooks.rb:100 0.000
Tags: @product
41.201
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.062
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 12.931
And I enable persistence but something goes wrong during the LUKS header upgrade 26.898
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.370
After features/support/hooks.rb:330 1.977
After features/support/hooks.rb:100 0.000
Tags: @product
1:26.499
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.217
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 12.376
When I enable persistence 48.987
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 7.827
After features/support/hooks.rb:330 3.290
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.036
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 10.224
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.531
When I try to enable persistence 1.464
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.656
When I repair the filesystem of the Persistent Storage 5.152
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.084
And the filesystem of the Persistent Storage was repaired 4.917
When I close the filesystem repair dialog 2.707
Then persistence is successfully enabled 2.296
After features/support/hooks.rb:330 1.640
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:48.761
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 26.767
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.290
When I try to enable persistence 0.272
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.160
When I repair the filesystem of the Persistent Storage 1.381
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.098
When I log in to a new session 56.082
And all notifications have disappeared 15.411
# 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.404
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.963
When I close the "whisperback" window 1.698
Then the Tor Browser starts 25.116
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.115
After features/support/hooks.rb:330 5.751
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:45.631
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.031
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.709
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.503
And Tails detects disk read failures on the boot device 0.955
When I try to enable persistence 0.504
Then the Welcome Screen tells me that my hardware is probably failing 30.505
When I log in to a new session 1:11.642
And all notifications have disappeared 7.028
Then the Tor Browser starts 29.184
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.598
After features/support/hooks.rb:330 3.590
After features/support/hooks.rb:100 0.000