Project Number Date
test_Tails_ISO_devel 3879 22 Jun 2025, 13:47

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 45:5.483 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:34.512
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:47.956
And I update APT using apt 15.656
And I install "python3-behave" using apt 26.465
Then the Tails Persistent Storage behave tests pass 4.434
After features/support/hooks.rb:330 1.611
After features/support/hooks.rb:100 0.000
Tags: @product
54.509
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 13.159
When I log in to a new session without activating the Persistent Storage 27.212
Then Tails is running from USB drive "__internal" 0.836
And persistence is disabled 0.528
But a Tails persistence partition exists on USB drive "__internal" 12.773
After features/support/hooks.rb:330 2.707
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.643
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 logged in 13.282
Then Tails is running from USB drive "__internal" 1.533
When I create a file in the Persistent directory 0.280
And I create a persistent partition with the default settings 27.182
Then the file I created was copied to the Persistent Storage 2.254
When I shutdown Tails and wait for the computer to power off 15.705
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.931
Then persistence for "Persistent" is active 0.413
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:330 1.128
After features/support/hooks.rb:100 0.016
Tags: @product
1:1.551
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 without a persistent partition and logged in 11.003
And the system is very low on memory 4.407
When I create a file in the Persistent directory 1.010
When I try to create a persistent partition 24.228
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.243
When I close the Persistent Storage app 2.778
And I free up some memory 2.132
And I create a persistent partition with the default settings 15.431
Then the file I created was copied to the Persistent Storage 0.314
After features/support/hooks.rb:330 2.446
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.557
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 13.479
Then Tails is running from USB drive "__internal" 1.071
And all tps features are active 2.729
And all persistent directories have safe access rights 2.887
When I disable the first tps feature 5.690
Then all tps features but the first one are active 2.312
And I shutdown Tails and wait for the computer to power off 15.823
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.101
Then all tps features but the first one are active 2.460
After features/support/hooks.rb:330 2.748
After features/support/hooks.rb:100 0.029
Tags: @product
23.364
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.042
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.498
Then persistence for "Persistent" is active 0.227
And I create a file in the Persistent directory 0.169
Then the file I created was copied to the Persistent Storage 0.103
When I disable the first tps feature 5.721
Then persistence for "Persistent" is not active 0.864
And the Persistent directory does not exist 0.501
When I enable the first tps feature 4.092
Then persistence for "Persistent" is active 0.112
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.661
After features/support/hooks.rb:100 0.000
Tags: @product
23.381
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.183
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 7.500
And I delete the data of the Persistent Folder feature 4.491
Then the file I created does not exist on the Persistent Storage 0.040
After features/support/hooks.rb:330 1.635
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.086
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.495
And the network is plugged 0.150
And Tor is ready 21.558
And I take note of which tps features are available 0.615
When I write some files expected to persist 1.808
And I shutdown Tails and wait for the computer to power off 8.759
# 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" 29.699
After features/support/hooks.rb:330 0.187
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.590
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 enabled and logged in 10.825
And the network is plugged 0.090
And Tor is ready 20.272
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.222
And I shutdown Tails and wait for the computer to power off 10.364
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.723
And I capture all network traffic 0.007
And the network is plugged 0.074
And Tor is ready 25.437
And I switch to the "persistent-con-current" NetworkManager connection 0.340
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.132
After features/support/hooks.rb:330 2.626
After features/support/hooks.rb:100 0.083
Tags: @product
1:7.029
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 without a persistent partition and stopped at Tails Greeter's login screen 12.402
And I enable persistence creation in Tails Greeter 1.107
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.567
Then I create a persistent partition with the default settings using the wizard that was already open 28.952
After features/support/hooks.rb:330 2.856
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.437
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.874
When I enable persistence 42.375
Then no persistent Greeter options were restored 14.520
When I set all Greeter options to non-default values 29.582
And I log in to a new session in German (de) after having activated the Persistent Storage 56.154
Then all Greeter options are set to non-default values 0.662
When I cold reboot the computer 7.729
And the computer reboots Tails 1:8.414
Given I enable persistence 19.948
Then persistent Greeter options were restored 0.880
When I log in to a new session after having activated the Persistent Storage 45.744
Then all Greeter options are set to non-default values 0.549
After features/support/hooks.rb:330 1.325
After features/support/hooks.rb:100 0.038
Tags: @product
3:57.950
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.802
# 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 39.938
And I shutdown Tails and wait for the computer to power off 14.088
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.450
And I change the passphrase of the Persistent Storage back to the original 33.670
After features/support/hooks.rb:330 3.174
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.042
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 11.628
And I log in to a new session without activating the Persistent Storage 23.653
Then persistence is disabled 0.408
But a Tails persistence partition exists on USB drive "__internal" 10.465
And all notifications have disappeared 9.875
When I delete the persistent partition 8.831
Then there is no persistence partition on USB drive "__internal" 1.179
After features/support/hooks.rb:330 2.103
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.590
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.600
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 12.150
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.401
Then the expected persistent dotfile is present in the filesystem 0.369
After features/support/hooks.rb:330 1.896
After features/support/hooks.rb:100 0.089
Tags: @product
1:50.278
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.134
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.246
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.249
When I log in to a new session after having activated the Persistent Storage 45.128
And all notifications have disappeared 7.576
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.701
And all tps features are enabled 2.945
And all tps features but the first one are active 2.067
After features/support/hooks.rb:330 1.695
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.820
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:40.870
And I enable persistence 34.999
And I log in to a new session after having activated the Persistent Storage 49.058
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.861
And persistence is enabled 4.029
After features/support/hooks.rb:330 1.635
After features/support/hooks.rb:100 0.000
Tags: @product
36.025
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 9.630
And I enable persistence but something goes wrong during the LUKS header upgrade 25.554
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.840
After features/support/hooks.rb:330 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
57.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 and stopped at Tails Greeter's login screen 10.212
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.770
When I enable persistence 35.124
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 4.301
After features/support/hooks.rb:330 2.170
After features/support/hooks.rb:100 0.000
Tags: @product
57.555
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.186
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.701
When I try to enable persistence 0.417
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.852
When I repair the filesystem of the Persistent Storage 2.700
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.436
And the filesystem of the Persistent Storage was repaired 3.495
When I close the filesystem repair dialog 1.252
Then persistence is successfully enabled 2.513
After features/support/hooks.rb:330 2.120
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:12.796
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.543
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.129
When I try to enable persistence 0.311
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.499
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 48.226
And all notifications have disappeared 10.746
# 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.652
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.628
When I close the "whisperback" window 1.679
Then the Tor Browser starts 21.045
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.981
After features/support/hooks.rb:330 4.301
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:20.262
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 10.572
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.078
And Tails detects disk read failures on the boot device 2.689
When I try to enable persistence 0.647
Then the Welcome Screen tells me that my hardware is probably failing 27.842
When I log in to a new session 54.923
And all notifications have disappeared 9.232
Then the Tor Browser starts 24.140
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.136
After features/support/hooks.rb:330 3.530
After features/support/hooks.rb:100 0.000