Project Number Date
test_Tails_ISO_devel 3865 12 Jun 2025, 13:16

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 45:50.478 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.054
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:38.479
And I update APT using apt 12.961
And I install "python3-behave" using apt 22.994
Then the Tails Persistent Storage behave tests pass 3.618
After features/support/hooks.rb:330 0.880
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.301
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 12.269
When I log in to a new session without activating the Persistent Storage 25.455
Then Tails is running from USB drive "__internal" 0.636
And persistence is disabled 3.412
But a Tails persistence partition exists on USB drive "__internal" 18.527
After features/support/hooks.rb:330 1.934
After features/support/hooks.rb:100 0.000
Tags: @product
4:12.573
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 1:2.951
Then Tails is running from USB drive "__internal" 0.953
When I create a file in the Persistent directory 0.176
And I create a persistent partition with the default settings 23.260
Then the file I created was copied to the Persistent Storage 2.717
When I shutdown Tails and wait for the computer to power off 12.736
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.398
Then persistence for "Persistent" is active 0.305
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 2.043
After features/support/hooks.rb:100 0.009
Tags: @product
1:16.487
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 18.361
And the system is very low on memory 4.919
When I create a file in the Persistent directory 1.471
When I try to create a persistent partition 28.408
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.170
When I close the Persistent Storage app 4.123
And I free up some memory 3.738
And I create a persistent partition with the default settings 15.003
Then the file I created was copied to the Persistent Storage 0.290
After features/support/hooks.rb:330 2.076
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.477
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.632
Then Tails is running from USB drive "__internal" 1.967
And all tps features are active 2.392
And all persistent directories have safe access rights 2.817
When I disable the first tps feature 6.991
Then all tps features but the first one are active 2.271
And I shutdown Tails and wait for the computer to power off 13.344
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.733
Then all tps features but the first one are active 2.326
After features/support/hooks.rb:330 2.095
After features/support/hooks.rb:100 0.012
Tags: @product
23.324
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.913
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.088
Then the file I created was copied to the Persistent Storage 0.101
When I disable the first tps feature 7.682
Then persistence for "Persistent" is not active 0.090
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.122
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:330 1.610
After features/support/hooks.rb:100 0.000
Tags: @product
23.170
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.217
Then persistence for "Persistent" is active 0.190
When I create a file in the Persistent directory 0.127
And I disable the first tps feature 6.561
And I delete the data of the Persistent Folder feature 5.020
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:330 1.710
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.125
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 11.317
And the network is plugged 0.174
And Tor is ready 26.318
And I take note of which tps features are available 0.623
When I write some files expected to persist 1.576
And I shutdown Tails and wait for the computer to power off 9.139
# 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.974
After features/support/hooks.rb:330 0.170
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.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 with a persistent partition enabled and logged in 12.341
And the network is plugged 0.222
And Tor is ready 23.278
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.213
And I shutdown Tails and wait for the computer to power off 8.964
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.350
And I capture all network traffic 0.007
And the network is plugged 0.079
And Tor is ready 18.684
And I switch to the "persistent-con-current" NetworkManager connection 0.337
And the 1st network device has a spoofed MAC address configured 0.093
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:330 0.757
After features/support/hooks.rb:100 0.055
Tags: @product
1:13.243
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 16.890
And I enable persistence creation in Tails Greeter 1.123
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.596
Then I create a persistent partition with the default settings using the wizard that was already open 28.633
After features/support/hooks.rb:330 2.712
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.898
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 14.250
When I enable persistence 36.427
Then no persistent Greeter options were restored 14.479
When I set all Greeter options to non-default values 29.658
And I log in to a new session in German (de) after having activated the Persistent Storage 43.376
Then all Greeter options are set to non-default values 0.581
When I cold reboot the computer 7.381
And the computer reboots Tails 1:3.793
Given I enable persistence 18.800
Then persistent Greeter options were restored 0.600
When I log in to a new session after having activated the Persistent Storage 41.999
Then all Greeter options are set to non-default values 0.550
After features/support/hooks.rb:330 2.314
After features/support/hooks.rb:100 0.014
Tags: @product
4:22.841
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 12.503
# 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 51.478
And I shutdown Tails and wait for the computer to power off 15.278
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.459
And I change the passphrase of the Persistent Storage back to the original 42.121
After features/support/hooks.rb:330 3.041
After features/support/hooks.rb:100 0.019
Tags: @product
1:6.307
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 15.470
And I log in to a new session without activating the Persistent Storage 23.626
Then persistence is disabled 0.422
But a Tails persistence partition exists on USB drive "__internal" 9.875
And all notifications have disappeared 9.871
When I delete the persistent partition 6.195
Then there is no persistence partition on USB drive "__internal" 0.844
After features/support/hooks.rb:330 1.779
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.781
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.748
When I write some dotfile expected to persist 0.771
And I shutdown Tails and wait for the computer to power off 10.728
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.149
Then the expected persistent dotfile is present in the filesystem 0.382
After features/support/hooks.rb:330 1.477
After features/support/hooks.rb:100 0.010
Tags: @product
1:48.122
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.915
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.074
When I log in to a new session after having activated the Persistent Storage 44.282
And all notifications have disappeared 6.678
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.535
And all tps features are enabled 2.806
And all tps features but the first one are active 2.455
After features/support/hooks.rb:330 1.786
After features/support/hooks.rb:100 0.000
Tags: @product
5:59.974
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:14.471
And I enable persistence 53.878
And I log in to a new session after having activated the Persistent Storage 46.308
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.418
And persistence is enabled 2.899
After features/support/hooks.rb:330 1.824
After features/support/hooks.rb:100 0.000
Tags: @product
30.854
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 9.353
And I enable persistence but something goes wrong during the LUKS header upgrade 20.651
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.849
After features/support/hooks.rb:330 0.824
After features/support/hooks.rb:100 0.000
Tags: @product
50.163
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 9.885
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.931
When I enable persistence 31.554
Then the filesystem of the Persistent Storage was repaired 0.079
And persistence is successfully enabled 2.712
After features/support/hooks.rb:330 1.430
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.790
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.210
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.580
When I try to enable persistence 0.421
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.918
When I repair the filesystem of the Persistent Storage 1.297
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.803
And the filesystem of the Persistent Storage was repaired 3.624
When I close the filesystem repair dialog 1.289
Then persistence is successfully enabled 2.643
After features/support/hooks.rb:330 1.645
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.706
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 10.140
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.125
When I try to enable persistence 0.343
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.351
When I repair the filesystem of the Persistent Storage 5.090
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.092
When I log in to a new session 44.965
And all notifications have disappeared 10.504
# 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.305
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.230
When I close the "whisperback" window 1.901
Then the Tor Browser starts 16.586
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.068
After features/support/hooks.rb:330 1.898
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:25.563
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.569
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.175
And Tails detects disk read failures on the boot device 1.666
When I try to enable persistence 0.517
Then the Welcome Screen tells me that my hardware is probably failing 22.489
When I log in to a new session 55.001
And all notifications have disappeared 11.356
Then the Tor Browser starts 35.494
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.291
After features/support/hooks.rb:330 4.239
After features/support/hooks.rb:100 0.000