Project Number Date
test_Tails_ISO_devel 3820 19 May 2025, 10:50

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 52:55.011 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.596
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:43.851
And I update APT using apt 15.160
And I install "python3-behave" using apt 26.722
Then the Tails Persistent Storage behave tests pass 3.860
After features/support/hooks.rb:330 0.712
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.775
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 16.407
When I log in to a new session without activating the Persistent Storage 33.221
Then Tails is running from USB drive "__internal" 0.979
And persistence is disabled 0.569
But a Tails persistence partition exists on USB drive "__internal" 17.597
After features/support/hooks.rb:330 2.353
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.245
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 14.815
Then Tails is running from USB drive "__internal" 0.536
When I create a file in the Persistent directory 0.202
And I create a persistent partition with the default settings 29.475
Then the file I created was copied to the Persistent Storage 2.466
When I shutdown Tails and wait for the computer to power off 15.560
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:52.721
Then persistence for "Persistent" is active 0.403
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 2.016
After features/support/hooks.rb:100 0.009
Tags: @product
1:19.495
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 15.127
And the system is very low on memory 7.427
When I create a file in the Persistent directory 1.441
When I try to create a persistent partition 30.823
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.248
When I close the Persistent Storage app 2.927
And I free up some memory 3.641
And I create a persistent partition with the default settings 17.391
Then the file I created was copied to the Persistent Storage 0.466
After features/support/hooks.rb:330 2.811
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.488
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 22.399
Then Tails is running from USB drive "__internal" 0.605
And all tps features are active 5.832
And all persistent directories have safe access rights 2.902
When I disable the first tps feature 6.352
Then all tps features but the first one are active 2.838
And I shutdown Tails and wait for the computer to power off 15.527
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.149
Then all tps features but the first one are active 2.879
After features/support/hooks.rb:330 1.902
After features/support/hooks.rb:100 0.009
Tags: @product
22.503
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.691
Then persistence for "Persistent" is active 0.215
And I create a file in the Persistent directory 0.277
Then the file I created was copied to the Persistent Storage 0.206
When I disable the first tps feature 6.917
Then persistence for "Persistent" is not active 0.140
And the Persistent directory does not exist 0.100
When I enable the first tps feature 3.749
Then persistence for "Persistent" is active 0.118
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:330 1.508
After features/support/hooks.rb:100 0.000
Tags: @product
21.607
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.097
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.130
And I disable the first tps feature 7.221
And I delete the data of the Persistent Folder feature 3.965
Then the file I created does not exist on the Persistent Storage 0.084
After features/support/hooks.rb:330 1.645
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.185
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.033
And the network is plugged 0.112
And Tor is ready 22.627
And I take note of which tps features are available 0.652
When I write some files expected to persist 1.670
And I shutdown Tails and wait for the computer to power off 9.101
# 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" 24.988
After features/support/hooks.rb:330 0.125
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.589
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 9.739
And the network is plugged 0.086
And Tor is ready 20.657
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.249
And I shutdown Tails and wait for the computer to power off 8.747
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.434
And I capture all network traffic 0.010
And the network is plugged 0.107
And Tor is ready 21.830
And I switch to the "persistent-con-current" NetworkManager connection 0.346
And the 1st network device has a spoofed MAC address configured 0.142
And no network device leaked the real MAC address 0.239
After features/support/hooks.rb:330 0.684
After features/support/hooks.rb:100 0.058
Tags: @product
1:48.591
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 58.125
And I enable persistence creation in Tails Greeter 2.209
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.846
Then I create a persistent partition with the default settings using the wizard that was already open 24.409
After features/support/hooks.rb:330 3.245
After features/support/hooks.rb:100 0.000
Tags: @product
5:9.879
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 14.815
When I enable persistence 1:1.402
Then no persistent Greeter options were restored 14.816
When I set all Greeter options to non-default values 24.863
And I log in to a new session in German (de) after having activated the Persistent Storage 43.530
Then all Greeter options are set to non-default values 0.725
When I cold reboot the computer 7.832
And the computer reboots Tails 1:13.974
Given I enable persistence 20.074
Then persistent Greeter options were restored 0.587
When I log in to a new session after having activated the Persistent Storage 47.019
Then all Greeter options are set to non-default values 0.236
After features/support/hooks.rb:330 1.728
After features/support/hooks.rb:100 0.011
Tags: @product
4:1.928
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.991
# 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 33.651
And I shutdown Tails and wait for the computer to power off 15.196
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:28.267
And I change the passphrase of the Persistent Storage back to the original 33.822
After features/support/hooks.rb:330 4.777
After features/support/hooks.rb:100 0.011
Tags: @product
1:6.677
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 10.896
And I log in to a new session without activating the Persistent Storage 23.940
Then persistence is disabled 0.500
But a Tails persistence partition exists on USB drive "__internal" 11.444
And all notifications have disappeared 10.904
When I delete the persistent partition 8.130
Then there is no persistence partition on USB drive "__internal" 0.860
After features/support/hooks.rb:330 1.214
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.567
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.929
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 8.851
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.980
Then the expected persistent dotfile is present in the filesystem 0.728
After features/support/hooks.rb:330 1.538
After features/support/hooks.rb:100 0.010
Tags: @product
2:0.888
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.211
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.289
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.807
When I log in to a new session after having activated the Persistent Storage 52.177
And all notifications have disappeared 8.286
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.333
And all tps features are enabled 3.048
And all tps features but the first one are active 2.630
After features/support/hooks.rb:330 2.035
After features/support/hooks.rb:100 0.000
Tags: @product
10:57.489
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 9:20.177
And I enable persistence 41.736
And I log in to a new session after having activated the Persistent Storage 50.574
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.652
And persistence is enabled 3.349
After features/support/hooks.rb:330 1.372
After features/support/hooks.rb:100 0.000
Tags: @product
40.000
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 15.886
And I enable persistence but something goes wrong during the LUKS header upgrade 23.145
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.968
After features/support/hooks.rb:330 0.816
After features/support/hooks.rb:100 0.000
Tags: @product
54.317
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.051
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.242
When I enable persistence 32.568
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 5.362
After features/support/hooks.rb:330 1.367
After features/support/hooks.rb:100 0.000
Tags: @product
56.409
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 9.560
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.231
When I try to enable persistence 0.496
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.052
When I repair the filesystem of the Persistent Storage 2.358
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.185
And the filesystem of the Persistent Storage was repaired 3.225
When I close the filesystem repair dialog 1.409
Then persistence is successfully enabled 1.889
After features/support/hooks.rb:330 1.402
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:15.680
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 10.421
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.280
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.367
When I repair the filesystem of the Persistent Storage 5.022
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 42.841
And all notifications have disappeared 12.200
# 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.340
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.761
When I close the "whisperback" window 1.632
Then the Tor Browser starts 24.643
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.971
After features/support/hooks.rb:330 3.001
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:28.095
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 10.934
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.733
And Tails detects disk read failures on the boot device 2.016
When I try to enable persistence 1.530
Then the Welcome Screen tells me that my hardware is probably failing 23.358
When I log in to a new session 56.044
And all notifications have disappeared 14.843
Then the Tor Browser starts 30.521
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.112
After features/support/hooks.rb:330 4.531
After features/support/hooks.rb:100 0.000