Project Number Date
test_Tails_ISO_devel 3852 03 Jun 2025, 15:12

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:13.389 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:26.027
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 2:42.415
And I update APT using apt 13.966
And I install "python3-behave" using apt 26.328
Then the Tails Persistent Storage behave tests pass 3.316
After features/support/hooks.rb:330 0.956
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.013
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 24.543
When I log in to a new session without activating the Persistent Storage 27.249
Then Tails is running from USB drive "__internal" 1.022
And persistence is disabled 0.424
But a Tails persistence partition exists on USB drive "__internal" 12.774
After features/support/hooks.rb:330 4.991
After features/support/hooks.rb:100 0.000
Tags: @product
3:59.841
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 logged in 38.606
Then Tails is running from USB drive "__internal" 0.396
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 27.322
Then the file I created was copied to the Persistent Storage 2.804
When I shutdown Tails and wait for the computer to power off 13.638
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.903
Then persistence for "Persistent" is active 0.934
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.909
After features/support/hooks.rb:100 0.007
Tags: @product
1:22.146
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 without a persistent partition and logged in 27.925
And the system is very low on memory 6.070
When I create a file in the Persistent directory 1.194
When I try to create a persistent partition 25.922
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.172
When I close the Persistent Storage app 2.634
And I free up some memory 2.553
And I create a persistent partition with the default settings 15.390
Then the file I created was copied to the Persistent Storage 0.282
After features/support/hooks.rb:330 2.140
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.703
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 17.763
Then Tails is running from USB drive "__internal" 0.471
And all tps features are active 2.427
And all persistent directories have safe access rights 3.521
When I disable the first tps feature 7.653
Then all tps features but the first one are active 2.591
And I shutdown Tails and wait for the computer to power off 15.875
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.025
Then all tps features but the first one are active 2.372
After features/support/hooks.rb:330 1.586
After features/support/hooks.rb:100 0.007
Tags: @product
22.962
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 12.272
Then persistence for "Persistent" is active 0.107
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 6.475
Then persistence for "Persistent" is not active 0.105
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.628
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.492
After features/support/hooks.rb:100 0.000
Tags: @product
22.701
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.555
Then persistence for "Persistent" is active 0.096
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 7.071
And I delete the data of the Persistent Folder feature 4.832
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.848
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.173
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.110
And the network is plugged 0.099
And Tor is ready 24.354
And I take note of which tps features are available 0.703
When I write some files expected to persist 1.524
And I shutdown Tails and wait for the computer to power off 12.866
# 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.514
After features/support/hooks.rb:330 0.124
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.889
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.446
And the network is plugged 0.076
And Tor is ready 23.571
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.298
And I shutdown Tails and wait for the computer to power off 8.764
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.713
And I capture all network traffic 0.009
And the network is plugged 0.115
And Tor is ready 18.341
And I switch to the "persistent-con-current" NetworkManager connection 0.328
And the 1st network device has a spoofed MAC address configured 0.081
And no network device leaked the real MAC address 0.142
After features/support/hooks.rb:330 0.845
After features/support/hooks.rb:100 0.079
Tags: @product
1:8.260
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 stopped at Tails Greeter's login screen 20.689
And I enable persistence creation in Tails Greeter 1.124
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.328
Then I create a persistent partition with the default settings using the wizard that was already open 24.117
After features/support/hooks.rb:330 2.276
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.394
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 12.494
When I enable persistence 39.245
Then no persistent Greeter options were restored 14.246
When I set all Greeter options to non-default values 29.362
And I log in to a new session in German (de) after having activated the Persistent Storage 43.670
Then all Greeter options are set to non-default values 0.559
When I cold reboot the computer 8.559
And the computer reboots Tails 1:1.269
Given I enable persistence 16.962
Then persistent Greeter options were restored 0.589
When I log in to a new session after having activated the Persistent Storage 41.858
Then all Greeter options are set to non-default values 0.574
After features/support/hooks.rb:330 1.762
After features/support/hooks.rb:100 0.008
Tags: @product
4:6.866
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.378
# 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 37.965
And I shutdown Tails and wait for the computer to power off 15.801
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.978
And I change the passphrase of the Persistent Storage back to the original 39.741
After features/support/hooks.rb:330 2.926
After features/support/hooks.rb:100 0.018
Tags: @product
55.273
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 10.487
And I log in to a new session without activating the Persistent Storage 21.243
Then persistence is disabled 0.263
But a Tails persistence partition exists on USB drive "__internal" 7.243
And all notifications have disappeared 8.132
When I delete the persistent partition 7.048
Then there is no persistence partition on USB drive "__internal" 0.855
After features/support/hooks.rb:330 1.430
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.307
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.599
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 8.890
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.416
Then the expected persistent dotfile is present in the filesystem 0.318
After features/support/hooks.rb:330 1.596
After features/support/hooks.rb:100 0.010
Tags: @product
1:40.610
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.415
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.294
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.751
When I log in to a new session after having activated the Persistent Storage 40.570
And all notifications have disappeared 8.506
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.451
And all tps features are enabled 3.377
And all tps features but the first one are active 2.146
After features/support/hooks.rb:330 1.706
After features/support/hooks.rb:100 0.000
Tags: @product
5:58.546
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:33.027
And I enable persistence 34.078
And I log in to a new session after having activated the Persistent Storage 47.294
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.109
And persistence is enabled 3.036
After features/support/hooks.rb:330 1.950
After features/support/hooks.rb:100 0.000
Tags: @product
32.833
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.773
And I enable persistence but something goes wrong during the LUKS header upgrade 23.273
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.786
After features/support/hooks.rb:330 0.792
After features/support/hooks.rb:100 0.000
Tags: @product
51.917
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.541
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.149
When I enable persistence 33.313
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.821
After features/support/hooks.rb:330 1.568
After features/support/hooks.rb:100 0.000
Tags: @product
53.113
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.862
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.069
When I try to enable persistence 0.447
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.009
When I repair the filesystem of the Persistent Storage 1.307
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.616
And the filesystem of the Persistent Storage was repaired 3.033
When I close the filesystem repair dialog 1.189
Then persistence is successfully enabled 1.576
After features/support/hooks.rb:330 1.892
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.926
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 8.811
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 1.381
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.281
When I repair the filesystem of the Persistent Storage 1.192
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 39.684
And all notifications have disappeared 7.927
# 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.363
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.384
When I close the "whisperback" window 1.646
Then the Tor Browser starts 21.948
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.129
After features/support/hooks.rb:330 3.265
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.879
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.282
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.382
And Tails detects disk read failures on the boot device 1.634
When I try to enable persistence 0.425
Then the Welcome Screen tells me that my hardware is probably failing 19.502
When I log in to a new session 49.444
And all notifications have disappeared 8.963
Then the Tor Browser starts 18.423
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.820
After features/support/hooks.rb:330 2.015
After features/support/hooks.rb:100 0.000