Project Number Date
test_Tails_ISO_stable 5658 19 May 2025, 16:19

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 53:37.218 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:7.418
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:23.268
And I update APT using apt 14.575
And I install "python3-behave" using apt 26.575
Then the Tails Persistent Storage behave tests pass 3.000
After features/support/hooks.rb:330 1.048
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.267
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 15.164
When I log in to a new session without activating the Persistent Storage 27.528
Then Tails is running from USB drive "__internal" 0.877
And persistence is disabled 0.375
But a Tails persistence partition exists on USB drive "__internal" 18.321
After features/support/hooks.rb:330 1.954
After features/support/hooks.rb:100 0.000
Tags: @product
3:46.223
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 21.985
Then Tails is running from USB drive "__internal" 0.793
When I create a file in the Persistent directory 0.196
And I create a persistent partition with the default settings 22.056
Then the file I created was copied to the Persistent Storage 2.446
When I shutdown Tails and wait for the computer to power off 15.328
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:42.865
Then persistence for "Persistent" is active 0.417
And the file I created in the Persistent directory exists 0.134
After features/support/hooks.rb:330 0.781
After features/support/hooks.rb:100 0.012
Tags: @product
1:18.067
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 17.453
And the system is very low on memory 4.393
When I create a file in the Persistent directory 1.326
When I try to create a persistent partition 29.890
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.390
When I close the Persistent Storage app 2.977
And I free up some memory 4.241
And I create a persistent partition with the default settings 16.917
Then the file I created was copied to the Persistent Storage 0.476
After features/support/hooks.rb:330 2.926
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.641
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 18.027
Then Tails is running from USB drive "__internal" 0.923
And all tps features are active 2.844
And all persistent directories have safe access rights 2.981
When I disable the first tps feature 6.847
Then all tps features but the first one are active 2.667
And I shutdown Tails and wait for the computer to power off 18.481
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.744
Then all tps features but the first one are active 3.124
After features/support/hooks.rb:330 1.431
After features/support/hooks.rb:100 0.010
Tags: @product
26.797
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 14.761
Then persistence for "Persistent" is active 0.112
And I create a file in the Persistent directory 0.087
Then the file I created was copied to the Persistent Storage 0.121
When I disable the first tps feature 7.752
Then persistence for "Persistent" is not active 0.097
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.649
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 2.114
After features/support/hooks.rb:100 0.000
Tags: @product
21.529
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.489
Then persistence for "Persistent" is active 0.095
When I create a file in the Persistent directory 0.094
And I disable the first tps feature 6.034
And I delete the data of the Persistent Folder feature 3.755
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:330 1.841
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.745
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 9.903
And the network is plugged 0.099
And Tor is ready 23.357
And I take note of which tps features are available 0.771
When I write some files expected to persist 1.717
And I shutdown Tails and wait for the computer to power off 9.045
# 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" 24.850
After features/support/hooks.rb:330 0.124
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.645
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.105
And the network is plugged 0.623
And Tor is ready 17.749
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.204
And I shutdown Tails and wait for the computer to power off 8.651
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.382
And I capture all network traffic 0.004
And the network is plugged 0.579
And Tor is ready 20.635
And I switch to the "persistent-con-current" NetworkManager connection 0.441
And the 1st network device has a spoofed MAC address configured 0.122
And no network device leaked the real MAC address 0.144
After features/support/hooks.rb:330 0.784
After features/support/hooks.rb:100 0.062
Tags: @product
1:48.952
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 53.031
And I enable persistence creation in Tails Greeter 1.120
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.462
Then I create a persistent partition with the default settings using the wizard that was already open 31.338
After features/support/hooks.rb:330 5.098
After features/support/hooks.rb:100 0.000
Tags: @product
5:24.288
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 24.302
When I enable persistence 41.804
Then no persistent Greeter options were restored 15.505
When I set all Greeter options to non-default values 37.598
And I log in to a new session in German (de) after having activated the Persistent Storage 1:2.625
Then all Greeter options are set to non-default values 0.632
When I cold reboot the computer 10.677
And the computer reboots Tails 1:11.364
Given I enable persistence 20.175
Then persistent Greeter options were restored 0.585
When I log in to a new session after having activated the Persistent Storage 38.463
Then all Greeter options are set to non-default values 0.552
After features/support/hooks.rb:330 1.950
After features/support/hooks.rb:100 0.010
Tags: @product
4:4.093
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.786
# 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 38.162
And I shutdown Tails and wait for the computer to power off 15.012
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.436
And I change the passphrase of the Persistent Storage back to the original 30.694
After features/support/hooks.rb:330 2.720
After features/support/hooks.rb:100 0.010
Tags: @product
1:14.810
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 19.466
And I log in to a new session without activating the Persistent Storage 24.320
Then persistence is disabled 0.420
But a Tails persistence partition exists on USB drive "__internal" 10.307
And all notifications have disappeared 12.290
When I delete the persistent partition 7.044
Then there is no persistence partition on USB drive "__internal" 0.960
After features/support/hooks.rb:330 1.908
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.016
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.048
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 11.005
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.106
Then the expected persistent dotfile is present in the filesystem 0.779
After features/support/hooks.rb:330 2.179
After features/support/hooks.rb:100 0.012
Tags: @product
2:5.362
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 11.444
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.112
When I try to enable persistence 0.456
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 40.301
When I log in to a new session after having activated the Persistent Storage 46.059
And all notifications have disappeared 8.423
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.628
And all tps features are enabled 9.920
And all tps features but the first one are active 3.015
After features/support/hooks.rb:330 4.190
After features/support/hooks.rb:100 0.000
Tags: @product
11:2.718
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 9:33.828
And I enable persistence 33.432
And I log in to a new session after having activated the Persistent Storage 50.031
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.417
And persistence is enabled 3.008
After features/support/hooks.rb:330 1.859
After features/support/hooks.rb:100 0.000
Tags: @product
37.150
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 14.433
And I enable persistence but something goes wrong during the LUKS header upgrade 21.758
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.957
After features/support/hooks.rb:330 0.823
After features/support/hooks.rb:100 0.000
Tags: @product
53.266
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 11.000
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.668
When I enable persistence 30.505
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.994
After features/support/hooks.rb:330 2.035
After features/support/hooks.rb:100 0.000
Tags: @product
49.638
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.646
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.165
When I try to enable persistence 1.528
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.665
When I repair the filesystem of the Persistent Storage 1.597
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.244
And the filesystem of the Persistent Storage was repaired 3.127
When I close the filesystem repair dialog 1.261
Then persistence is successfully enabled 1.402
After features/support/hooks.rb:330 1.774
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:15.424
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.166
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.119
When I try to enable persistence 0.279
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.819
When I repair the filesystem of the Persistent Storage 1.281
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 49.489
And all notifications have disappeared 10.689
# 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.857
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.814
When I close the "whisperback" window 1.892
Then the Tor Browser starts 22.872
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.064
After features/support/hooks.rb:330 4.154
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:30.160
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 12.591
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.982
And Tails detects disk read failures on the boot device 0.556
When I try to enable persistence 0.423
Then the Welcome Screen tells me that my hardware is probably failing 28.867
When I log in to a new session 57.754
And all notifications have disappeared 8.668
Then the Tor Browser starts 25.233
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.081
After features/support/hooks.rb:330 4.263
After features/support/hooks.rb:100 0.000