Project Number Date
test_Tails_ISO_stable 5688 30 May 2025, 13:18

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:37.848 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:40.182
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:57.554
And I update APT using apt 13.605
And I install "python3-behave" using apt 26.513
Then the Tails Persistent Storage behave tests pass 2.509
After features/support/hooks.rb:330 1.000
After features/support/hooks.rb:100 0.000
Tags: @product
56.585
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 14.476
When I log in to a new session without activating the Persistent Storage 24.524
Then Tails is running from USB drive "__internal" 0.721
And persistence is disabled 0.421
But a Tails persistence partition exists on USB drive "__internal" 16.441
After features/support/hooks.rb:330 1.475
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.134
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 16.260
Then Tails is running from USB drive "__internal" 0.576
When I create a file in the Persistent directory 0.249
And I create a persistent partition with the default settings 23.078
Then the file I created was copied to the Persistent Storage 2.371
When I shutdown Tails and wait for the computer to power off 11.084
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.131
Then persistence for "Persistent" is active 1.309
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 0.856
After features/support/hooks.rb:100 0.009
Tags: @product
1:9.829
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 14.107
And the system is very low on memory 3.136
When I create a file in the Persistent directory 1.529
When I try to create a persistent partition 29.272
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.259
When I close the Persistent Storage app 2.786
And I free up some memory 3.855
And I create a persistent partition with the default settings 14.007
Then the file I created was copied to the Persistent Storage 0.874
After features/support/hooks.rb:330 2.128
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.210
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.183
Then Tails is running from USB drive "__internal" 0.592
And all tps features are active 2.582
And all persistent directories have safe access rights 3.032
When I disable the first tps feature 6.105
Then all tps features but the first one are active 2.467
And I shutdown Tails and wait for the computer to power off 14.543
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.889
Then all tps features but the first one are active 2.812
After features/support/hooks.rb:330 1.008
After features/support/hooks.rb:100 0.014
Tags: @product
21.497
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 11.606
Then persistence for "Persistent" is active 0.085
And I create a file in the Persistent directory 0.123
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 5.913
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.344
Then persistence for "Persistent" is active 0.110
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:330 1.728
After features/support/hooks.rb:100 0.000
Tags: @product
20.614
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 enabled and logged in 10.015
Then persistence for "Persistent" is active 0.160
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 6.432
And I delete the data of the Persistent Folder feature 3.873
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.579
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.233
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 enabled and logged in 9.819
And the network is plugged 0.170
And Tor is ready 23.495
And I take note of which tps features are available 0.699
When I write some files expected to persist 1.845
And I shutdown Tails and wait for the computer to power off 10.812
# 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.390
After features/support/hooks.rb:330 0.168
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.990
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.264
And the network is plugged 0.093
And Tor is ready 48.696
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.228
And I shutdown Tails and wait for the computer to power off 9.003
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.185
And I capture all network traffic 0.008
And the network is plugged 0.584
And Tor is ready 50.229
And I switch to the "persistent-con-current" NetworkManager connection 0.386
And the 1st network device has a spoofed MAC address configured 0.077
And no network device leaked the real MAC address 0.232
After features/support/hooks.rb:330 0.766
After features/support/hooks.rb:100 0.050
Tags: @product
1:17.273
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 without a persistent partition and stopped at Tails Greeter's login screen 32.406
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 19.863
Then I create a persistent partition with the default settings using the wizard that was already open 23.896
After features/support/hooks.rb:330 2.502
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.348
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 28.265
When I enable persistence 42.032
Then no persistent Greeter options were restored 14.549
When I set all Greeter options to non-default values 25.394
And I log in to a new session in German (de) after having activated the Persistent Storage 42.389
Then all Greeter options are set to non-default values 0.641
When I cold reboot the computer 7.918
And the computer reboots Tails 1:1.966
Given I enable persistence 21.093
Then persistent Greeter options were restored 0.613
When I log in to a new session after having activated the Persistent Storage 28.723
Then all Greeter options are set to non-default values 0.761
After features/support/hooks.rb:330 1.908
After features/support/hooks.rb:100 0.009
Tags: @product
4:11.906
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.024
# 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.833
And I shutdown Tails and wait for the computer to power off 15.376
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:28.486
And I change the passphrase of the Persistent Storage back to the original 37.184
After features/support/hooks.rb:330 3.406
After features/support/hooks.rb:100 0.023
Tags: @product
1:4.402
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 and stopped at Tails Greeter's login screen 11.153
And I log in to a new session without activating the Persistent Storage 22.950
Then persistence is disabled 0.431
But a Tails persistence partition exists on USB drive "__internal" 8.290
And all notifications have disappeared 11.369
When I delete the persistent partition 8.473
Then there is no persistence partition on USB drive "__internal" 1.732
After features/support/hooks.rb:330 1.487
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.182
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.543
When I write some dotfile expected to persist 0.094
And I shutdown Tails and wait for the computer to power off 11.645
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.493
Then the expected persistent dotfile is present in the filesystem 0.404
After features/support/hooks.rb:330 1.016
After features/support/hooks.rb:100 0.010
Tags: @product
1:56.153
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.896
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.129
When I try to enable persistence 0.435
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.032
When I log in to a new session after having activated the Persistent Storage 50.014
And all notifications have disappeared 9.354
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.764
And all tps features are enabled 2.452
And all tps features but the first one are active 2.074
After features/support/hooks.rb:330 1.091
After features/support/hooks.rb:100 0.000
Tags: @product
5:36.393
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 4:3.824
And I enable persistence 36.233
And I log in to a new session after having activated the Persistent Storage 50.364
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.582
And persistence is enabled 3.387
After features/support/hooks.rb:330 1.981
After features/support/hooks.rb:100 0.000
Tags: @product
30.860
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.489
And I enable persistence but something goes wrong during the LUKS header upgrade 20.574
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.796
After features/support/hooks.rb:330 0.662
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.130
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 11.733
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.278
When I enable persistence 43.554
Then the filesystem of the Persistent Storage was repaired 0.121
And persistence is successfully enabled 5.441
After features/support/hooks.rb:330 1.335
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.949
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 and stopped at Tails Greeter's login screen 9.742
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.191
When I try to enable persistence 1.454
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.884
When I repair the filesystem of the Persistent Storage 1.272
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.825
And the filesystem of the Persistent Storage was repaired 3.943
When I close the filesystem repair dialog 5.076
Then persistence is successfully enabled 1.558
After features/support/hooks.rb:330 1.505
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.100
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.361
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.126
When I try to enable persistence 0.291
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.443
When I repair the filesystem of the Persistent Storage 1.309
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 43.177
And all notifications have disappeared 9.546
# 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.585
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.661
When I close the "whisperback" window 1.682
Then the Tor Browser starts 21.599
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.233
After features/support/hooks.rb:330 3.803
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.870
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.520
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.566
And Tails detects disk read failures on the boot device 1.647
When I try to enable persistence 0.469
Then the Welcome Screen tells me that my hardware is probably failing 26.738
When I log in to a new session 38.873
And all notifications have disappeared 7.175
Then the Tor Browser starts 23.885
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.993
After features/support/hooks.rb:330 4.172
After features/support/hooks.rb:100 0.000