Project Number Date
test_Tails_ISO_stable 5633 07 May 2025, 21:15

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 42:55.430 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:54.899
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:15.213
And I update APT using apt 13.168
And I install "python3-behave" using apt 23.306
Then the Tails Persistent Storage behave tests pass 3.210
After features/support/hooks.rb:330 1.439
After features/support/hooks.rb:100 0.000
Tags: @product
47.757
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 12.976
When I log in to a new session without activating the Persistent Storage 25.152
Then Tails is running from USB drive "__internal" 0.567
And persistence is disabled 0.411
But a Tails persistence partition exists on USB drive "__internal" 8.648
After features/support/hooks.rb:330 1.653
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.544
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 logged in 14.458
Then Tails is running from USB drive "__internal" 0.370
When I create a file in the Persistent directory 0.121
And I create a persistent partition with the default settings 22.239
Then the file I created was copied to the Persistent Storage 2.216
When I shutdown Tails and wait for the computer to power off 10.789
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.721
Then persistence for "Persistent" is active 0.573
And the file I created in the Persistent directory exists 0.054
After features/support/hooks.rb:330 0.844
After features/support/hooks.rb:100 0.008
Tags: @product
1:16.237
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 logged in 13.239
And the system is very low on memory 3.932
When I create a file in the Persistent directory 1.519
When I try to create a persistent partition 35.296
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.531
When I close the Persistent Storage app 3.209
And I free up some memory 4.004
And I create a persistent partition with the default settings 13.538
Then the file I created was copied to the Persistent Storage 0.966
After features/support/hooks.rb:330 2.865
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.592
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 15.968
Then Tails is running from USB drive "__internal" 0.412
And all tps features are active 2.262
And all persistent directories have safe access rights 2.493
When I disable the first tps feature 5.347
Then all tps features but the first one are active 1.957
And I shutdown Tails and wait for the computer to power off 10.675
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.377
Then all tps features but the first one are active 2.096
After features/support/hooks.rb:330 1.572
After features/support/hooks.rb:100 0.009
Tags: @product
19.852
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.425
Then persistence for "Persistent" is active 0.105
And I create a file in the Persistent directory 0.064
Then the file I created was copied to the Persistent Storage 0.063
When I disable the first tps feature 5.773
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.130
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 1.404
After features/support/hooks.rb:100 0.000
Tags: @product
19.899
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.335
Then persistence for "Persistent" is active 0.081
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 5.744
And I delete the data of the Persistent Folder feature 3.591
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.465
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.928
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 9.014
And the network is plugged 0.115
And Tor is ready 19.608
And I take note of which tps features are available 0.594
When I write some files expected to persist 1.529
And I shutdown Tails and wait for the computer to power off 8.411
# 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.654
After features/support/hooks.rb:330 0.139
After features/support/hooks.rb:100 0.000
Tags: @product
3:44.716
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 9.220
And the network is plugged 0.101
And Tor is ready 46.744
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.217
And I shutdown Tails and wait for the computer to power off 8.747
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.524
And I capture all network traffic 0.012
And the network is plugged 0.079
And Tor is ready 20.489
And I switch to the "persistent-con-current" NetworkManager connection 0.354
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:330 0.625
After features/support/hooks.rb:100 0.071
Tags: @product
59.512
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 14.608
And I enable persistence creation in Tails Greeter 1.125
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.678
Then I create a persistent partition with the default settings using the wizard that was already open 23.099
After features/support/hooks.rb:330 2.843
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.139
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 11.396
When I enable persistence 34.474
Then no persistent Greeter options were restored 14.240
When I set all Greeter options to non-default values 27.292
And I log in to a new session in German (de) after having activated the Persistent Storage 52.431
Then all Greeter options are set to non-default values 3.215
When I cold reboot the computer 7.580
And the computer reboots Tails 1:2.863
Given I enable persistence 16.306
Then persistent Greeter options were restored 0.547
When I log in to a new session after having activated the Persistent Storage 37.147
Then all Greeter options are set to non-default values 0.642
After features/support/hooks.rb:330 1.239
After features/support/hooks.rb:100 0.026
Tags: @product
4:3.939
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.323
# 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 34.803
And I shutdown Tails and wait for the computer to power off 14.566
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:32.145
And I change the passphrase of the Persistent Storage back to the original 32.099
After features/support/hooks.rb:330 2.570
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.708
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.553
And I log in to a new session without activating the Persistent Storage 21.384
Then persistence is disabled 0.534
But a Tails persistence partition exists on USB drive "__internal" 9.775
And all notifications have disappeared 11.990
When I delete the persistent partition 5.841
Then there is no persistence partition on USB drive "__internal" 0.629
After features/support/hooks.rb:330 1.353
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.341
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 9.947
When I write some dotfile expected to persist 0.089
And I shutdown Tails and wait for the computer to power off 8.715
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.030
Then the expected persistent dotfile is present in the filesystem 0.558
After features/support/hooks.rb:330 3.144
After features/support/hooks.rb:100 0.010
Tags: @product
1:41.319
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.051
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.121
When I try to enable persistence 0.400
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.371
When I log in to a new session after having activated the Persistent Storage 44.555
And all notifications have disappeared 9.666
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.355
And all tps features are enabled 2.663
And all tps features but the first one are active 2.132
After features/support/hooks.rb:330 1.902
After features/support/hooks.rb:100 0.000
Tags: @product
5:30.417
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:6.115
And I enable persistence 33.317
And I log in to a new session after having activated the Persistent Storage 44.973
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.373
And persistence is enabled 2.637
After features/support/hooks.rb:330 1.986
After features/support/hooks.rb:100 0.000
Tags: @product
30.277
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.549
And I enable persistence but something goes wrong during the LUKS header upgrade 21.001
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.725
After features/support/hooks.rb:330 0.762
After features/support/hooks.rb:100 0.000
Tags: @product
47.043
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.312
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.013
When I enable persistence 27.286
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 3.340
After features/support/hooks.rb:330 1.807
After features/support/hooks.rb:100 0.000
Tags: @product
53.548
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.282
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.672
When I try to enable persistence 0.457
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.873
When I repair the filesystem of the Persistent Storage 1.334
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.582
And the filesystem of the Persistent Storage was repaired 4.536
When I close the filesystem repair dialog 1.246
Then persistence is successfully enabled 1.562
After features/support/hooks.rb:330 1.786
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.149
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.987
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.418
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.235
When I repair the filesystem of the Persistent Storage 1.949
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.134
When I log in to a new session 44.224
And all notifications have disappeared 9.878
# 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.376
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.433
When I close the "whisperback" window 1.605
Then the Tor Browser starts 23.415
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.379
After features/support/hooks.rb:330 1.757
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.603
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.991
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.143
And Tails detects disk read failures on the boot device 1.654
When I try to enable persistence 0.570
Then the Welcome Screen tells me that my hardware is probably failing 17.599
When I log in to a new session 52.074
And all notifications have disappeared 8.885
Then the Tor Browser starts 21.757
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.925
After features/support/hooks.rb:330 1.723
After features/support/hooks.rb:100 0.000