Project Number Date
test_Tails_ISO_devel 3854 04 Jun 2025, 13: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 42:51.470 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:22.048
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.831
And I update APT using apt 13.797
And I install "python3-behave" using apt 26.108
Then the Tails Persistent Storage behave tests pass 2.310
After features/support/hooks.rb:330 0.615
After features/support/hooks.rb:100 0.000
Tags: @product
47.326
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 11.524
When I log in to a new session without activating the Persistent Storage 25.664
Then Tails is running from USB drive "__internal" 0.634
And persistence is disabled 0.347
But a Tails persistence partition exists on USB drive "__internal" 9.156
After features/support/hooks.rb:330 1.894
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.074
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.769
Then Tails is running from USB drive "__internal" 0.437
When I create a file in the Persistent directory 0.160
And I create a persistent partition with the default settings 25.906
Then the file I created was copied to the Persistent Storage 2.148
When I shutdown Tails and wait for the computer to power off 15.317
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.863
Then persistence for "Persistent" is active 0.383
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:330 2.470
After features/support/hooks.rb:100 0.009
Tags: @product
1:22.952
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 12.504
And the system is very low on memory 5.819
When I create a file in the Persistent directory 1.489
When I try to create a persistent partition 31.295
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.647
When I close the Persistent Storage app 2.917
And I free up some memory 3.549
And I create a persistent partition with the default settings 23.455
Then the file I created was copied to the Persistent Storage 0.273
After features/support/hooks.rb:330 2.260
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.510
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.495
Then Tails is running from USB drive "__internal" 0.775
And all tps features are active 2.511
And all persistent directories have safe access rights 2.825
When I disable the first tps feature 6.646
Then all tps features but the first one are active 2.317
And I shutdown Tails and wait for the computer to power off 14.428
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.993
Then all tps features but the first one are active 2.514
After features/support/hooks.rb:330 1.413
After features/support/hooks.rb:100 0.011
Tags: @product
20.658
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.337
Then persistence for "Persistent" is active 0.119
And I create a file in the Persistent directory 0.211
Then the file I created was copied to the Persistent Storage 0.151
When I disable the first tps feature 6.232
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.312
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.596
After features/support/hooks.rb:100 0.000
Tags: @product
21.485
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.250
Then persistence for "Persistent" is active 0.151
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 6.180
And I delete the data of the Persistent Folder feature 3.776
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.717
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.000
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.456
And the network is plugged 0.093
And Tor is ready 22.363
And I take note of which tps features are available 0.786
When I write some files expected to persist 1.728
And I shutdown Tails and wait for the computer to power off 8.916
# 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" 25.655
After features/support/hooks.rb:330 0.180
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.956
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.178
And the network is plugged 0.107
And Tor is ready 22.940
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.241
And I shutdown Tails and wait for the computer to power off 8.976
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.161
And I capture all network traffic 0.006
And the network is plugged 0.069
And Tor is ready 22.663
And I switch to the "persistent-con-current" NetworkManager connection 0.343
And the 1st network device has a spoofed MAC address configured 0.084
And no network device leaked the real MAC address 0.184
After features/support/hooks.rb:330 0.641
After features/support/hooks.rb:100 0.069
Tags: @product
1:4.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 without a persistent partition and stopped at Tails Greeter's login screen 15.428
And I enable persistence creation in Tails Greeter 1.128
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.780
Then I create a persistent partition with the default settings using the wizard that was already open 24.060
After features/support/hooks.rb:330 2.675
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.966
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 12.235
When I enable persistence 42.253
Then no persistent Greeter options were restored 14.667
When I set all Greeter options to non-default values 26.968
And I log in to a new session in German (de) after having activated the Persistent Storage 45.277
Then all Greeter options are set to non-default values 0.826
When I cold reboot the computer 7.418
And the computer reboots Tails 1:10.825
Given I enable persistence 16.276
Then persistent Greeter options were restored 0.610
When I log in to a new session after having activated the Persistent Storage 39.718
Then all Greeter options are set to non-default values 0.888
After features/support/hooks.rb:330 1.525
After features/support/hooks.rb:100 0.009
Tags: @product
3:48.729
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.849
# 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.425
And I shutdown Tails and wait for the computer to power off 12.793
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.612
And I change the passphrase of the Persistent Storage back to the original 39.048
After features/support/hooks.rb:330 3.573
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.811
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.659
And I log in to a new session without activating the Persistent Storage 21.653
Then persistence is disabled 0.379
But a Tails persistence partition exists on USB drive "__internal" 10.783
And all notifications have disappeared 10.874
When I delete the persistent partition 5.506
Then there is no persistence partition on USB drive "__internal" 0.954
After features/support/hooks.rb:330 1.487
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.434
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.349
When I write some dotfile expected to persist 0.061
And I shutdown Tails and wait for the computer to power off 10.960
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.693
Then the expected persistent dotfile is present in the filesystem 0.368
After features/support/hooks.rb:330 1.399
After features/support/hooks.rb:100 0.014
Tags: @product
1:47.556
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.010
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.152
When I try to enable persistence 1.415
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.559
When I log in to a new session after having activated the Persistent Storage 46.872
And all notifications have disappeared 9.139
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.421
And all tps features are enabled 2.752
And all tps features but the first one are active 2.232
After features/support/hooks.rb:330 1.718
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.079
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
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 3:38.311
And I enable persistence 34.344
And I log in to a new session after having activated the Persistent Storage 47.562
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.848
And persistence is enabled 3.013
After features/support/hooks.rb:330 1.698
After features/support/hooks.rb:100 0.000
Tags: @product
32.539
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 9.861
And I enable persistence but something goes wrong during the LUKS header upgrade 21.958
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.719
After features/support/hooks.rb:330 0.805
After features/support/hooks.rb:100 0.000
Tags: @product
54.942
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.820
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.139
When I enable persistence 34.923
Then the filesystem of the Persistent Storage was repaired 0.107
And persistence is successfully enabled 2.951
After features/support/hooks.rb:330 1.908
After features/support/hooks.rb:100 0.000
Tags: @product
51.908
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.016
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.302
When I try to enable persistence 0.533
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.543
When I repair the filesystem of the Persistent Storage 2.582
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.935
And the filesystem of the Persistent Storage was repaired 3.177
When I close the filesystem repair dialog 1.273
Then persistence is successfully enabled 1.543
After features/support/hooks.rb:330 1.800
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.145
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.991
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.089
When I try to enable persistence 0.272
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.102
When I repair the filesystem of the Persistent Storage 1.252
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 38.186
And all notifications have disappeared 10.119
# 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.419
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.897
When I close the "whisperback" window 1.727
Then the Tor Browser starts 20.027
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.985
After features/support/hooks.rb:330 2.246
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.943
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.468
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.837
And Tails detects disk read failures on the boot device 0.604
When I try to enable persistence 0.389
Then the Welcome Screen tells me that my hardware is probably failing 19.977
When I log in to a new session 49.675
And all notifications have disappeared 8.413
Then the Tor Browser starts 23.498
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.079
After features/support/hooks.rb:330 1.876
After features/support/hooks.rb:100 0.000