Project Number Date
test_Tails_ISO_feature-arti 108 06 Jul 2025, 17:45

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 53:59.076 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:14.623
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:52.990
And I update APT using apt 47.024
And I install "python3-behave" using apt 30.129
Then the Tails Persistent Storage behave tests pass 4.480
After features/support/hooks.rb:330 0.808
After features/support/hooks.rb:100 0.000
Tags: @product
54.393
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.030
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.019
When I log in to a new session without activating the Persistent Storage 31.619
Then Tails is running from USB drive "__internal" 0.779
And persistence is disabled 0.278
But a Tails persistence partition exists on USB drive "__internal" 9.697
After features/support/hooks.rb:330 2.499
After features/support/hooks.rb:100 0.000
Tags: @product
3:47.089
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.127
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.140
Then Tails is running from USB drive "__internal" 0.502
When I create a file in the Persistent directory 0.171
And I create a persistent partition with the default settings 34.523
Then the file I created was copied to the Persistent Storage 2.057
When I shutdown Tails and wait for the computer to power off 13.299
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.506
Then persistence for "Persistent" is active 0.804
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:330 1.846
After features/support/hooks.rb:100 0.013
Tags: @product
1:12.752
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.643
And the system is very low on memory 3.747
When I create a file in the Persistent directory 1.344
When I try to create a persistent partition 28.318
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.556
When I close the Persistent Storage app 2.932
And I free up some memory 3.199
And I create a persistent partition with the default settings 14.574
Then the file I created was copied to the Persistent Storage 0.434
After features/support/hooks.rb:330 1.764
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.306
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 13.455
Then Tails is running from USB drive "__internal" 0.864
And all tps features are active 5.504
And all persistent directories have safe access rights 3.552
When I disable the first tps feature 6.694
Then all tps features but the first one are active 2.597
And I shutdown Tails and wait for the computer to power off 16.796
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:52.823
Then all tps features but the first one are active 3.016
After features/support/hooks.rb:330 1.853
After features/support/hooks.rb:100 0.009
Tags: @product
26.135
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 15.356
Then persistence for "Persistent" is active 0.135
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.094
When I disable the first tps feature 6.330
Then persistence for "Persistent" is not active 0.123
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.757
Then persistence for "Persistent" is active 0.131
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 1.621
After features/support/hooks.rb:100 0.000
Tags: @product
29.212
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.367
Then persistence for "Persistent" is active 0.170
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 9.080
And I delete the data of the Persistent Folder feature 5.367
Then the file I created does not exist on the Persistent Storage 0.147
After features/support/hooks.rb:330 2.166
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.424
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.023
And the network is plugged 1.906
And Tor is ready 26.179
And I take note of which tps features are available 0.724
When I write some files expected to persist 1.899
And I shutdown Tails and wait for the computer to power off 8.768
# 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.923
After features/support/hooks.rb:330 0.158
After features/support/hooks.rb:100 0.000
Tags: @product
4:10.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 enabled and logged in 11.191
And the network is plugged 0.106
And Tor is ready 24.200
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.197
And I shutdown Tails and wait for the computer to power off 9.187
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:58.867
And I capture all network traffic 0.007
And the network is plugged 0.075
And Tor is ready 22.995
And I switch to the "persistent-con-current" NetworkManager connection 2.102
And the 1st network device has a spoofed MAC address configured 0.712
And no network device leaked the real MAC address 0.360
After features/support/hooks.rb:330 1.033
After features/support/hooks.rb:100 0.086
Tags: @product
1:32.716
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 13.452
And I enable persistence creation in Tails Greeter 1.156
And I log in to a new session expecting no warning about the Persistent Storage not being activated 34.050
Then I create a persistent partition with the default settings using the wizard that was already open 44.056
After features/support/hooks.rb:330 5.732
After features/support/hooks.rb:100 0.000
Tags: @product
6:7.426
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 and stopped at Tails Greeter's login screen 14.671
When I enable persistence 58.861
Then no persistent Greeter options were restored 16.354
When I set all Greeter options to non-default values 38.621
And I log in to a new session in German (de) after having activated the Persistent Storage 52.513
Then all Greeter options are set to non-default values 1.617
When I cold reboot the computer 8.824
And the computer reboots Tails 1:36.961
Given I enable persistence 21.917
Then persistent Greeter options were restored 0.642
When I log in to a new session after having activated the Persistent Storage 56.216
Then all Greeter options are set to non-default values 0.225
After features/support/hooks.rb:330 1.337
After features/support/hooks.rb:100 0.011
Tags: @product
5:18.722
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 15.963
# 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 41.806
And I shutdown Tails and wait for the computer to power off 17.736
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:24.965
And I change the passphrase of the Persistent Storage back to the original 38.250
After features/support/hooks.rb:330 3.545
After features/support/hooks.rb:100 0.016
Tags: @product
1:20.429
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 15.286
And I log in to a new session without activating the Persistent Storage 26.555
Then persistence is disabled 0.794
But a Tails persistence partition exists on USB drive "__internal" 18.254
And all notifications have disappeared 13.062
When I delete the persistent partition 6.133
Then there is no persistence partition on USB drive "__internal" 0.342
After features/support/hooks.rb:330 2.069
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.457
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.909
When I write some dotfile expected to persist 0.102
And I shutdown Tails and wait for the computer to power off 14.376
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:38.501
Then the expected persistent dotfile is present in the filesystem 1.567
After features/support/hooks.rb:330 2.213
After features/support/hooks.rb:100 0.018
Tags: @product
2:23.536
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.337
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.292
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 46.634
When I log in to a new session after having activated the Persistent Storage 1:5.497
And all notifications have disappeared 7.916
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 8.851
And all tps features are enabled 2.660
And all tps features but the first one are active 2.248
After features/support/hooks.rb:330 3.826
After features/support/hooks.rb:100 0.000
Tags: @product
6:10.868
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:13.170
And I enable persistence 46.053
And I log in to a new session after having activated the Persistent Storage 1:2.373
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.341
And persistence is enabled 3.930
After features/support/hooks.rb:330 2.428
After features/support/hooks.rb:100 0.000
Tags: @product
41.457
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.572
And I enable persistence but something goes wrong during the LUKS header upgrade 31.992
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.893
After features/support/hooks.rb:330 0.847
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.397
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 13.088
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.034
When I enable persistence 41.492
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 3.686
After features/support/hooks.rb:330 2.844
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.038
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 14.897
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.312
When I try to enable persistence 0.798
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 40.107
When I repair the filesystem of the Persistent Storage 2.223
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.686
And the filesystem of the Persistent Storage was repaired 2.797
When I close the filesystem repair dialog 1.349
Then persistence is successfully enabled 1.863
After features/support/hooks.rb:330 4.730
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:47.274
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 12.964
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.102
When I try to enable persistence 0.287
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 45.780
When I repair the filesystem of the Persistent Storage 6.572
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 55.518
And all notifications have disappeared 12.270
# 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.792
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.804
When I close the "whisperback" window 2.910
Then the Tor Browser starts 28.162
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.018
After features/support/hooks.rb:330 2.228
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:41.808
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 12.567
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.296
And Tails detects disk read failures on the boot device 1.660
When I try to enable persistence 0.408
Then the Welcome Screen tells me that my hardware is probably failing 39.079
When I log in to a new session 1:1.690
And all notifications have disappeared 13.926
Then the Tor Browser starts 22.914
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.265
After features/support/hooks.rb:330 2.706
After features/support/hooks.rb:100 0.000