Project Number Date
test_Tails_ISO_stable 5697 03 Jun 2025, 18:44

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 49:33.354 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:59.920
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:15.070
And I update APT using apt 14.077
And I install "python3-behave" using apt 26.740
Then the Tails Persistent Storage behave tests pass 4.031
After features/support/hooks.rb:330 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.107
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 15.299
When I log in to a new session without activating the Persistent Storage 26.992
Then Tails is running from USB drive "__internal" 0.803
And persistence is disabled 0.574
But a Tails persistence partition exists on USB drive "__internal" 18.436
After features/support/hooks.rb:330 1.968
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.564
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive without a persistent partition and logged in 19.013
Then Tails is running from USB drive "__internal" 0.978
When I create a file in the Persistent directory 0.166
And I create a persistent partition with the default settings 27.205
Then the file I created was copied to the Persistent Storage 2.175
When I shutdown Tails and wait for the computer to power off 13.767
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.864
Then persistence for "Persistent" is active 0.321
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.865
After features/support/hooks.rb:100 0.010
Tags: @product
1:25.717
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.315
And the system is very low on memory 8.626
When I create a file in the Persistent directory 1.084
When I try to create a persistent partition 35.620
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.323
When I close the Persistent Storage app 3.284
And I free up some memory 3.892
And I create a persistent partition with the default settings 16.162
Then the file I created was copied to the Persistent Storage 0.406
After features/support/hooks.rb:330 2.935
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.242
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 14.413
Then Tails is running from USB drive "__internal" 1.424
And all tps features are active 3.042
And all persistent directories have safe access rights 3.371
When I disable the first tps feature 6.833
Then all tps features but the first one are active 2.559
And I shutdown Tails and wait for the computer to power off 16.719
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.910
Then all tps features but the first one are active 2.967
After features/support/hooks.rb:330 1.916
After features/support/hooks.rb:100 0.010
Tags: @product
22.115
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.342
Then persistence for "Persistent" is active 0.095
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.111
When I disable the first tps feature 6.444
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.731
Then persistence for "Persistent" is active 0.098
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.059
After features/support/hooks.rb:100 0.000
Tags: @product
23.615
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 9.954
Then persistence for "Persistent" is active 0.293
When I create a file in the Persistent directory 0.088
And I disable the first tps feature 7.489
And I delete the data of the Persistent Folder feature 5.732
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 1.251
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.979
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.250
And the network is plugged 0.107
And Tor is ready 26.166
And I take note of which tps features are available 0.688
When I write some files expected to persist 1.769
And I shutdown Tails and wait for the computer to power off 8.746
# 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.250
After features/support/hooks.rb:330 0.262
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.257
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.593
And the network is plugged 0.095
And Tor is ready 22.224
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.286
And I shutdown Tails and wait for the computer to power off 8.838
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.113
And I capture all network traffic 0.011
And the network is plugged 0.518
And Tor is ready 20.752
And I switch to the "persistent-con-current" NetworkManager connection 0.561
And the 1st network device has a spoofed MAC address configured 0.089
And no network device leaked the real MAC address 0.173
After features/support/hooks.rb:330 0.709
After features/support/hooks.rb:100 0.066
Tags: @product
1:10.429
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 without a persistent partition and stopped at Tails Greeter's login screen 16.033
And I enable persistence creation in Tails Greeter 1.554
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.388
Then I create a persistent partition with the default settings using the wizard that was already open 28.453
After features/support/hooks.rb:330 2.885
After features/support/hooks.rb:100 0.000
Tags: @product
5:16.892
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 13.041
When I enable persistence 50.734
Then no persistent Greeter options were restored 14.634
When I set all Greeter options to non-default values 35.481
And I log in to a new session in German (de) after having activated the Persistent Storage 56.024
Then all Greeter options are set to non-default values 0.777
When I cold reboot the computer 10.158
And the computer reboots Tails 1:12.541
Given I enable persistence 20.233
Then persistent Greeter options were restored 0.630
When I log in to a new session after having activated the Persistent Storage 42.061
Then all Greeter options are set to non-default values 0.573
After features/support/hooks.rb:330 2.339
After features/support/hooks.rb:100 0.009
Tags: @product
4:28.189
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.668
# 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.251
And I shutdown Tails and wait for the computer to power off 13.734
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:42.309
And I change the passphrase of the Persistent Storage back to the original 40.225
After features/support/hooks.rb:330 3.698
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.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 10.717
And I log in to a new session without activating the Persistent Storage 24.182
Then persistence is disabled 0.511
But a Tails persistence partition exists on USB drive "__internal" 12.350
And all notifications have disappeared 9.048
When I delete the persistent partition 7.630
Then there is no persistence partition on USB drive "__internal" 0.681
After features/support/hooks.rb:330 1.282
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.981
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.258
When I write some dotfile expected to persist 0.141
And I shutdown Tails and wait for the computer to power off 10.044
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.175
Then the expected persistent dotfile is present in the filesystem 0.360
After features/support/hooks.rb:330 1.962
After features/support/hooks.rb:100 0.025
Tags: @product
1:53.231
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 persistent partition and stopped at Tails Greeter's login screen 11.274
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.294
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.972
When I log in to a new session after having activated the Persistent Storage 40.530
And all notifications have disappeared 8.821
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 7.359
And all tps features are enabled 3.372
And all tps features but the first one are active 2.521
After features/support/hooks.rb:330 1.480
After features/support/hooks.rb:100 0.000
Tags: @product
7:53.640
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 6:1.827
And I enable persistence 57.673
And I log in to a new session after having activated the Persistent Storage 48.099
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.545
And persistence is enabled 3.494
After features/support/hooks.rb:330 2.385
After features/support/hooks.rb:100 0.000
Tags: @product
40.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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.890
And I enable persistence but something goes wrong during the LUKS header upgrade 29.139
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.808
After features/support/hooks.rb:330 0.754
After features/support/hooks.rb:100 0.000
Tags: @product
53.917
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.584
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.161
When I enable persistence 33.713
Then the filesystem of the Persistent Storage was repaired 0.128
And persistence is successfully enabled 3.328
After features/support/hooks.rb:330 4.053
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.931
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.233
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.193
When I try to enable persistence 0.629
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.660
When I repair the filesystem of the Persistent Storage 1.343
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.376
And the filesystem of the Persistent Storage was repaired 4.623
When I close the filesystem repair dialog 1.206
Then persistence is successfully enabled 1.664
After features/support/hooks.rb:330 1.432
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.052
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.436
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.134
When I try to enable persistence 0.394
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.031
When I repair the filesystem of the Persistent Storage 1.283
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 41.154
And all notifications have disappeared 12.757
# 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.452
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.900
When I close the "whisperback" window 1.841
Then the Tor Browser starts 20.522
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.064
After features/support/hooks.rb:330 6.506
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:22.606
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 11.053
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.130
And Tails detects disk read failures on the boot device 0.598
When I try to enable persistence 1.542
Then the Welcome Screen tells me that my hardware is probably failing 25.880
When I log in to a new session 59.310
And all notifications have disappeared 7.323
Then the Tor Browser starts 26.653
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 2.393
After features/support/hooks.rb:100 0.000