Project Number Date
test_Tails_ISO_devel 4128 18 Dec 2025, 12:48

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 19:8.993 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:28.887
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:16.092
And I update APT using apt 5.622
And I install "python3-behave" using apt 6.289
Then the Tails Persistent Storage behave tests pass 0.882
After features/support/hooks.rb:331 0.918
After features/support/hooks.rb:100 0.000
Tags: @product
27.007
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.420
When I log in to a new session without activating the Persistent Storage 14.366
Then Tails is running from USB drive "__internal" 0.244
And persistence is disabled 0.092
But a Tails persistence partition exists on USB drive "__internal" 3.884
After features/support/hooks.rb:331 0.878
After features/support/hooks.rb:100 0.000
Tags: @product
1:29.582
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.511
Then Tails is running from USB drive "__internal" 0.276
When I create a file in the Persistent directory 0.092
And I create a persistent partition with the default settings 16.413
Then the file I created was copied to the Persistent Storage 0.468
When I shutdown Tails and wait for the computer to power off 5.424
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 58.137
Then persistence for "Persistent" is active 0.205
And the file I created in the Persistent directory exists 0.053
After features/support/hooks.rb:331 0.702
After features/support/hooks.rb:100 0.024
Tags: @product
27.669
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Given I have started Tails without network from a USB drive without a persistent partition and logged in 7.414
And the system is very low on memory 3.204
When I create a file in the Persistent directory 0.128
When I try to create a persistent partition 4.805
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.098
When I close the Persistent Storage app 2.422
And I free up some memory 0.766
And I create a persistent partition with the default settings 8.747
Then the file I created was copied to the Persistent Storage 0.080
After features/support/hooks.rb:331 0.546
After features/support/hooks.rb:100 0.000
Tags: @product
1:24.878
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.969
Then Tails is running from USB drive "__internal" 0.373
And all tps features are active 1.104
And all persistent directories have safe access rights 1.891
When I disable the first tps feature 2.486
Then all tps features but the first one are active 1.066
And I shutdown Tails and wait for the computer to power off 9.248
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 59.704
Then all tps features but the first one are active 1.033
After features/support/hooks.rb:331 0.789
After features/support/hooks.rb:100 0.044
Tags: @product
12.725
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.424
Then persistence for "Persistent" is active 0.098
And I create a file in the Persistent directory 0.057
Then the file I created was copied to the Persistent Storage 0.057
When I disable the first tps feature 2.452
Then persistence for "Persistent" is not active 0.055
And the Persistent directory does not exist 0.034
When I enable the first tps feature 2.451
Then persistence for "Persistent" is active 0.051
And the file I created in the Persistent directory exists 0.041
After features/support/hooks.rb:331 0.997
After features/support/hooks.rb:100 0.000
Tags: @product
12.712
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.124
Then persistence for "Persistent" is active 0.064
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 2.542
And I delete the data of the Persistent Folder feature 2.834
Then the file I created does not exist on the Persistent Storage 0.075
After features/support/hooks.rb:331 1.089
After features/support/hooks.rb:100 0.000
Tags: @product
39.616
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.195
And the network is plugged 0.015
And Tor is ready 9.869
And I take note of which tps features are available 0.247
When I write some files expected to persist 1.175
And I shutdown Tails and wait for the computer to power off 9.370
# 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" 11.741
After features/support/hooks.rb:331 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
1:37.285
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.287
And the network is plugged 0.015
And Tor is ready 9.676
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.111
And I shutdown Tails and wait for the computer to power off 9.315
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 58.489
And I capture all network traffic 0.003
And the network is plugged 0.022
And Tor is ready 11.879
And I switch to the "persistent-con-current" NetworkManager connection 0.348
And the 1st network device has a spoofed MAC address configured 0.053
And no network device leaked the real MAC address 0.082
After features/support/hooks.rb:331 0.997
After features/support/hooks.rb:100 0.056
Tags: @product
35.449
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 8.283
And I enable persistence creation in Tails Greeter 1.079
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.755
Then I create a persistent partition with the default settings using the wizard that was already open 13.331
After features/support/hooks.rb:331 1.333
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.571
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.555
When I enable persistence 12.430
Then no persistent Greeter options were restored 13.267
When I set all Greeter options to non-default values 38.370
And I log in to a new session in German (de) after having activated the Persistent Storage 25.587
Then all Greeter options are set to non-default values 0.148
When I cold reboot the computer 6.262
And the computer reboots Tails 34.661
Given I enable persistence 7.274
Then persistent Greeter options were restored 0.391
When I log in to a new session after having activated the Persistent Storage 8.456
Then all Greeter options are set to non-default values 0.165
After features/support/hooks.rb:331 0.753
After features/support/hooks.rb:100 0.007
Tags: @product
2:3.594
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.809
# 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 28.473
And I shutdown Tails and wait for the computer to power off 8.002
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 58.845
And I change the passphrase of the Persistent Storage back to the original 20.463
After features/support/hooks.rb:331 1.019
After features/support/hooks.rb:100 0.007
Tags: @product
36.244
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.925
And I log in to a new session without activating the Persistent Storage 13.217
Then persistence is disabled 0.102
But a Tails persistence partition exists on USB drive "__internal" 4.080
And all notifications have disappeared 7.915
When I delete the persistent partition 2.662
Then there is no persistence partition on USB drive "__internal" 0.340
After features/support/hooks.rb:331 0.960
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.221
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.585
When I write some dotfile expected to persist 0.046
And I shutdown Tails and wait for the computer to power off 5.361
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 59.004
Then the expected persistent dotfile is present in the filesystem 0.223
After features/support/hooks.rb:331 0.489
After features/support/hooks.rb:100 0.007
Tags: @product
38.473
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.344
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.053
When I try to enable persistence 1.173
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 9.455
When I log in to a new session after having activated the Persistent Storage 8.941
And all notifications have disappeared 8.219
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.286
And all tps features are enabled 0.934
And all tps features but the first one are active 1.064
After features/support/hooks.rb:331 0.758
After features/support/hooks.rb:100 0.000
Tags: @product
58.162
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
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 29.066
And I enable persistence 17.476
And I log in to a new session after having activated the Persistent Storage 9.412
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.601
And persistence is enabled 1.605
After features/support/hooks.rb:331 0.638
After features/support/hooks.rb:100 0.000
Tags: @product
21.173
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
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.007
And I enable persistence but something goes wrong during the LUKS header upgrade 13.636
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.529
After features/support/hooks.rb:331 0.576
After features/support/hooks.rb:100 0.000
Tags: @product
23.759
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.505
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.337
When I enable persistence 6.264
Then the filesystem of the Persistent Storage was repaired 0.052
And persistence is successfully enabled 1.599
After features/support/hooks.rb:331 0.973
After features/support/hooks.rb:100 0.000
Tags: @product
22.570
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.385
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.545
When I try to enable persistence 1.254
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.824
When I repair the filesystem of the Persistent Storage 1.217
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.169
And the filesystem of the Persistent Storage was repaired 0.069
When I close the filesystem repair dialog 1.182
Then persistence is successfully enabled 0.922
After features/support/hooks.rb:331 1.025
After features/support/hooks.rb:100 0.000
Tags: @product @doc
40.469
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.443
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.075
When I try to enable persistence 1.174
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.003
When I repair the filesystem of the Persistent Storage 1.193
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.026
When I log in to a new session 10.195
And all notifications have disappeared 9.019
# 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.152
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.082
When I close the "whisperback" window 1.173
Then the Tor Browser starts 1.191
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.736
After features/support/hooks.rb:331 0.822
After features/support/hooks.rb:100 0.000
Tags: @product @doc
40.937
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.478
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.379
And Tails detects disk read failures on the boot device 1.306
When I try to enable persistence 2.181
Then the Welcome Screen tells me that my hardware is probably failing 2.900
When I log in to a new session 9.473
And all notifications have disappeared 7.856
Then the Tor Browser starts 1.351
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.009
After features/support/hooks.rb:331 0.826
After features/support/hooks.rb:100 0.000