Project Number Date
test_Tails_ISO_feature-arti 83 06 Jun 2025, 16:46

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 46:53.930 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:55.480
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:42.563
And I update APT using apt 41.925
And I install "python3-behave" using apt 27.256
Then the Tails Persistent Storage behave tests pass 3.735
After features/support/hooks.rb:330 0.753
After features/support/hooks.rb:100 0.000
Tags: @product
58.433
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 12.876
When I log in to a new session without activating the Persistent Storage 26.925
Then Tails is running from USB drive "__internal" 0.610
And persistence is disabled 0.317
But a Tails persistence partition exists on USB drive "__internal" 17.703
After features/support/hooks.rb:330 3.277
After features/support/hooks.rb:100 0.000
Tags: @product
3:33.550
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 16.104
Then Tails is running from USB drive "__internal" 0.533
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 25.233
Then the file I created was copied to the Persistent Storage 2.277
When I shutdown Tails and wait for the computer to power off 14.157
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.766
Then persistence for "Persistent" is active 0.281
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 2.019
After features/support/hooks.rb:100 0.010
Tags: @product
1:13.211
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 11.899
And the system is very low on memory 6.071
When I create a file in the Persistent directory 0.944
When I try to create a persistent partition 33.596
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.183
When I close the Persistent Storage app 2.601
And I free up some memory 3.614
And I create a persistent partition with the default settings 13.657
Then the file I created was copied to the Persistent Storage 0.642
After features/support/hooks.rb:330 2.865
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.799
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 12.928
Then Tails is running from USB drive "__internal" 1.039
And all tps features are active 3.263
And all persistent directories have safe access rights 2.930
When I disable the first tps feature 5.906
Then all tps features but the first one are active 2.345
And I shutdown Tails and wait for the computer to power off 17.488
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.601
Then all tps features but the first one are active 2.294
After features/support/hooks.rb:330 1.270
After features/support/hooks.rb:100 0.013
Tags: @product
20.333
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 10.503
Then persistence for "Persistent" is active 0.184
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 5.863
Then persistence for "Persistent" is not active 0.121
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.241
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:330 1.272
After features/support/hooks.rb:100 0.000
Tags: @product
19.721
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.880
Then persistence for "Persistent" is active 0.117
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 5.846
And I delete the data of the Persistent Folder feature 3.717
Then the file I created does not exist on the Persistent Storage 0.079
After features/support/hooks.rb:330 1.346
After features/support/hooks.rb:100 0.000
Tags: @product
1:38.933
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 10.771
And the network is plugged 0.099
And Tor is ready 47.778
And I take note of which tps features are available 0.632
When I write some files expected to persist 1.872
And I shutdown Tails and wait for the computer to power off 11.563
# 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" 26.215
After features/support/hooks.rb:330 0.163
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.968
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.313
And the network is plugged 0.141
And Tor is ready 23.528
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.214
And I shutdown Tails and wait for the computer to power off 9.207
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:47.482
And I capture all network traffic 0.012
And the network is plugged 0.418
And Tor is ready 24.337
And I switch to the "persistent-con-current" NetworkManager connection 0.843
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.369
After features/support/hooks.rb:330 0.963
After features/support/hooks.rb:100 0.079
Tags: @product
1:21.179
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 20.656
And I enable persistence creation in Tails Greeter 1.154
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.825
Then I create a persistent partition with the default settings using the wizard that was already open 32.542
After features/support/hooks.rb:330 3.967
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.279
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 32.003
When I enable persistence 39.111
Then no persistent Greeter options were restored 14.826
When I set all Greeter options to non-default values 29.034
And I log in to a new session in German (de) after having activated the Persistent Storage 57.365
Then all Greeter options are set to non-default values 0.599
When I cold reboot the computer 8.321
And the computer reboots Tails 1:6.240
Given I enable persistence 18.094
Then persistent Greeter options were restored 0.573
When I log in to a new session after having activated the Persistent Storage 41.504
Then all Greeter options are set to non-default values 0.604
After features/support/hooks.rb:330 1.865
After features/support/hooks.rb:100 0.010
Tags: @product
4:18.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 enabled and logged in 11.854
# 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 44.002
And I shutdown Tails and wait for the computer to power off 13.272
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:34.479
And I change the passphrase of the Persistent Storage back to the original 35.121
After features/support/hooks.rb:330 2.972
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.308
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 14.034
And I log in to a new session without activating the Persistent Storage 22.297
Then persistence is disabled 0.333
But a Tails persistence partition exists on USB drive "__internal" 10.178
And all notifications have disappeared 10.340
When I delete the persistent partition 6.312
Then there is no persistence partition on USB drive "__internal" 0.812
After features/support/hooks.rb:330 1.536
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.230
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 10.592
When I write some dotfile expected to persist 0.140
And I shutdown Tails and wait for the computer to power off 10.604
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.504
Then the expected persistent dotfile is present in the filesystem 0.389
After features/support/hooks.rb:330 1.676
After features/support/hooks.rb:100 0.008
Tags: @product
1:46.362
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.721
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.407
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.836
When I log in to a new session after having activated the Persistent Storage 46.220
And all notifications have disappeared 9.806
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.980
And all tps features are enabled 2.746
And all tps features but the first one are active 2.545
After features/support/hooks.rb:330 1.520
After features/support/hooks.rb:100 0.000
Tags: @product
5:55.043
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:21.378
And I enable persistence 39.287
And I log in to a new session after having activated the Persistent Storage 47.419
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.090
And persistence is enabled 2.867
After features/support/hooks.rb:330 1.672
After features/support/hooks.rb:100 0.000
Tags: @product
34.544
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.142
And I enable persistence but something goes wrong during the LUKS header upgrade 23.620
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.781
After features/support/hooks.rb:330 1.022
After features/support/hooks.rb:100 0.000
Tags: @product
47.949
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.662
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.029
When I enable persistence 28.271
Then the filesystem of the Persistent Storage was repaired 0.151
And persistence is successfully enabled 2.834
After features/support/hooks.rb:330 1.558
After features/support/hooks.rb:100 0.000
Tags: @product
57.537
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.265
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.990
When I try to enable persistence 0.458
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.086
When I repair the filesystem of the Persistent Storage 1.230
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.170
And the filesystem of the Persistent Storage was repaired 4.414
When I close the filesystem repair dialog 1.275
Then persistence is successfully enabled 1.645
After features/support/hooks.rb:330 1.966
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.003
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.089
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.157
When I try to enable persistence 0.403
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.876
When I repair the filesystem of the Persistent Storage 1.321
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 40.388
And all notifications have disappeared 10.343
# 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.742
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.624
When I close the "whisperback" window 1.850
Then the Tor Browser starts 21.115
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.998
After features/support/hooks.rb:330 3.205
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:16.328
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.648
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.137
And Tails detects disk read failures on the boot device 0.582
When I try to enable persistence 0.513
Then the Welcome Screen tells me that my hardware is probably failing 27.289
When I log in to a new session 53.947
And all notifications have disappeared 10.429
Then the Tor Browser starts 23.691
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.088
After features/support/hooks.rb:330 3.713
After features/support/hooks.rb:100 0.000