Project Number Date
test_Tails_ISO_devel 3878 21 Jun 2025, 20:17

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 59:39.549 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:41.157
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.060
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:37.221
And I update APT using apt 28.755
And I install "python3-behave" using apt 28.578
Then the Tails Persistent Storage behave tests pass 6.602
After features/support/hooks.rb:330 2.863
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.137
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.063
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 20.339
When I log in to a new session without activating the Persistent Storage 31.478
Then Tails is running from USB drive "__internal" 0.570
And persistence is disabled 0.762
But a Tails persistence partition exists on USB drive "__internal" 12.986
After features/support/hooks.rb:330 1.423
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.928
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 without a persistent partition and logged in 19.517
Then Tails is running from USB drive "__internal" 0.454
When I create a file in the Persistent directory 0.177
And I create a persistent partition with the default settings 39.220
Then the file I created was copied to the Persistent Storage 2.328
When I shutdown Tails and wait for the computer to power off 16.376
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:19.103
Then persistence for "Persistent" is active 0.663
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:330 1.548
After features/support/hooks.rb:100 0.010
Tags: @product
1:38.790
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 26.899
And the system is very low on memory 6.389
When I create a file in the Persistent directory 0.919
When I try to create a persistent partition 29.901
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.314
When I close the Persistent Storage app 7.721
And I free up some memory 4.690
And I create a persistent partition with the default settings 21.703
Then the file I created was copied to the Persistent Storage 0.250
After features/support/hooks.rb:330 2.552
After features/support/hooks.rb:100 0.000
Tags: @product
4:2.122
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 20.645
Then Tails is running from USB drive "__internal" 0.813
And all tps features are active 2.796
And all persistent directories have safe access rights 8.759
When I disable the first tps feature 7.507
Then all tps features but the first one are active 2.732
And I shutdown Tails and wait for the computer to power off 14.421
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:1.149
Then all tps features but the first one are active 3.296
After features/support/hooks.rb:330 1.912
After features/support/hooks.rb:100 0.030
Tags: @product
32.340
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 18.677
Then persistence for "Persistent" is active 0.129
And I create a file in the Persistent directory 0.150
Then the file I created was copied to the Persistent Storage 0.129
When I disable the first tps feature 9.151
Then persistence for "Persistent" is not active 0.130
And the Persistent directory does not exist 0.096
When I enable the first tps feature 3.724
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 1.325
After features/support/hooks.rb:100 0.000
Tags: @product
25.696
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 14.265
Then persistence for "Persistent" is active 0.421
When I create a file in the Persistent directory 0.260
And I disable the first tps feature 6.504
And I delete the data of the Persistent Folder feature 4.179
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:330 3.025
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.708
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.030
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.102
And the network is plugged 0.204
And Tor is ready 31.916
And I take note of which tps features are available 0.798
When I write some files expected to persist 1.743
And I shutdown Tails and wait for the computer to power off 11.648
# 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" 34.295
After features/support/hooks.rb:330 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.925
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 15.705
And the network is plugged 0.082
And Tor is ready 31.709
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.538
And I shutdown Tails and wait for the computer to power off 9.281
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:57.278
And I capture all network traffic 0.008
And the network is plugged 0.085
And Tor is ready 23.505
And I switch to the "persistent-con-current" NetworkManager connection 0.420
And the 1st network device has a spoofed MAC address configured 0.106
And no network device leaked the real MAC address 0.203
After features/support/hooks.rb:330 1.137
After features/support/hooks.rb:100 0.067
Tags: @product
1:34.694
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 stopped at Tails Greeter's login screen 18.874
And I enable persistence creation in Tails Greeter 1.184
And I log in to a new session expecting no warning about the Persistent Storage not being activated 34.648
Then I create a persistent partition with the default settings using the wizard that was already open 39.987
After features/support/hooks.rb:330 3.812
After features/support/hooks.rb:100 0.000
Tags: @product
6:18.874
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 18.524
When I enable persistence 1:3.377
Then no persistent Greeter options were restored 15.817
When I set all Greeter options to non-default values 38.095
And I log in to a new session in German (de) after having activated the Persistent Storage 1:1.926
Then all Greeter options are set to non-default values 0.603
When I cold reboot the computer 13.615
And the computer reboots Tails 1:27.425
Given I enable persistence 30.369
Then persistent Greeter options were restored 1.081
When I log in to a new session after having activated the Persistent Storage 47.364
Then all Greeter options are set to non-default values 0.672
After features/support/hooks.rb:330 2.084
After features/support/hooks.rb:100 0.013
Tags: @product
5:48.846
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 16.870
# 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 43.374
And I shutdown Tails and wait for the computer to power off 15.483
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:30.911
And I change the passphrase of the Persistent Storage back to the original 1:2.206
After features/support/hooks.rb:330 4.511
After features/support/hooks.rb:100 0.014
Tags: @product
1:48.792
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 29.791
And I log in to a new session without activating the Persistent Storage 35.591
Then persistence is disabled 0.329
But a Tails persistence partition exists on USB drive "__internal" 19.776
And all notifications have disappeared 15.857
When I delete the persistent partition 6.793
Then there is no persistence partition on USB drive "__internal" 0.651
After features/support/hooks.rb:330 4.016
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.545
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 12.847
When I write some dotfile expected to persist 0.237
And I shutdown Tails and wait for the computer to power off 14.772
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:3.918
Then the expected persistent dotfile is present in the filesystem 0.769
After features/support/hooks.rb:330 1.141
After features/support/hooks.rb:100 0.012
Tags: @product
2:38.938
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 and stopped at Tails Greeter's login screen 15.247
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.104
When I try to enable persistence 0.313
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 53.139
When I log in to a new session after having activated the Persistent Storage 1:5.473
And all notifications have disappeared 8.913
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 10.144
And all tps features are enabled 2.845
And all tps features but the first one are active 2.756
After features/support/hooks.rb:330 2.283
After features/support/hooks.rb:100 0.000
Tags: @product
6:13.104
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:16.876
And I enable persistence 54.926
And I log in to a new session after having activated the Persistent Storage 53.321
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.996
And persistence is enabled 2.984
After features/support/hooks.rb:330 2.159
After features/support/hooks.rb:100 0.000
Tags: @product
43.248
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 16.151
And I enable persistence but something goes wrong during the LUKS header upgrade 26.145
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.951
After features/support/hooks.rb:330 0.672
After features/support/hooks.rb:100 0.000
Tags: @product
1:24.378
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 18.027
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 14.217
When I enable persistence 45.336
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 6.697
After features/support/hooks.rb:330 3.766
After features/support/hooks.rb:100 0.000
Tags: @product
1:31.478
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.082
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.643
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 16.132
When I try to enable persistence 0.539
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 49.943
When I repair the filesystem of the Persistent Storage 5.277
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.991
And the filesystem of the Persistent Storage was repaired 3.759
When I close the filesystem repair dialog 1.265
Then persistence is successfully enabled 1.925
After features/support/hooks.rb:330 4.418
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:59.482
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.202
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.637
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.122
When I try to enable persistence 0.443
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 52.567
When I repair the filesystem of the Persistent Storage 1.279
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 1:5.116
And all notifications have disappeared 17.625
# 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.688
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.315
When I close the "whisperback" window 1.562
Then the Tor Browser starts 22.524
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.524
After features/support/hooks.rb:330 7.636
After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:6.356
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.297
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.225
And Tails detects disk read failures on the boot device 1.816
When I try to enable persistence 0.719
Then the Welcome Screen tells me that my hardware is probably failing 43.447
When I log in to a new session 1:0.178
And all notifications have disappeared 15.998
Then the Tor Browser starts 40.263
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.409
After features/support/hooks.rb:330 8.031
After features/support/hooks.rb:100 0.000