Project Number Date
test_Tails_ISO_devel 3891 29 Jun 2025, 13:55

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 43:9.503 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.791
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:34.867
And I update APT using apt 12.932
And I install "python3-behave" using apt 26.448
Then the Tails Persistent Storage behave tests pass 2.544
After features/support/hooks.rb:330 0.726
After features/support/hooks.rb:100 0.000
Tags: @product
43.648
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.357
When I log in to a new session without activating the Persistent Storage 24.151
Then Tails is running from USB drive "__internal" 0.710
And persistence is disabled 0.460
But a Tails persistence partition exists on USB drive "__internal" 7.968
After features/support/hooks.rb:330 1.922
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.728
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 12.275
Then Tails is running from USB drive "__internal" 0.487
When I create a file in the Persistent directory 0.175
And I create a persistent partition with the default settings 25.487
Then the file I created was copied to the Persistent Storage 2.216
When I shutdown Tails and wait for the computer to power off 13.644
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.973
Then persistence for "Persistent" is active 0.406
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.594
After features/support/hooks.rb:100 0.014
Tags: @product
1:4.370
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 10.956
And the system is very low on memory 3.299
When I create a file in the Persistent directory 0.744
When I try to create a persistent partition 28.237
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.203
When I close the Persistent Storage app 2.792
And I free up some memory 3.621
And I create a persistent partition with the default settings 13.988
Then the file I created was copied to the Persistent Storage 0.528
After features/support/hooks.rb:330 2.829
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.137
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.041
Then Tails is running from USB drive "__internal" 0.465
And all tps features are active 2.484
And all persistent directories have safe access rights 3.228
When I disable the first tps feature 7.214
Then all tps features but the first one are active 1.967
And I shutdown Tails and wait for the computer to power off 13.438
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.130
Then all tps features but the first one are active 2.166
After features/support/hooks.rb:330 1.478
After features/support/hooks.rb:100 0.022
Tags: @product
21.188
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.155
Then persistence for "Persistent" is active 0.156
And I create a file in the Persistent directory 0.155
Then the file I created was copied to the Persistent Storage 0.305
When I disable the first tps feature 6.989
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.164
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.479
After features/support/hooks.rb:100 0.000
Tags: @product
22.326
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.637
Then persistence for "Persistent" is active 0.102
When I create a file in the Persistent directory 0.109
And I disable the first tps feature 7.056
And I delete the data of the Persistent Folder feature 4.366
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.650
After features/support/hooks.rb:100 0.000
Tags: @product
1:25.427
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 24.919
And the network is plugged 0.075
And Tor is ready 24.129
And I take note of which tps features are available 0.562
When I write some files expected to persist 1.650
And I shutdown Tails and wait for the computer to power off 8.242
# 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" 25.848
After features/support/hooks.rb:330 0.201
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.184
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 10.846
And the network is plugged 0.089
And Tor is ready 20.954
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.211
And I shutdown Tails and wait for the computer to power off 10.051
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.800
And I capture all network traffic 0.010
And the network is plugged 0.082
And Tor is ready 20.429
And I switch to the "persistent-con-current" NetworkManager connection 0.418
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.202
After features/support/hooks.rb:330 1.079
After features/support/hooks.rb:100 0.078
Tags: @product
56.416
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 10.821
And I enable persistence creation in Tails Greeter 1.139
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.817
Then I create a persistent partition with the default settings using the wizard that was already open 23.638
After features/support/hooks.rb:330 2.742
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.075
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 11.530
When I enable persistence 37.702
Then no persistent Greeter options were restored 14.245
When I set all Greeter options to non-default values 26.769
And I log in to a new session in German (de) after having activated the Persistent Storage 53.870
Then all Greeter options are set to non-default values 0.530
When I cold reboot the computer 7.465
And the computer reboots Tails 1:7.105
Given I enable persistence 17.476
Then persistent Greeter options were restored 0.622
When I log in to a new session after having activated the Persistent Storage 42.066
Then all Greeter options are set to non-default values 0.690
After features/support/hooks.rb:330 1.988
After features/support/hooks.rb:100 0.009
Tags: @product
4:12.125
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.447
# 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.025
And I shutdown Tails and wait for the computer to power off 13.235
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.814
And I change the passphrase of the Persistent Storage back to the original 43.601
After features/support/hooks.rb:330 4.067
After features/support/hooks.rb:100 0.010
Tags: @product
1:12.138
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 11.038
And I log in to a new session without activating the Persistent Storage 24.525
Then persistence is disabled 0.969
But a Tails persistence partition exists on USB drive "__internal" 11.667
And all notifications have disappeared 13.814
When I delete the persistent partition 8.987
Then there is no persistence partition on USB drive "__internal" 1.134
After features/support/hooks.rb:330 1.994
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.839
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.607
When I write some dotfile expected to persist 0.081
And I shutdown Tails and wait for the computer to power off 12.303
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.433
Then the expected persistent dotfile is present in the filesystem 0.413
After features/support/hooks.rb:330 1.731
After features/support/hooks.rb:100 0.029
Tags: @product
1:47.724
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.557
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.125
When I try to enable persistence 0.308
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.395
When I log in to a new session after having activated the Persistent Storage 48.685
And all notifications have disappeared 8.044
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.791
And all tps features are enabled 3.486
And all tps features but the first one are active 2.328
After features/support/hooks.rb:330 2.126
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.871
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 3:31.168
And I enable persistence 30.351
And I log in to a new session after having activated the Persistent Storage 49.523
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.434
And persistence is enabled 3.393
After features/support/hooks.rb:330 1.983
After features/support/hooks.rb:100 0.000
Tags: @product
30.471
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 8.902
And I enable persistence but something goes wrong during the LUKS header upgrade 20.775
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.793
After features/support/hooks.rb:330 0.856
After features/support/hooks.rb:100 0.000
Tags: @product
47.618
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.625
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.044
When I enable persistence 28.885
Then the filesystem of the Persistent Storage was repaired 0.078
And persistence is successfully enabled 2.983
After features/support/hooks.rb:330 1.719
After features/support/hooks.rb:100 0.000
Tags: @product
52.667
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.763
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.375
When I try to enable persistence 0.665
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.158
When I repair the filesystem of the Persistent Storage 2.775
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.685
And the filesystem of the Persistent Storage was repaired 4.620
When I close the filesystem repair dialog 1.255
Then persistence is successfully enabled 2.368
After features/support/hooks.rb:330 1.879
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.518
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.415
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 0.293
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.237
When I repair the filesystem of the Persistent Storage 1.393
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.890
When I log in to a new session 41.576
And all notifications have disappeared 8.760
# 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.640
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.309
When I close the "whisperback" window 1.582
Then the Tor Browser starts 25.215
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.105
After features/support/hooks.rb:330 2.776
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.232
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 9.796
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.108
And Tails detects disk read failures on the boot device 1.591
When I try to enable persistence 0.447
Then the Welcome Screen tells me that my hardware is probably failing 22.337
When I log in to a new session 51.049
And all notifications have disappeared 8.608
Then the Tor Browser starts 24.269
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.023
After features/support/hooks.rb:330 2.923
After features/support/hooks.rb:100 0.000