Project Number Date
test_Tails_ISO_devel 3869 15 Jun 2025, 13:25

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:6.107 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.859
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:45.015
And I update APT using apt 14.426
And I install "python3-behave" using apt 26.858
Then the Tails Persistent Storage behave tests pass 2.558
After features/support/hooks.rb:330 0.713
After features/support/hooks.rb:100 0.000
Tags: @product
51.818
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 14.664
When I log in to a new session without activating the Persistent Storage 26.874
Then Tails is running from USB drive "__internal" 2.350
And persistence is disabled 0.319
But a Tails persistence partition exists on USB drive "__internal" 7.609
After features/support/hooks.rb:330 1.293
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.855
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.105
Then Tails is running from USB drive "__internal" 0.523
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 30.184
Then the file I created was copied to the Persistent Storage 2.955
When I shutdown Tails and wait for the computer to power off 12.399
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.631
Then persistence for "Persistent" is active 0.813
And the file I created in the Persistent directory exists 0.116
After features/support/hooks.rb:330 1.987
After features/support/hooks.rb:100 0.015
Tags: @product
1:5.451
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 without a persistent partition and logged in 14.383
And the system is very low on memory 4.124
When I create a file in the Persistent directory 1.472
When I try to create a persistent partition 24.974
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.131
When I close the Persistent Storage app 2.839
And I free up some memory 2.540
And I create a persistent partition with the default settings 14.693
Then the file I created was copied to the Persistent Storage 0.291
After features/support/hooks.rb:330 1.705
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.669
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 15.030
Then Tails is running from USB drive "__internal" 0.478
And all tps features are active 2.984
And all persistent directories have safe access rights 3.101
When I disable the first tps feature 7.093
Then all tps features but the first one are active 2.490
And I shutdown Tails and wait for the computer to power off 15.631
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.858
Then all tps features but the first one are active 3.000
After features/support/hooks.rb:330 1.581
After features/support/hooks.rb:100 0.024
Tags: @product
24.427
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.909
Then persistence for "Persistent" is active 0.262
And I create a file in the Persistent directory 0.071
Then the file I created was copied to the Persistent Storage 0.101
When I disable the first tps feature 7.632
Then persistence for "Persistent" is not active 0.176
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.931
Then persistence for "Persistent" is active 0.140
And the file I created in the Persistent directory exists 0.133
After features/support/hooks.rb:330 0.793
After features/support/hooks.rb:100 0.000
Tags: @product
20.953
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.935
Then persistence for "Persistent" is active 0.091
When I create a file in the Persistent directory 0.136
And I disable the first tps feature 6.717
And I delete the data of the Persistent Folder feature 3.978
Then the file I created does not exist on the Persistent Storage 0.093
After features/support/hooks.rb:330 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.279
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.292
And the network is plugged 0.081
And Tor is ready 25.613
And I take note of which tps features are available 0.666
When I write some files expected to persist 1.609
And I shutdown Tails and wait for the computer to power off 10.654
# 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" 29.361
After features/support/hooks.rb:330 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.764
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.664
And the network is plugged 0.104
And Tor is ready 20.967
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.289
And I shutdown Tails and wait for the computer to power off 8.979
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.606
And I capture all network traffic 0.009
And the network is plugged 0.071
And Tor is ready 26.843
And I switch to the "persistent-con-current" NetworkManager connection 0.878
And the 1st network device has a spoofed MAC address configured 0.140
And no network device leaked the real MAC address 0.208
After features/support/hooks.rb:330 0.961
After features/support/hooks.rb:100 0.073
Tags: @product
1:7.354
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.640
And I enable persistence creation in Tails Greeter 1.253
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.050
Then I create a persistent partition with the default settings using the wizard that was already open 27.409
After features/support/hooks.rb:330 2.549
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.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 with a persistent partition and stopped at Tails Greeter's login screen 13.984
When I enable persistence 48.383
Then no persistent Greeter options were restored 14.752
When I set all Greeter options to non-default values 32.726
And I log in to a new session in German (de) after having activated the Persistent Storage 51.605
Then all Greeter options are set to non-default values 0.517
When I cold reboot the computer 9.980
And the computer reboots Tails 1:7.821
Given I enable persistence 20.086
Then persistent Greeter options were restored 0.536
When I log in to a new session after having activated the Persistent Storage 43.476
Then all Greeter options are set to non-default values 0.616
After features/support/hooks.rb:330 1.934
After features/support/hooks.rb:100 0.023
Tags: @product
4:8.880
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.468
# 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.007
And I shutdown Tails and wait for the computer to power off 15.970
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.360
And I change the passphrase of the Persistent Storage back to the original 38.073
After features/support/hooks.rb:330 3.576
After features/support/hooks.rb:100 0.012
Tags: @product
1:4.777
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 11.806
And I log in to a new session without activating the Persistent Storage 23.354
Then persistence is disabled 0.717
But a Tails persistence partition exists on USB drive "__internal" 10.869
And all notifications have disappeared 11.247
When I delete the persistent partition 5.880
Then there is no persistence partition on USB drive "__internal" 0.901
After features/support/hooks.rb:330 1.037
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.371
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.298
When I write some dotfile expected to persist 0.119
And I shutdown Tails and wait for the computer to power off 12.237
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.332
Then the expected persistent dotfile is present in the filesystem 0.384
After features/support/hooks.rb:330 1.442
After features/support/hooks.rb:100 0.010
Tags: @product
1:56.615
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 8.689
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.407
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.330
When I log in to a new session after having activated the Persistent Storage 51.636
And all notifications have disappeared 7.457
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.204
And all tps features are enabled 4.337
And all tps features but the first one are active 2.453
After features/support/hooks.rb:330 1.140
After features/support/hooks.rb:100 0.000
Tags: @product
5:46.765
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 4:19.432
And I enable persistence 31.563
And I log in to a new session after having activated the Persistent Storage 50.591
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.185
And persistence is enabled 2.991
After features/support/hooks.rb:330 1.544
After features/support/hooks.rb:100 0.000
Tags: @product
31.269
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.172
And I enable persistence but something goes wrong during the LUKS header upgrade 20.240
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.856
After features/support/hooks.rb:330 0.757
After features/support/hooks.rb:100 0.000
Tags: @product
46.548
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 9.501
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.487
When I enable persistence 27.747
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.725
After features/support/hooks.rb:330 2.446
After features/support/hooks.rb:100 0.000
Tags: @product
55.600
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.234
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.709
When I try to enable persistence 0.459
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.517
When I repair the filesystem of the Persistent Storage 1.267
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.892
And the filesystem of the Persistent Storage was repaired 3.949
When I close the filesystem repair dialog 1.240
Then persistence is successfully enabled 1.329
After features/support/hooks.rb:330 1.793
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.439
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 8.954
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.334
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.245
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.112
When I log in to a new session 30.650
And all notifications have disappeared 7.825
# 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.693
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.485
When I close the "whisperback" window 1.683
Then the Tor Browser starts 21.988
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.087
After features/support/hooks.rb:330 3.553
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.918
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 8.701
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.116
And Tails detects disk read failures on the boot device 0.506
When I try to enable persistence 0.570
Then the Welcome Screen tells me that my hardware is probably failing 19.021
When I log in to a new session 50.073
And all notifications have disappeared 11.607
Then the Tor Browser starts 17.763
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.557
After features/support/hooks.rb:330 3.940
After features/support/hooks.rb:100 0.000