Project Number Date
test_Tails_ISO_stable 5558 06 Apr 2025, 12:42

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 38:52.501 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:8.597
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:59.592
And I update APT using apt 43.293
And I install "python3-behave" using apt 22.987
Then the Tails Persistent Storage behave tests pass 2.723
After features/support/hooks.rb:330 1.222
After features/support/hooks.rb:100 0.000
Tags: @product
42.390
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.974
When I log in to a new session without activating the Persistent Storage 21.516
Then Tails is running from USB drive "__internal" 0.534
And persistence is disabled 0.375
But a Tails persistence partition exists on USB drive "__internal" 8.988
After features/support/hooks.rb:330 1.882
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.799
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 11.173
Then Tails is running from USB drive "__internal" 0.334
When I create a file in the Persistent directory 0.122
And I create a persistent partition with the default settings 21.022
Then the file I created was copied to the Persistent Storage 1.953
When I shutdown Tails and wait for the computer to power off 10.308
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.247
Then persistence for "Persistent" is active 0.568
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.380
After features/support/hooks.rb:100 0.009
Tags: @product
58.074
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.772
And the system is very low on memory 3.700
When I create a file in the Persistent directory 1.275
When I try to create a persistent partition 23.145
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.327
When I close the Persistent Storage app 2.561
And I free up some memory 3.357
And I create a persistent partition with the default settings 12.634
Then the file I created was copied to the Persistent Storage 0.299
After features/support/hooks.rb:330 2.354
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.343
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.611
Then Tails is running from USB drive "__internal" 0.654
And all tps features are active 2.039
And all persistent directories have safe access rights 2.431
When I disable the first tps feature 5.673
Then all tps features but the first one are active 1.843
And I shutdown Tails and wait for the computer to power off 10.679
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.461
Then all tps features but the first one are active 1.949
After features/support/hooks.rb:330 1.325
After features/support/hooks.rb:100 0.009
Tags: @product
20.369
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.551
Then persistence for "Persistent" is active 0.254
And I create a file in the Persistent directory 0.080
Then the file I created was copied to the Persistent Storage 0.141
When I disable the first tps feature 5.730
Then persistence for "Persistent" is not active 0.065
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.338
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.355
After features/support/hooks.rb:100 0.000
Tags: @product
19.318
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 9.920
Then persistence for "Persistent" is active 0.073
When I create a file in the Persistent directory 0.054
And I disable the first tps feature 5.389
And I delete the data of the Persistent Folder feature 3.830
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:330 1.428
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.220
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 9.912
And the network is plugged 0.083
And Tor is ready 23.660
And I take note of which tps features are available 0.588
When I write some files expected to persist 1.434
And I shutdown Tails and wait for the computer to power off 8.513
# 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.028
After features/support/hooks.rb:330 0.111
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.340
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 9.514
And the network is plugged 0.080
And Tor is ready 17.395
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.226
And I shutdown Tails and wait for the computer to power off 8.491
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.037
And I capture all network traffic 0.007
And the network is plugged 0.074
And Tor is ready 20.012
And I switch to the "persistent-con-current" NetworkManager connection 0.286
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:330 0.629
After features/support/hooks.rb:100 0.077
Tags: @product
53.004
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 11.475
And I enable persistence creation in Tails Greeter 1.135
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.190
Then I create a persistent partition with the default settings using the wizard that was already open 20.202
After features/support/hooks.rb:330 2.646
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.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 and stopped at Tails Greeter's login screen 25.464
When I enable persistence 31.226
Then no persistent Greeter options were restored 14.223
When I set all Greeter options to non-default values 26.185
And I log in to a new session in German (de) after having activated the Persistent Storage 40.736
Then all Greeter options are set to non-default values 0.552
When I cold reboot the computer 7.266
And the computer reboots Tails 1:8.741
Given I enable persistence 14.584
Then persistent Greeter options were restored 0.561
When I log in to a new session after having activated the Persistent Storage 39.898
Then all Greeter options are set to non-default values 0.651
After features/support/hooks.rb:330 1.052
After features/support/hooks.rb:100 0.014
Tags: @product
3:33.891
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 9.875
# 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 39.093
And I shutdown Tails and wait for the computer to power off 14.398
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.048
And I change the passphrase of the Persistent Storage back to the original 27.476
After features/support/hooks.rb:330 3.294
After features/support/hooks.rb:100 0.009
Tags: @product
52.430
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.928
And I log in to a new session without activating the Persistent Storage 19.782
Then persistence is disabled 0.295
But a Tails persistence partition exists on USB drive "__internal" 7.201
And all notifications have disappeared 9.148
When I delete the persistent partition 6.172
Then there is no persistence partition on USB drive "__internal" 0.900
After features/support/hooks.rb:330 1.279
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.245
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 9.773
When I write some dotfile expected to persist 0.050
And I shutdown Tails and wait for the computer to power off 8.517
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.541
Then the expected persistent dotfile is present in the filesystem 0.361
After features/support/hooks.rb:330 1.355
After features/support/hooks.rb:100 0.010
Tags: @product
1:31.132
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.272
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.279
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.174
When I log in to a new session after having activated the Persistent Storage 40.698
And all notifications have disappeared 7.054
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.133
And all tps features are enabled 2.615
And all tps features but the first one are active 1.813
After features/support/hooks.rb:330 1.374
After features/support/hooks.rb:100 0.000
Tags: @product
4:12.105
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 2:53.460
And I enable persistence 28.274
And I log in to a new session after having activated the Persistent Storage 46.296
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.761
And persistence is enabled 2.312
After features/support/hooks.rb:330 1.696
After features/support/hooks.rb:100 0.000
Tags: @product
26.689
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.425
And I enable persistence but something goes wrong during the LUKS header upgrade 17.503
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.760
After features/support/hooks.rb:330 0.669
After features/support/hooks.rb:100 0.000
Tags: @product
41.103
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.681
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.534
When I enable persistence 24.375
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.423
After features/support/hooks.rb:330 1.614
After features/support/hooks.rb:100 0.000
Tags: @product
47.721
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 8.763
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.621
When I try to enable persistence 0.408
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.647
When I repair the filesystem of the Persistent Storage 1.289
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.696
And the filesystem of the Persistent Storage was repaired 3.423
When I close the filesystem repair dialog 1.533
Then persistence is successfully enabled 1.337
After features/support/hooks.rb:330 2.052
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.106
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.334
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.102
When I try to enable persistence 0.262
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.368
When I repair the filesystem of the Persistent Storage 1.269
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 43.175
And all notifications have disappeared 7.837
# 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.342
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.188
When I close the "whisperback" window 1.764
Then the Tor Browser starts 18.573
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.810
After features/support/hooks.rb:330 2.425
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.522
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.500
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.596
And Tails detects disk read failures on the boot device 1.512
When I try to enable persistence 0.394
Then the Welcome Screen tells me that my hardware is probably failing 20.352
When I log in to a new session 45.750
And all notifications have disappeared 8.400
Then the Tor Browser starts 21.119
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.896
After features/support/hooks.rb:330 1.812
After features/support/hooks.rb:100 0.000