Project Number Date
test_Tails_ISO_stable 5707 10 Jun 2025, 18:21

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 46:20.952 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.235
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.558
And I update APT using apt 13.866
And I install "python3-behave" using apt 28.142
Then the Tails Persistent Storage behave tests pass 2.668
After features/support/hooks.rb:330 0.906
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.567
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.727
When I log in to a new session without activating the Persistent Storage 27.236
Then Tails is running from USB drive "__internal" 1.403
And persistence is disabled 0.728
But a Tails persistence partition exists on USB drive "__internal" 17.471
After features/support/hooks.rb:330 1.959
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.382
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 14.283
Then Tails is running from USB drive "__internal" 0.746
When I create a file in the Persistent directory 0.152
And I create a persistent partition with the default settings 23.563
Then the file I created was copied to the Persistent Storage 2.591
When I shutdown Tails and wait for the computer to power off 11.489
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.976
Then persistence for "Persistent" is active 0.493
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:330 1.627
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.160
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 without a persistent partition and logged in 12.395
And the system is very low on memory 8.245
When I create a file in the Persistent directory 0.612
When I try to create a persistent partition 26.574
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.229
When I close the Persistent Storage app 2.623
And I free up some memory 3.457
And I create a persistent partition with the default settings 13.726
Then the file I created was copied to the Persistent Storage 0.295
After features/support/hooks.rb:330 2.348
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.503
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 14.014
Then Tails is running from USB drive "__internal" 0.882
And all tps features are active 2.705
And all persistent directories have safe access rights 3.459
When I disable the first tps feature 6.031
Then all tps features but the first one are active 2.230
And I shutdown Tails and wait for the computer to power off 15.834
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.869
Then all tps features but the first one are active 2.475
After features/support/hooks.rb:330 1.346
After features/support/hooks.rb:100 0.012
Tags: @product
20.768
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.031
Then persistence for "Persistent" is active 0.258
And I create a file in the Persistent directory 0.133
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.835
Then persistence for "Persistent" is not active 0.095
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.125
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.736
After features/support/hooks.rb:100 0.000
Tags: @product
19.671
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.272
Then persistence for "Persistent" is active 0.093
When I create a file in the Persistent directory 0.157
And I disable the first tps feature 5.420
And I delete the data of the Persistent Folder feature 3.673
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:330 1.721
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.971
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.984
And the network is plugged 0.095
And Tor is ready 22.764
And I take note of which tps features are available 0.714
When I write some files expected to persist 1.638
And I shutdown Tails and wait for the computer to power off 8.731
# 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.043
After features/support/hooks.rb:330 0.095
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.883
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 10.018
And the network is plugged 0.094
And Tor is ready 20.543
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.272
And I shutdown Tails and wait for the computer to power off 9.166
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.159
And I capture all network traffic 0.017
And the network is plugged 0.395
And Tor is ready 20.566
And I switch to the "persistent-con-current" NetworkManager connection 0.361
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.205
After features/support/hooks.rb:330 0.684
After features/support/hooks.rb:100 0.058
Tags: @product
1:7.906
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 without a persistent partition and stopped at Tails Greeter's login screen 18.574
And I enable persistence creation in Tails Greeter 1.119
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.087
Then I create a persistent partition with the default settings using the wizard that was already open 26.125
After features/support/hooks.rb:330 2.967
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.663
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 14.664
When I enable persistence 57.463
Then no persistent Greeter options were restored 14.178
When I set all Greeter options to non-default values 30.582
And I log in to a new session in German (de) after having activated the Persistent Storage 46.837
Then all Greeter options are set to non-default values 0.504
When I cold reboot the computer 7.812
And the computer reboots Tails 1:11.678
Given I enable persistence 19.415
Then persistent Greeter options were restored 0.670
When I log in to a new session after having activated the Persistent Storage 41.790
Then all Greeter options are set to non-default values 1.062
After features/support/hooks.rb:330 2.252
After features/support/hooks.rb:100 0.010
Tags: @product
4:21.906
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.255
# 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.362
And I shutdown Tails and wait for the computer to power off 15.210
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:34.721
And I change the passphrase of the Persistent Storage back to the original 41.357
After features/support/hooks.rb:330 4.255
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.790
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 and stopped at Tails Greeter's login screen 11.255
And I log in to a new session without activating the Persistent Storage 23.147
Then persistence is disabled 0.447
But a Tails persistence partition exists on USB drive "__internal" 14.010
And all notifications have disappeared 8.434
When I delete the persistent partition 7.485
Then there is no persistence partition on USB drive "__internal" 1.010
After features/support/hooks.rb:330 1.881
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.455
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.706
When I write some dotfile expected to persist 0.061
And I shutdown Tails and wait for the computer to power off 15.651
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.656
Then the expected persistent dotfile is present in the filesystem 0.379
After features/support/hooks.rb:330 1.805
After features/support/hooks.rb:100 0.007
Tags: @product
1:51.473
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.746
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.304
When I try to enable persistence 0.294
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.134
When I log in to a new session after having activated the Persistent Storage 41.460
And all notifications have disappeared 8.900
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.992
And all tps features are enabled 3.671
And all tps features but the first one are active 1.968
After features/support/hooks.rb:330 2.640
After features/support/hooks.rb:100 0.000
Tags: @product
6:50.069
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 5:23.892
And I enable persistence 32.577
And I log in to a new session after having activated the Persistent Storage 46.077
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.843
And persistence is enabled 3.677
After features/support/hooks.rb:330 1.859
After features/support/hooks.rb:100 0.000
Tags: @product
36.993
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.568
And I enable persistence but something goes wrong during the LUKS header upgrade 26.585
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.838
After features/support/hooks.rb:330 0.812
After features/support/hooks.rb:100 0.000
Tags: @product
51.180
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.542
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.779
When I enable persistence 33.190
Then the filesystem of the Persistent Storage was repaired 0.082
And persistence is successfully enabled 2.586
After features/support/hooks.rb:330 1.648
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.339
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 and stopped at Tails Greeter's login screen 9.906
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.933
When I try to enable persistence 0.424
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.932
When I repair the filesystem of the Persistent Storage 5.101
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.626
And the filesystem of the Persistent Storage was repaired 4.334
When I close the filesystem repair dialog 5.527
Then persistence is successfully enabled 1.552
After features/support/hooks.rb:330 2.273
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:12.537
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 and stopped at Tails Greeter's login screen 9.837
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.122
When I try to enable persistence 0.298
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.995
When I repair the filesystem of the Persistent Storage 1.773
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.357
When I log in to a new session 47.133
And all notifications have disappeared 10.989
# 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.565
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.877
When I close the "whisperback" window 1.518
Then the Tor Browser starts 21.658
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.408
After features/support/hooks.rb:330 3.000
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.491
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 10.515
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.370
And Tails detects disk read failures on the boot device 1.703
When I try to enable persistence 0.465
Then the Welcome Screen tells me that my hardware is probably failing 22.272
When I log in to a new session 47.632
And all notifications have disappeared 10.187
Then the Tor Browser starts 23.517
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.826
After features/support/hooks.rb:330 1.980
After features/support/hooks.rb:100 0.000