Project Number Date
test_Tails_ISO_devel 4100 04 Dec 2025, 19:20

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 37:29.941 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:28.478
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 3:7.900
And I update APT using apt 9.806
And I install "python3-behave" using apt 9.373
Then the Tails Persistent Storage behave tests pass 1.397
After features/support/hooks.rb:331 4.415
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.251
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 30.938
When I log in to a new session without activating the Persistent Storage 21.043
Then Tails is running from USB drive "__internal" 0.365
And persistence is disabled 0.132
But a Tails persistence partition exists on USB drive "__internal" 7.772
After features/support/hooks.rb:331 1.340
After features/support/hooks.rb:100 0.000
Tags: @product
3:36.759
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 52.704
Then Tails is running from USB drive "__internal" 0.375
When I create a file in the Persistent directory 0.112
And I create a persistent partition with the default settings 54.539
Then the file I created was copied to the Persistent Storage 0.686
When I shutdown Tails and wait for the computer to power off 11.153
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:36.804
Then persistence for "Persistent" is active 0.312
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:331 1.276
After features/support/hooks.rb:100 0.021
Tags: @product
46.176
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 11.611
And the system is very low on memory 6.035
When I create a file in the Persistent directory 0.333
When I try to create a persistent partition 5.935
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.131
When I close the Persistent Storage app 2.536
And I free up some memory 1.021
And I create a persistent partition with the default settings 18.026
Then the file I created was copied to the Persistent Storage 0.543
After features/support/hooks.rb:331 0.890
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.400
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 29.997
Then Tails is running from USB drive "__internal" 0.434
And all tps features are active 2.663
And all persistent directories have safe access rights 2.632
When I disable the first tps feature 3.169
Then all tps features but the first one are active 2.093
And I shutdown Tails and wait for the computer to power off 12.287
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:30.626
Then all tps features but the first one are active 2.497
After features/support/hooks.rb:331 1.427
After features/support/hooks.rb:100 0.015
Tags: @product
17.883
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 with a persistent partition enabled and logged in 11.434
Then persistence for "Persistent" is active 0.087
And I create a file in the Persistent directory 0.080
Then the file I created was copied to the Persistent Storage 0.074
When I disable the first tps feature 3.231
Then persistence for "Persistent" is not active 0.111
And the Persistent directory does not exist 0.058
When I enable the first tps feature 2.649
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:331 1.436
After features/support/hooks.rb:100 0.001
Tags: @product
19.032
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 with a persistent partition enabled and logged in 12.688
Then persistence for "Persistent" is active 0.095
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 2.990
And I delete the data of the Persistent Folder feature 3.125
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:331 1.549
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.784
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.996
And the network is plugged 0.074
And Tor is ready 15.688
And I take note of which tps features are available 4.207
When I write some files expected to persist 1.354
And I shutdown Tails and wait for the computer to power off 11.982
# 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" 19.481
After features/support/hooks.rb:331 0.620
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.802
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 17.763
And the network is plugged 0.073
And Tor is ready 12.295
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.163
And I shutdown Tails and wait for the computer to power off 10.589
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:29.792
And I capture all network traffic 0.006
And the network is plugged 0.062
And Tor is ready 13.386
And I switch to the "persistent-con-current" NetworkManager connection 0.385
And the 1st network device has a spoofed MAC address configured 0.094
And no network device leaked the real MAC address 0.189
After features/support/hooks.rb:331 0.767
After features/support/hooks.rb:100 0.050
Tags: @product
56.594
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.652
And I enable persistence creation in Tails Greeter 1.153
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.239
Then I create a persistent partition with the default settings using the wizard that was already open 23.549
After features/support/hooks.rb:331 1.720
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.274
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 13.967
When I enable persistence 24.536
Then no persistent Greeter options were restored 15.611
When I set all Greeter options to non-default values 41.734
And I log in to a new session in German (de) after having activated the Persistent Storage 30.434
Then all Greeter options are set to non-default values 0.170
When I cold reboot the computer 12.441
And the computer reboots Tails 45.078
Given I enable persistence 14.125
Then persistent Greeter options were restored 0.757
When I log in to a new session after having activated the Persistent Storage 11.838
Then all Greeter options are set to non-default values 0.577
After features/support/hooks.rb:331 0.829
After features/support/hooks.rb:100 0.009
Tags: @product
2:46.942
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 enabled and logged in 13.225
# 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 35.192
And I shutdown Tails and wait for the computer to power off 9.811
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:21.273
And I change the passphrase of the Persistent Storage back to the original 27.440
After features/support/hooks.rb:331 1.600
After features/support/hooks.rb:100 0.016
Tags: @product
55.462
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 and stopped at Tails Greeter's login screen 10.478
And I log in to a new session without activating the Persistent Storage 19.132
Then persistence is disabled 0.137
But a Tails persistence partition exists on USB drive "__internal" 9.420
And all notifications have disappeared 11.054
When I delete the persistent partition 4.776
Then there is no persistence partition on USB drive "__internal" 0.462
After features/support/hooks.rb:331 1.361
After features/support/hooks.rb:100 0.000
Tags: @product
1:49.704
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.788
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 10.677
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:26.848
Then the expected persistent dotfile is present in the filesystem 0.308
After features/support/hooks.rb:331 1.079
After features/support/hooks.rb:100 0.012
Tags: @product
1:5.519
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 11.839
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 1.504
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 20.083
When I log in to a new session after having activated the Persistent Storage 14.131
And all notifications have disappeared 10.868
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.508
And all tps features are enabled 3.226
And all tps features but the first one are active 2.251
After features/support/hooks.rb:331 1.228
After features/support/hooks.rb:100 0.000
Tags: @product
7:7.156
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 6:14.538
And I enable persistence 34.581
And I log in to a new session after having activated the Persistent Storage 14.894
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.770
And persistence is enabled 2.372
After features/support/hooks.rb:331 2.350
After features/support/hooks.rb:100 0.000
Tags: @product
31.412
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 9.223
And I enable persistence but something goes wrong during the LUKS header upgrade 21.378
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.811
After features/support/hooks.rb:331 1.214
After features/support/hooks.rb:100 0.000
Tags: @product
39.392
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 12.495
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 13.195
When I enable persistence 10.914
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 2.706
After features/support/hooks.rb:331 1.238
After features/support/hooks.rb:100 0.000
Tags: @product
36.672
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.361
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.245
When I try to enable persistence 1.448
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.428
When I repair the filesystem of the Persistent Storage 1.331
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.849
And the filesystem of the Persistent Storage was repaired 0.070
When I close the filesystem repair dialog 1.342
Then persistence is successfully enabled 1.595
After features/support/hooks.rb:331 1.057
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:2.285
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.403
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 1.362
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 15.410
When I repair the filesystem of the Persistent Storage 1.281
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.051
When I log in to a new session 14.473
And all notifications have disappeared 11.421
# 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" 1.250
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.045
When I close the "whisperback" window 1.370
Then the Tor Browser starts 2.556
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.550
After features/support/hooks.rb:331 1.540
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:3.953
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.809
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.696
And Tails detects disk read failures on the boot device 1.399
When I try to enable persistence 1.335
Then the Welcome Screen tells me that my hardware is probably failing 5.603
When I log in to a new session 13.255
And all notifications have disappeared 11.785
Then the Tor Browser starts 4.927
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.140
After features/support/hooks.rb:331 1.314
After features/support/hooks.rb:100 0.000