Project Number Date
test_Tails_ISO_devel 3861 10 Jun 2025, 17:29

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 53:57.485 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:46.404
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:4.040
And I update APT using apt 13.021
And I install "python3-behave" using apt 26.384
Then the Tails Persistent Storage behave tests pass 2.958
After features/support/hooks.rb:330 0.969
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.013
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 with a persistent partition and stopped at Tails Greeter's login screen 33.184
When I log in to a new session without activating the Persistent Storage 26.276
Then Tails is running from USB drive "__internal" 0.661
And persistence is disabled 0.283
But a Tails persistence partition exists on USB drive "__internal" 12.608
After features/support/hooks.rb:330 2.236
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.219
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 without a persistent partition and logged in 20.573
Then Tails is running from USB drive "__internal" 0.492
When I create a file in the Persistent directory 0.157
And I create a persistent partition with the default settings 35.407
Then the file I created was copied to the Persistent Storage 2.089
When I shutdown Tails and wait for the computer to power off 15.689
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.352
Then persistence for "Persistent" is active 0.368
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 1.747
After features/support/hooks.rb:100 0.012
Tags: @product
1:25.657
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 24.421
And the system is very low on memory 5.862
When I create a file in the Persistent directory 1.585
When I try to create a persistent partition 29.355
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.471
When I close the Persistent Storage app 2.720
And I free up some memory 3.751
And I create a persistent partition with the default settings 17.195
Then the file I created was copied to the Persistent Storage 0.295
After features/support/hooks.rb:330 2.484
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.463
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 22.915
Then Tails is running from USB drive "__internal" 0.468
And all tps features are active 8.714
And all persistent directories have safe access rights 3.444
When I disable the first tps feature 7.464
Then all tps features but the first one are active 8.356
And I shutdown Tails and wait for the computer to power off 19.616
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.959
Then all tps features but the first one are active 2.523
After features/support/hooks.rb:330 1.398
After features/support/hooks.rb:100 0.014
Tags: @product
25.647
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 15.271
Then persistence for "Persistent" is active 0.139
And I create a file in the Persistent directory 0.121
Then the file I created was copied to the Persistent Storage 0.099
When I disable the first tps feature 5.956
Then persistence for "Persistent" is not active 0.097
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.703
Then persistence for "Persistent" is active 0.099
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:330 1.601
After features/support/hooks.rb:100 0.000
Tags: @product
20.314
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.003
Then persistence for "Persistent" is active 0.083
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 5.908
And I delete the data of the Persistent Folder feature 4.191
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 1.581
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.748
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 10.511
And the network is plugged 0.110
And Tor is ready 21.735
And I take note of which tps features are available 0.747
When I write some files expected to persist 1.786
And I shutdown Tails and wait for the computer to power off 9.182
# 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.674
After features/support/hooks.rb:330 0.130
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.687
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.662
And the network is plugged 0.115
And Tor is ready 24.019
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.309
And I shutdown Tails and wait for the computer to power off 8.508
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.333
And I capture all network traffic 0.008
And the network is plugged 0.100
And Tor is ready 23.008
And I switch to the "persistent-con-current" NetworkManager connection 0.355
And the 1st network device has a spoofed MAC address configured 0.093
And no network device leaked the real MAC address 0.171
After features/support/hooks.rb:330 0.646
After features/support/hooks.rb:100 0.041
Tags: @product
1:58.628
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 1:4.900
And I enable persistence creation in Tails Greeter 1.199
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.000
Then I create a persistent partition with the default settings using the wizard that was already open 26.528
After features/support/hooks.rb:330 4.157
After features/support/hooks.rb:100 0.000
Tags: @product
5:33.526
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 19.707
When I enable persistence 55.234
Then no persistent Greeter options were restored 16.231
When I set all Greeter options to non-default values 37.597
And I log in to a new session in German (de) after having activated the Persistent Storage 53.570
Then all Greeter options are set to non-default values 0.452
When I cold reboot the computer 7.955
And the computer reboots Tails 1:12.680
Given I enable persistence 25.928
Then persistent Greeter options were restored 0.556
When I log in to a new session after having activated the Persistent Storage 43.093
Then all Greeter options are set to non-default values 0.518
After features/support/hooks.rb:330 2.553
After features/support/hooks.rb:100 0.009
Tags: @product
4:24.024
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.866
# 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.954
And I shutdown Tails and wait for the computer to power off 13.430
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:35.739
And I change the passphrase of the Persistent Storage back to the original 40.033
After features/support/hooks.rb:330 2.568
After features/support/hooks.rb:100 0.012
Tags: @product
1:13.144
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.979
And I log in to a new session without activating the Persistent Storage 24.054
Then persistence is disabled 0.412
But a Tails persistence partition exists on USB drive "__internal" 12.225
And all notifications have disappeared 12.016
When I delete the persistent partition 8.295
Then there is no persistence partition on USB drive "__internal" 1.159
After features/support/hooks.rb:330 1.831
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.197
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 11.913
When I write some dotfile expected to persist 0.075
And I shutdown Tails and wait for the computer to power off 11.993
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:51.846
Then the expected persistent dotfile is present in the filesystem 0.367
After features/support/hooks.rb:330 1.047
After features/support/hooks.rb:100 0.041
Tags: @product
1:56.557
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 and stopped at Tails Greeter's login screen 10.536
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.347
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.024
When I log in to a new session after having activated the Persistent Storage 50.123
And all notifications have disappeared 11.080
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.449
And all tps features are enabled 2.938
And all tps features but the first one are active 2.976
After features/support/hooks.rb:330 1.866
After features/support/hooks.rb:100 0.000
Tags: @product
9:26.224
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 7:41.825
And I enable persistence 56.917
And I log in to a new session after having activated the Persistent Storage 40.883
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.278
And persistence is enabled 4.318
After features/support/hooks.rb:330 2.940
After features/support/hooks.rb:100 0.000
Tags: @product
38.475
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 11.895
And I enable persistence but something goes wrong during the LUKS header upgrade 25.597
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.981
After features/support/hooks.rb:330 0.908
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.355
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.466
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 15.338
When I enable persistence 45.162
Then the filesystem of the Persistent Storage was repaired 0.106
And persistence is successfully enabled 3.280
After features/support/hooks.rb:330 1.690
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.243
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 and stopped at Tails Greeter's login screen 11.060
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.065
When I try to enable persistence 0.651
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.820
When I repair the filesystem of the Persistent Storage 2.765
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.795
And the filesystem of the Persistent Storage was repaired 4.042
When I close the filesystem repair dialog 1.220
Then persistence is successfully enabled 1.821
After features/support/hooks.rb:330 2.937
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:29.174
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 9.817
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.126
When I try to enable persistence 0.367
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 43.171
When I repair the filesystem of the Persistent Storage 1.351
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.145
When I log in to a new session 49.412
And all notifications have disappeared 11.901
# 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.711
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.290
When I close the "whisperback" window 1.928
Then the Tor Browser starts 27.178
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.770
After features/support/hooks.rb:330 4.774
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:26.774
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 and stopped at Tails Greeter's login screen 13.702
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.762
And Tails detects disk read failures on the boot device 1.974
When I try to enable persistence 0.601
Then the Welcome Screen tells me that my hardware is probably failing 26.240
When I log in to a new session 54.296
And all notifications have disappeared 12.541
Then the Tor Browser starts 25.391
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.263
After features/support/hooks.rb:330 3.736
After features/support/hooks.rb:100 0.000