Project Number Date
test_Tails_ISO_devel 3864 11 Jun 2025, 22:30

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 40:14.200 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.008
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.059
And I update APT using apt 13.470
And I install "python3-behave" using apt 22.843
Then the Tails Persistent Storage behave tests pass 3.634
After features/support/hooks.rb:330 0.651
After features/support/hooks.rb:100 0.000
Tags: @product
45.077
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.889
When I log in to a new session without activating the Persistent Storage 24.547
Then Tails is running from USB drive "__internal" 0.999
And persistence is disabled 0.304
But a Tails persistence partition exists on USB drive "__internal" 7.336
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.717
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 without a persistent partition and logged in 14.936
Then Tails is running from USB drive "__internal" 0.384
When I create a file in the Persistent directory 0.164
And I create a persistent partition with the default settings 25.807
Then the file I created was copied to the Persistent Storage 2.491
When I shutdown Tails and wait for the computer to power off 12.615
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.470
Then persistence for "Persistent" is active 0.780
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 2.004
After features/support/hooks.rb:100 0.010
Tags: @product
1:14.023
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.133
And the system is very low on memory 5.466
When I create a file in the Persistent directory 2.590
When I try to create a persistent partition 32.187
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.035
When I close the Persistent Storage app 2.591
And I free up some memory 3.598
And I create a persistent partition with the default settings 13.967
Then the file I created was copied to the Persistent Storage 0.452
After features/support/hooks.rb:330 2.104
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.386
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 15.478
Then Tails is running from USB drive "__internal" 0.692
And all tps features are active 2.685
And all persistent directories have safe access rights 3.363
When I disable the first tps feature 6.999
Then all tps features but the first one are active 2.235
And I shutdown Tails and wait for the computer to power off 14.853
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.876
Then all tps features but the first one are active 2.200
After features/support/hooks.rb:330 1.059
After features/support/hooks.rb:100 0.010
Tags: @product
21.981
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.294
Then persistence for "Persistent" is active 0.106
And I create a file in the Persistent directory 0.159
Then the file I created was copied to the Persistent Storage 0.310
When I disable the first tps feature 6.095
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.731
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.020
After features/support/hooks.rb:100 0.000
Tags: @product
21.460
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 10.321
Then persistence for "Persistent" is active 0.080
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 6.569
And I delete the data of the Persistent Folder feature 4.350
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:330 1.242
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.788
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.143
And the network is plugged 0.083
And Tor is ready 23.143
And I take note of which tps features are available 0.552
When I write some files expected to persist 1.516
And I shutdown Tails and wait for the computer to power off 8.561
# 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" 23.787
After features/support/hooks.rb:330 0.150
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.798
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 10.035
And the network is plugged 0.289
And Tor is ready 19.402
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 8.581
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.062
And I capture all network traffic 0.006
And the network is plugged 0.080
And Tor is ready 17.536
And I switch to the "persistent-con-current" NetworkManager connection 0.387
And the 1st network device has a spoofed MAC address configured 0.084
And no network device leaked the real MAC address 0.129
After features/support/hooks.rb:330 0.624
After features/support/hooks.rb:100 0.044
Tags: @product
56.390
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 13.126
And I enable persistence creation in Tails Greeter 1.146
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.625
Then I create a persistent partition with the default settings using the wizard that was already open 21.491
After features/support/hooks.rb:330 2.828
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.344
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.079
When I enable persistence 41.860
Then no persistent Greeter options were restored 14.459
When I set all Greeter options to non-default values 26.368
And I log in to a new session in German (de) after having activated the Persistent Storage 51.613
Then all Greeter options are set to non-default values 0.544
When I cold reboot the computer 7.460
And the computer reboots Tails 58.805
Given I enable persistence 18.535
Then persistent Greeter options were restored 0.476
When I log in to a new session after having activated the Persistent Storage 42.689
Then all Greeter options are set to non-default values 0.450
After features/support/hooks.rb:330 1.557
After features/support/hooks.rb:100 0.009
Tags: @product
3:50.101
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.494
# 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.911
And I shutdown Tails and wait for the computer to power off 14.879
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.032
And I change the passphrase of the Persistent Storage back to the original 33.784
After features/support/hooks.rb:330 1.986
After features/support/hooks.rb:100 0.011
Tags: @product
54.325
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.513
And I log in to a new session without activating the Persistent Storage 20.307
Then persistence is disabled 0.365
But a Tails persistence partition exists on USB drive "__internal" 8.685
And all notifications have disappeared 8.000
When I delete the persistent partition 6.655
Then there is no persistence partition on USB drive "__internal" 0.798
After features/support/hooks.rb:330 0.899
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.070
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.331
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 8.614
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.648
Then the expected persistent dotfile is present in the filesystem 0.396
After features/support/hooks.rb:330 1.362
After features/support/hooks.rb:100 0.010
Tags: @product
1:43.309
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.319
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.132
When I log in to a new session after having activated the Persistent Storage 45.319
And all notifications have disappeared 8.188
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.822
And all tps features are enabled 2.243
And all tps features but the first one are active 1.927
After features/support/hooks.rb:330 1.272
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.185
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:28.539
And I enable persistence 28.871
And I log in to a new session after having activated the Persistent Storage 46.559
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.736
And persistence is enabled 2.477
After features/support/hooks.rb:330 1.140
After features/support/hooks.rb:100 0.000
Tags: @product
29.297
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.823
And I enable persistence but something goes wrong during the LUKS header upgrade 18.762
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.710
After features/support/hooks.rb:330 0.655
After features/support/hooks.rb:100 0.000
Tags: @product
46.756
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.096
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.116
When I enable persistence 28.898
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.553
After features/support/hooks.rb:330 1.117
After features/support/hooks.rb:100 0.000
Tags: @product
47.837
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.151
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.365
When I try to enable persistence 0.441
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.112
When I repair the filesystem of the Persistent Storage 2.294
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.843
And the filesystem of the Persistent Storage was repaired 3.073
When I close the filesystem repair dialog 1.192
Then persistence is successfully enabled 1.362
After features/support/hooks.rb:330 1.106
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.738
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 8.844
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.103
When I try to enable persistence 0.274
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.034
When I repair the filesystem of the Persistent Storage 1.836
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.190
When I log in to a new session 40.357
And all notifications have disappeared 8.719
# 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.241
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.341
When I close the "whisperback" window 1.613
Then the Tor Browser starts 17.270
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.911
After features/support/hooks.rb:330 2.032
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.602
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 8.624
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.536
And Tails detects disk read failures on the boot device 1.490
When I try to enable persistence 0.463
Then the Welcome Screen tells me that my hardware is probably failing 17.052
When I log in to a new session 47.142
And all notifications have disappeared 8.309
Then the Tor Browser starts 20.064
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.917
After features/support/hooks.rb:330 2.301
After features/support/hooks.rb:100 0.000