Project Number Date
test_Tails_ISO_devel 3868 14 Jun 2025, 13:45

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 46:36.493 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:34.819
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:48.319
And I update APT using apt 17.102
And I install "python3-behave" using apt 26.676
Then the Tails Persistent Storage behave tests pass 2.721
After features/support/hooks.rb:330 0.605
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.771
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.186
When I log in to a new session without activating the Persistent Storage 29.285
Then Tails is running from USB drive "__internal" 0.623
And persistence is disabled 0.724
But a Tails persistence partition exists on USB drive "__internal" 20.951
After features/support/hooks.rb:330 2.570
After features/support/hooks.rb:100 0.000
Tags: @product
3:34.994
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 20.088
Then Tails is running from USB drive "__internal" 0.565
When I create a file in the Persistent directory 0.200
And I create a persistent partition with the default settings 27.578
Then the file I created was copied to the Persistent Storage 2.167
When I shutdown Tails and wait for the computer to power off 17.168
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.576
Then persistence for "Persistent" is active 0.566
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 2.298
After features/support/hooks.rb:100 0.018
Tags: @product
1:13.390
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.697
And the system is very low on memory 6.471
When I create a file in the Persistent directory 1.706
When I try to create a persistent partition 29.902
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.450
When I close the Persistent Storage app 2.965
And I free up some memory 4.066
And I create a persistent partition with the default settings 14.865
Then the file I created was copied to the Persistent Storage 0.262
After features/support/hooks.rb:330 4.397
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.540
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 19.323
Then Tails is running from USB drive "__internal" 0.658
And all tps features are active 3.071
And all persistent directories have safe access rights 2.934
When I disable the first tps feature 6.800
Then all tps features but the first one are active 2.413
And I shutdown Tails and wait for the computer to power off 20.543
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.478
Then all tps features but the first one are active 3.316
After features/support/hooks.rb:330 1.447
After features/support/hooks.rb:100 0.007
Tags: @product
24.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 12.996
Then persistence for "Persistent" is active 0.425
And I create a file in the Persistent directory 0.289
Then the file I created was copied to the Persistent Storage 0.396
When I disable the first tps feature 6.855
Then persistence for "Persistent" is not active 0.098
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.443
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:330 1.588
After features/support/hooks.rb:100 0.000
Tags: @product
23.059
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.873
Then persistence for "Persistent" is active 0.123
When I create a file in the Persistent directory 0.089
And I disable the first tps feature 6.660
And I delete the data of the Persistent Folder feature 4.038
Then the file I created does not exist on the Persistent Storage 0.273
After features/support/hooks.rb:330 3.059
After features/support/hooks.rb:100 0.000
Tags: @product
1:20.616
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.135
And the network is plugged 0.072
And Tor is ready 24.920
And I take note of which tps features are available 1.263
When I write some files expected to persist 3.289
And I shutdown Tails and wait for the computer to power off 9.223
# 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" 30.711
After features/support/hooks.rb:330 0.114
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.497
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.313
And the network is plugged 0.070
And Tor is ready 20.228
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 11.633
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.473
And I capture all network traffic 0.007
And the network is plugged 0.096
And Tor is ready 23.749
And I switch to the "persistent-con-current" NetworkManager connection 0.417
And the 1st network device has a spoofed MAC address configured 0.132
And no network device leaked the real MAC address 0.166
After features/support/hooks.rb:330 0.637
After features/support/hooks.rb:100 0.041
Tags: @product
1:5.559
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 14.127
And I enable persistence creation in Tails Greeter 1.602
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.975
Then I create a persistent partition with the default settings using the wizard that was already open 26.854
After features/support/hooks.rb:330 4.145
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.558
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 17.417
When I enable persistence 51.279
Then no persistent Greeter options were restored 15.116
When I set all Greeter options to non-default values 32.675
And I log in to a new session in German (de) after having activated the Persistent Storage 49.997
Then all Greeter options are set to non-default values 0.779
When I cold reboot the computer 10.212
And the computer reboots Tails 1:9.764
Given I enable persistence 22.595
Then persistent Greeter options were restored 0.692
When I log in to a new session after having activated the Persistent Storage 41.240
Then all Greeter options are set to non-default values 0.785
After features/support/hooks.rb:330 1.713
After features/support/hooks.rb:100 0.023
Tags: @product
4:29.803
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.268
# 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 44.347
And I shutdown Tails and wait for the computer to power off 14.937
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:32.424
And I change the passphrase of the Persistent Storage back to the original 46.825
After features/support/hooks.rb:330 3.090
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.721
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.723
And I log in to a new session without activating the Persistent Storage 23.475
Then persistence is disabled 0.945
But a Tails persistence partition exists on USB drive "__internal" 12.998
And all notifications have disappeared 11.677
When I delete the persistent partition 6.090
Then there is no persistence partition on USB drive "__internal" 0.811
After features/support/hooks.rb:330 1.308
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.857
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.475
When I write some dotfile expected to persist 0.058
And I shutdown Tails and wait for the computer to power off 11.170
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.445
Then the expected persistent dotfile is present in the filesystem 0.707
After features/support/hooks.rb:330 1.301
After features/support/hooks.rb:100 0.019
Tags: @product
1:50.059
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.907
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.116
When I try to enable persistence 0.261
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 42.310
When I log in to a new session after having activated the Persistent Storage 38.540
And all notifications have disappeared 8.199
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.162
And all tps features are enabled 3.115
And all tps features but the first one are active 2.445
After features/support/hooks.rb:330 2.289
After features/support/hooks.rb:100 0.000
Tags: @product
5:35.612
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:55.690
And I enable persistence 43.403
And I log in to a new session after having activated the Persistent Storage 50.994
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.660
And persistence is enabled 2.864
After features/support/hooks.rb:330 1.978
After features/support/hooks.rb:100 0.000
Tags: @product
34.435
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.584
And I enable persistence but something goes wrong during the LUKS header upgrade 22.911
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.939
After features/support/hooks.rb:330 0.703
After features/support/hooks.rb:100 0.000
Tags: @product
52.496
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.446
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.720
When I enable persistence 31.316
Then the filesystem of the Persistent Storage was repaired 0.101
And persistence is successfully enabled 4.911
After features/support/hooks.rb:330 2.430
After features/support/hooks.rb:100 0.000
Tags: @product
57.760
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.645
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.613
When I try to enable persistence 0.543
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.393
When I repair the filesystem of the Persistent Storage 3.581
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.918
And the filesystem of the Persistent Storage was repaired 3.203
When I close the filesystem repair dialog 1.478
Then persistence is successfully enabled 2.382
After features/support/hooks.rb:330 1.889
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.033
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.294
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.088
When I try to enable persistence 0.276
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 42.333
When I repair the filesystem of the Persistent Storage 1.306
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 32.899
And all notifications have disappeared 8.053
# 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" 1.140
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.585
When I close the "whisperback" window 2.139
Then the Tor Browser starts 23.746
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.089
After features/support/hooks.rb:330 2.727
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:10.176
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.286
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.046
And Tails detects disk read failures on the boot device 1.733
When I try to enable persistence 0.392
Then the Welcome Screen tells me that my hardware is probably failing 23.382
When I log in to a new session 57.204
And all notifications have disappeared 7.327
Then the Tor Browser starts 20.606
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.197
After features/support/hooks.rb:330 2.157
After features/support/hooks.rb:100 0.000