Project Number Date
test_Tails_ISO_devel 3883 24 Jun 2025, 13:33

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 48:33.070 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:56.073
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:0.873
And I update APT using apt 20.788
And I install "python3-behave" using apt 30.226
Then the Tails Persistent Storage behave tests pass 4.184
After features/support/hooks.rb:330 2.208
After features/support/hooks.rb:100 0.000
Tags: @product
58.974
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 14.531
When I log in to a new session without activating the Persistent Storage 30.343
Then Tails is running from USB drive "__internal" 0.626
And persistence is disabled 0.344
But a Tails persistence partition exists on USB drive "__internal" 13.127
After features/support/hooks.rb:330 3.297
After features/support/hooks.rb:100 0.000
Tags: @product
4:4.130
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 without a persistent partition and logged in 18.211
Then Tails is running from USB drive "__internal" 0.489
When I create a file in the Persistent directory 0.172
And I create a persistent partition with the default settings 27.421
Then the file I created was copied to the Persistent Storage 2.341
When I shutdown Tails and wait for the computer to power off 16.554
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:58.355
Then persistence for "Persistent" is active 0.437
And the file I created in the Persistent directory exists 0.145
After features/support/hooks.rb:330 1.526
After features/support/hooks.rb:100 0.050
Tags: @product
1:2.348
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.446
And the system is very low on memory 3.805
When I create a file in the Persistent directory 1.622
When I try to create a persistent partition 21.029
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.845
When I close the Persistent Storage app 2.588
And I free up some memory 3.105
And I create a persistent partition with the default settings 15.638
Then the file I created was copied to the Persistent Storage 0.266
After features/support/hooks.rb:330 2.246
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.963
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 16.399
Then Tails is running from USB drive "__internal" 0.559
And all tps features are active 4.425
And all persistent directories have safe access rights 6.051
When I disable the first tps feature 6.657
Then all tps features but the first one are active 2.028
And I shutdown Tails and wait for the computer to power off 15.294
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.186
Then all tps features but the first one are active 3.359
After features/support/hooks.rb:330 2.011
After features/support/hooks.rb:100 0.015
Tags: @product
24.266
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 persistent partition enabled and logged in 11.716
Then persistence for "Persistent" is active 0.367
And I create a file in the Persistent directory 0.465
Then the file I created was copied to the Persistent Storage 0.435
When I disable the first tps feature 7.696
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.277
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.355
After features/support/hooks.rb:100 0.000
Tags: @product
23.094
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.580
Then persistence for "Persistent" is active 0.246
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 7.245
And I delete the data of the Persistent Folder feature 3.848
Then the file I created does not exist on the Persistent Storage 0.086
After features/support/hooks.rb:330 1.557
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.815
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.684
And the network is plugged 0.108
And Tor is ready 24.306
And I take note of which tps features are available 0.738
When I write some files expected to persist 1.897
And I shutdown Tails and wait for the computer to power off 11.147
# 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" 28.931
After features/support/hooks.rb:330 0.125
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.204
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.019
And the network is plugged 0.075
And Tor is ready 21.261
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.209
And I shutdown Tails and wait for the computer to power off 11.579
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.145
And I capture all network traffic 0.022
And the network is plugged 0.116
And Tor is ready 22.160
And I switch to the "persistent-con-current" NetworkManager connection 0.329
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.204
After features/support/hooks.rb:330 1.094
After features/support/hooks.rb:100 0.062
Tags: @product
1:8.598
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 without a persistent partition and stopped at Tails Greeter's login screen 14.745
And I enable persistence creation in Tails Greeter 1.363
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.299
Then I create a persistent partition with the default settings using the wizard that was already open 26.189
After features/support/hooks.rb:330 3.804
After features/support/hooks.rb:100 0.000
Tags: @product
5:51.800
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 42.450
When I enable persistence 45.928
Then no persistent Greeter options were restored 16.036
When I set all Greeter options to non-default values 40.297
And I log in to a new session in German (de) after having activated the Persistent Storage 1:0.530
Then all Greeter options are set to non-default values 0.631
When I cold reboot the computer 7.831
And the computer reboots Tails 1:13.221
Given I enable persistence 22.124
Then persistent Greeter options were restored 0.597
When I log in to a new session after having activated the Persistent Storage 41.326
Then all Greeter options are set to non-default values 0.824
After features/support/hooks.rb:330 1.890
After features/support/hooks.rb:100 0.047
Tags: @product
4:24.003
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 12.390
# 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.229
And I shutdown Tails and wait for the computer to power off 16.117
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:33.545
And I change the passphrase of the Persistent Storage back to the original 40.721
After features/support/hooks.rb:330 5.862
After features/support/hooks.rb:100 0.011
Tags: @product
1:8.619
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 12.088
And I log in to a new session without activating the Persistent Storage 26.630
Then persistence is disabled 0.502
But a Tails persistence partition exists on USB drive "__internal" 11.460
And all notifications have disappeared 11.204
When I delete the persistent partition 5.796
Then there is no persistence partition on USB drive "__internal" 0.937
After features/support/hooks.rb:330 1.548
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.312
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 13.141
When I write some dotfile expected to persist 0.400
And I shutdown Tails and wait for the computer to power off 11.044
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.847
Then the expected persistent dotfile is present in the filesystem 0.877
After features/support/hooks.rb:330 2.301
After features/support/hooks.rb:100 0.022
Tags: @product
2:0.642
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.432
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.110
When I try to enable persistence 1.329
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.902
When I log in to a new session after having activated the Persistent Storage 52.858
And all notifications have disappeared 7.833
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.242
And all tps features are enabled 4.407
And all tps features but the first one are active 2.524
After features/support/hooks.rb:330 1.920
After features/support/hooks.rb:100 0.000
Tags: @product
5:43.455
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 with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:2.590
And I enable persistence 40.222
And I log in to a new session after having activated the Persistent Storage 56.266
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.325
And persistence is enabled 3.050
After features/support/hooks.rb:330 1.983
After features/support/hooks.rb:100 0.000
Tags: @product
33.658
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.084
And I enable persistence but something goes wrong during the LUKS header upgrade 22.488
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.084
After features/support/hooks.rb:330 1.001
After features/support/hooks.rb:100 0.000
Tags: @product
56.854
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 10.193
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.123
When I enable persistence 32.922
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 5.521
After features/support/hooks.rb:330 1.931
After features/support/hooks.rb:100 0.000
Tags: @product
59.859
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.029
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.026
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.345
When I try to enable persistence 0.773
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.326
When I repair the filesystem of the Persistent Storage 1.800
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.360
And the filesystem of the Persistent Storage was repaired 4.353
When I close the filesystem repair dialog 1.652
Then persistence is successfully enabled 2.220
After features/support/hooks.rb:330 1.739
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:14.054
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 persistent partition and stopped at Tails Greeter's login screen 10.061
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.102
When I try to enable persistence 0.284
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.366
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.080
When I log in to a new session 45.857
And all notifications have disappeared 12.346
# 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.384
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.938
When I close the "whisperback" window 1.675
Then the Tor Browser starts 22.303
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.388
After features/support/hooks.rb:330 3.923
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:16.338
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 9.830
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.985
And Tails detects disk read failures on the boot device 0.648
When I try to enable persistence 1.595
Then the Welcome Screen tells me that my hardware is probably failing 26.197
When I log in to a new session 53.442
And all notifications have disappeared 10.716
Then the Tor Browser starts 21.712
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 4.209
After features/support/hooks.rb:330 3.227
After features/support/hooks.rb:100 0.000