Project Number Date
test_Tails_ISO_stable 5520 18 Mar 2025, 12:58

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 57:49.473 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:26.989
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:13.607
And I update APT using apt 4:45.366
And I install "python3-behave" using apt 25.609
Then the Tails Persistent Storage behave tests pass 2.405
After features/support/hooks.rb:330 0.801
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.312
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 24.639
When I log in to a new session without activating the Persistent Storage 24.780
Then Tails is running from USB drive "__internal" 0.927
And persistence is disabled 0.404
But a Tails persistence partition exists on USB drive "__internal" 12.561
After features/support/hooks.rb:330 5.276
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.488
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 logged in 23.517
Then Tails is running from USB drive "__internal" 0.838
When I create a file in the Persistent directory 0.194
And I create a persistent partition with the default settings 23.758
Then the file I created was copied to the Persistent Storage 0.564
When I shutdown Tails and wait for the computer to power off 16.088
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.019
Then persistence for "Persistent" is active 1.427
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.795
After features/support/hooks.rb:100 0.007
Tags: @product
1:9.719
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 13.814
And the system is very low on memory 4.246
When I create a file in the Persistent directory 2.267
When I try to create a persistent partition 29.550
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.450
When I close the Persistent Storage app 2.667
And I free up some memory 1.600
And I create a persistent partition with the default settings 14.846
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:330 2.698
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.411
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 27.210
Then Tails is running from USB drive "__internal" 0.427
And all tps features are active 4.724
And all persistent directories have safe access rights 2.776
When I disable the first tps feature 6.399
Then all tps features but the first one are active 2.557
And I shutdown Tails and wait for the computer to power off 15.037
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.345
Then all tps features but the first one are active 2.932
After features/support/hooks.rb:330 1.607
After features/support/hooks.rb:100 0.008
Tags: @product
23.152
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 13.279
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.102
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 6.025
Then persistence for "Persistent" is not active 0.084
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.271
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 1.441
After features/support/hooks.rb:100 0.000
Tags: @product
20.563
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 9.944
Then persistence for "Persistent" is active 0.067
When I create a file in the Persistent directory 0.231
And I disable the first tps feature 6.629
And I delete the data of the Persistent Folder feature 3.628
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:330 1.480
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.207
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 9.679
And the network is plugged 0.125
And Tor is ready 19.106
And I take note of which tps features are available 0.777
When I write some files expected to persist 1.414
And I shutdown Tails and wait for the computer to power off 10.796
# 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.308
After features/support/hooks.rb:330 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.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 enabled and logged in 10.151
And the network is plugged 0.124
And Tor is ready 20.507
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.242
And I shutdown Tails and wait for the computer to power off 10.993
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.012
And I capture all network traffic 0.007
And the network is plugged 0.091
And Tor is ready 23.243
And I switch to the "persistent-con-current" NetworkManager connection 0.461
And the 1st network device has a spoofed MAC address configured 0.084
And no network device leaked the real MAC address 0.175
After features/support/hooks.rb:330 0.617
After features/support/hooks.rb:100 0.073
Tags: @product
1:35.780
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 stopped at Tails Greeter's login screen 50.857
And I enable persistence creation in Tails Greeter 1.230
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.402
Then I create a persistent partition with the default settings using the wizard that was already open 22.289
After features/support/hooks.rb:330 2.595
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.620
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 30.593
When I enable persistence 43.563
Then no persistent Greeter options were restored 14.598
When I set all Greeter options to non-default values 27.232
And I log in to a new session in German (de) after having activated the Persistent Storage 56.091
Then all Greeter options are set to non-default values 0.685
When I cold reboot the computer 9.839
And the computer reboots Tails 1:8.500
Given I enable persistence 18.691
Then persistent Greeter options were restored 0.627
When I log in to a new session after having activated the Persistent Storage 41.664
Then all Greeter options are set to non-default values 0.531
After features/support/hooks.rb:330 1.856
After features/support/hooks.rb:100 0.008
Tags: @product
3:55.386
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 11.981
# 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 40.376
And I shutdown Tails and wait for the computer to power off 12.451
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.010
And I change the passphrase of the Persistent Storage back to the original 32.566
After features/support/hooks.rb:330 2.248
After features/support/hooks.rb:100 0.011
Tags: @product
1:6.842
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 17.137
And I log in to a new session without activating the Persistent Storage 21.859
Then persistence is disabled 0.293
But a Tails persistence partition exists on USB drive "__internal" 6.469
And all notifications have disappeared 11.037
When I delete the persistent partition 9.604
Then there is no persistence partition on USB drive "__internal" 0.440
After features/support/hooks.rb:330 1.774
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.838
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 11.138
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 11.193
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.935
Then the expected persistent dotfile is present in the filesystem 0.495
After features/support/hooks.rb:330 1.501
After features/support/hooks.rb:100 0.014
Tags: @product
2:9.169
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 11.996
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.109
When I try to enable persistence 1.376
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 51.206
When I log in to a new session after having activated the Persistent Storage 43.615
And all notifications have disappeared 9.327
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.368
And all tps features are enabled 2.888
And all tps features but the first one are active 4.280
After features/support/hooks.rb:330 3.856
After features/support/hooks.rb:100 0.000
Tags: @product
12:31.726
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 10:57.154
And I enable persistence 33.495
And I log in to a new session after having activated the Persistent Storage 54.106
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.843
And persistence is enabled 4.126
After features/support/hooks.rb:330 2.359
After features/support/hooks.rb:100 0.000
Tags: @product
46.317
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 15.011
And I enable persistence but something goes wrong during the LUKS header upgrade 30.265
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.040
After features/support/hooks.rb:330 0.906
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.340
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 11.462
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.853
When I enable persistence 36.560
Then the filesystem of the Persistent Storage was repaired 0.129
And persistence is successfully enabled 3.334
After features/support/hooks.rb:330 2.041
After features/support/hooks.rb:100 0.000
Tags: @product
56.985
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 9.838
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.668
When I try to enable persistence 1.476
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.254
When I repair the filesystem of the Persistent Storage 3.426
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.456
And the filesystem of the Persistent Storage was repaired 2.200
When I close the filesystem repair dialog 1.967
Then persistence is successfully enabled 1.695
After features/support/hooks.rb:330 1.874
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.559
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.473
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.109
When I try to enable persistence 0.303
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.948
When I repair the filesystem of the Persistent Storage 1.263
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.106
When I log in to a new session 41.309
And all notifications have disappeared 10.037
# 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.510
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.662
When I close the "whisperback" window 1.616
Then the Tor Browser starts 21.400
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.818
After features/support/hooks.rb:330 3.991
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.964
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.886
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.739
And Tails detects disk read failures on the boot device 1.803
When I try to enable persistence 0.460
Then the Welcome Screen tells me that my hardware is probably failing 22.221
When I log in to a new session 47.394
And all notifications have disappeared 10.719
Then the Tor Browser starts 22.602
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.134
After features/support/hooks.rb:330 2.160
After features/support/hooks.rb:100 0.000