Project Number Date
test_Tails_ISO_stable 5752 01 Jul 2025, 09:38

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 50:5.999 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:48.427
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.050
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:58.292
And I update APT using apt 16.071
And I install "python3-behave" using apt 30.192
Then the Tails Persistent Storage behave tests pass 3.871
After features/support/hooks.rb:330 0.929
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.749
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.065
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.811
When I log in to a new session without activating the Persistent Storage 32.267
Then Tails is running from USB drive "__internal" 0.809
And persistence is disabled 0.496
But a Tails persistence partition exists on USB drive "__internal" 19.364
After features/support/hooks.rb:330 1.269
After features/support/hooks.rb:100 0.000
Tags: @product
4:0.051
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 15.148
Then Tails is running from USB drive "__internal" 0.509
When I create a file in the Persistent directory 0.157
And I create a persistent partition with the default settings 33.005
Then the file I created was copied to the Persistent Storage 2.607
When I shutdown Tails and wait for the computer to power off 13.094
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:55.146
Then persistence for "Persistent" is active 0.319
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 2.195
After features/support/hooks.rb:100 0.021
Tags: @product
1:15.284
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 13.916
And the system is very low on memory 3.514
When I create a file in the Persistent directory 1.006
When I try to create a persistent partition 31.421
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.575
When I close the Persistent Storage app 2.828
And I free up some memory 3.276
And I create a persistent partition with the default settings 18.417
Then the file I created was copied to the Persistent Storage 0.327
After features/support/hooks.rb:330 2.395
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.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 16.972
Then Tails is running from USB drive "__internal" 0.657
And all tps features are active 2.338
And all persistent directories have safe access rights 3.041
When I disable the first tps feature 8.777
Then all tps features but the first one are active 2.661
And I shutdown Tails and wait for the computer to power off 11.573
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.000
Then all tps features but the first one are active 3.780
After features/support/hooks.rb:330 2.495
After features/support/hooks.rb:100 0.009
Tags: @product
24.843
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 11.332
Then persistence for "Persistent" is active 0.116
And I create a file in the Persistent directory 0.087
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 8.550
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.093
When I enable the first tps feature 4.318
Then persistence for "Persistent" is active 0.096
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.179
After features/support/hooks.rb:100 0.000
Tags: @product
23.628
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 10.336
Then persistence for "Persistent" is active 0.377
When I create a file in the Persistent directory 0.281
And I disable the first tps feature 7.470
And I delete the data of the Persistent Folder feature 5.071
Then the file I created does not exist on the Persistent Storage 0.090
After features/support/hooks.rb:330 1.470
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.229
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.693
And the network is plugged 0.102
And Tor is ready 23.713
And I take note of which tps features are available 0.572
When I write some files expected to persist 1.739
And I shutdown Tails and wait for the computer to power off 10.080
# 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" 27.327
After features/support/hooks.rb:330 0.129
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.190
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 11.092
And the network is plugged 0.116
And Tor is ready 23.310
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.229
And I shutdown Tails and wait for the computer to power off 8.514
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.025
And I capture all network traffic 0.006
And the network is plugged 0.087
And Tor is ready 19.067
And I switch to the "persistent-con-current" NetworkManager connection 0.505
And the 1st network device has a spoofed MAC address configured 0.100
And no network device leaked the real MAC address 0.133
After features/support/hooks.rb:330 0.790
After features/support/hooks.rb:100 0.051
Tags: @product
1:5.554
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 stopped at Tails Greeter's login screen 14.150
And I enable persistence creation in Tails Greeter 1.223
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.065
Then I create a persistent partition with the default settings using the wizard that was already open 27.114
After features/support/hooks.rb:330 2.777
After features/support/hooks.rb:100 0.000
Tags: @product
5:23.028
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 14.210
When I enable persistence 43.453
Then no persistent Greeter options were restored 15.358
When I set all Greeter options to non-default values 32.660
And I log in to a new session in German (de) after having activated the Persistent Storage 1:2.565
Then all Greeter options are set to non-default values 1.087
When I cold reboot the computer 11.653
And the computer reboots Tails 1:11.521
Given I enable persistence 22.643
Then persistent Greeter options were restored 0.990
When I log in to a new session after having activated the Persistent Storage 46.214
Then all Greeter options are set to non-default values 0.668
After features/support/hooks.rb:330 1.379
After features/support/hooks.rb:100 0.010
Tags: @product
4:48.492
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.087
# 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 40.459
And I shutdown Tails and wait for the computer to power off 14.868
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:53.599
And I change the passphrase of the Persistent Storage back to the original 47.478
After features/support/hooks.rb:330 3.815
After features/support/hooks.rb:100 0.023
Tags: @product
1:8.382
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 10.546
And I log in to a new session without activating the Persistent Storage 26.486
Then persistence is disabled 1.019
But a Tails persistence partition exists on USB drive "__internal" 11.399
And all notifications have disappeared 11.058
When I delete the persistent partition 7.038
Then there is no persistence partition on USB drive "__internal" 0.834
After features/support/hooks.rb:330 1.107
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.361
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 12.920
When I write some dotfile expected to persist 0.322
And I shutdown Tails and wait for the computer to power off 9.254
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:38.315
Then the expected persistent dotfile is present in the filesystem 0.548
After features/support/hooks.rb:330 1.902
After features/support/hooks.rb:100 0.017
Tags: @product
2:9.021
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 and stopped at Tails Greeter's login screen 12.597
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.316
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 45.519
When I log in to a new session after having activated the Persistent Storage 50.410
And all notifications have disappeared 8.422
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.126
And all tps features are enabled 3.992
And all tps features but the first one are active 2.555
After features/support/hooks.rb:330 1.451
After features/support/hooks.rb:100 0.000
Tags: @product
5:43.831
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
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:58.754
And I enable persistence 41.352
And I log in to a new session after having activated the Persistent Storage 59.361
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.455
And persistence is enabled 2.907
After features/support/hooks.rb:330 1.093
After features/support/hooks.rb:100 0.000
Tags: @product
35.661
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.997
And I enable persistence but something goes wrong during the LUKS header upgrade 23.618
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.046
After features/support/hooks.rb:330 0.756
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.413
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.132
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.569
When I enable persistence 47.057
Then the filesystem of the Persistent Storage was repaired 0.189
And persistence is successfully enabled 4.464
After features/support/hooks.rb:330 3.132
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.660
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.462
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.955
When I try to enable persistence 0.731
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.421
When I repair the filesystem of the Persistent Storage 5.818
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.310
And the filesystem of the Persistent Storage was repaired 4.044
When I close the filesystem repair dialog 1.285
Then persistence is successfully enabled 1.629
After features/support/hooks.rb:330 2.204
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:52.775
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.047
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.421
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.131
When I try to enable persistence 0.309
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 47.431
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 1.888
When I log in to a new session 56.808
And all notifications have disappeared 18.002
# 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.829
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.192
When I close the "whisperback" window 3.229
Then the Tor Browser starts 25.994
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.244
After features/support/hooks.rb:330 3.100
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:46.608
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.677
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.087
And Tails detects disk read failures on the boot device 0.493
When I try to enable persistence 1.697
Then the Welcome Screen tells me that my hardware is probably failing 37.348
When I log in to a new session 1:8.234
And all notifications have disappeared 12.858
Then the Tor Browser starts 23.096
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.115
After features/support/hooks.rb:330 9.126
After features/support/hooks.rb:100 0.000