Project Number Date
test_Tails_ISO_stable 5557 06 Apr 2025, 09:10

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 49:57.575 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:56.000
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.778
And I update APT using apt 5:43.695
And I install "python3-behave" using apt 26.433
Then the Tails Persistent Storage behave tests pass 3.093
After features/support/hooks.rb:330 6.171
After features/support/hooks.rb:100 0.000
Tags: @product
58.517
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 with a persistent partition and stopped at Tails Greeter's login screen 12.297
When I log in to a new session without activating the Persistent Storage 25.379
Then Tails is running from USB drive "__internal" 0.824
And persistence is disabled 0.351
But a Tails persistence partition exists on USB drive "__internal" 19.664
After features/support/hooks.rb:330 2.307
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.728
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 without a persistent partition and logged in 13.688
Then Tails is running from USB drive "__internal" 0.709
When I create a file in the Persistent directory 0.148
And I create a persistent partition with the default settings 23.921
Then the file I created was copied to the Persistent Storage 2.614
When I shutdown Tails and wait for the computer to power off 13.759
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.299
Then persistence for "Persistent" is active 0.447
And the file I created in the Persistent directory exists 0.139
After features/support/hooks.rb:330 1.494
After features/support/hooks.rb:100 0.014
Tags: @product
1:12.160
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 without a persistent partition and logged in 12.246
And the system is very low on memory 6.473
When I create a file in the Persistent directory 0.986
When I try to create a persistent partition 30.081
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.171
When I close the Persistent Storage app 2.693
And I free up some memory 3.814
And I create a persistent partition with the default settings 15.366
Then the file I created was copied to the Persistent Storage 0.325
After features/support/hooks.rb:330 2.410
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.824
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.467
Then Tails is running from USB drive "__internal" 0.904
And all tps features are active 3.175
And all persistent directories have safe access rights 3.167
When I disable the first tps feature 6.726
Then all tps features but the first one are active 2.412
And I shutdown Tails and wait for the computer to power off 11.435
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.689
Then all tps features but the first one are active 2.845
After features/support/hooks.rb:330 1.206
After features/support/hooks.rb:100 0.021
Tags: @product
22.201
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 11.138
Then persistence for "Persistent" is active 0.218
And I create a file in the Persistent directory 0.780
Then the file I created was copied to the Persistent Storage 0.193
When I disable the first tps feature 6.096
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.453
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.504
After features/support/hooks.rb:100 0.000
Tags: @product
20.538
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 9.981
Then persistence for "Persistent" is active 0.115
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 6.649
And I delete the data of the Persistent Folder feature 3.659
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.425
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.358
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.055
And the network is plugged 0.091
And Tor is ready 22.159
And I take note of which tps features are available 0.702
When I write some files expected to persist 1.666
And I shutdown Tails and wait for the computer to power off 9.130
# 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" 25.551
After features/support/hooks.rb:330 0.144
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.973
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.884
And the network is plugged 0.091
And Tor is ready 23.308
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.340
And I shutdown Tails and wait for the computer to power off 8.894
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.526
And I capture all network traffic 0.010
And the network is plugged 0.074
And Tor is ready 23.183
And I switch to the "persistent-con-current" NetworkManager connection 0.429
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:330 0.678
After features/support/hooks.rb:100 0.054
Tags: @product
1:1.081
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.888
And I enable persistence creation in Tails Greeter 1.155
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.891
Then I create a persistent partition with the default settings using the wizard that was already open 23.146
After features/support/hooks.rb:330 2.710
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.405
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 12.521
When I enable persistence 40.022
Then no persistent Greeter options were restored 14.346
When I set all Greeter options to non-default values 24.954
And I log in to a new session in German (de) after having activated the Persistent Storage 46.200
Then all Greeter options are set to non-default values 1.148
When I cold reboot the computer 8.083
And the computer reboots Tails 1:5.267
Given I enable persistence 19.185
Then persistent Greeter options were restored 0.523
When I log in to a new session after having activated the Persistent Storage 41.797
Then all Greeter options are set to non-default values 0.353
After features/support/hooks.rb:330 1.734
After features/support/hooks.rb:100 0.012
Tags: @product
3:48.913
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 12.108
# 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.102
And I shutdown Tails and wait for the computer to power off 12.832
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.830
And I change the passphrase of the Persistent Storage back to the original 30.039
After features/support/hooks.rb:330 2.794
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.624
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.985
And I log in to a new session without activating the Persistent Storage 23.007
Then persistence is disabled 0.650
But a Tails persistence partition exists on USB drive "__internal" 19.090
And all notifications have disappeared 9.056
When I delete the persistent partition 5.601
Then there is no persistence partition on USB drive "__internal" 0.232
After features/support/hooks.rb:330 1.615
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.982
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 10.107
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 10.697
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.676
Then the expected persistent dotfile is present in the filesystem 0.436
After features/support/hooks.rb:330 1.028
After features/support/hooks.rb:100 0.011
Tags: @product
1:57.119
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.745
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.136
When I try to enable persistence 0.295
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.199
When I log in to a new session after having activated the Persistent Storage 52.975
And all notifications have disappeared 8.521
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.301
And all tps features are enabled 2.917
And all tps features but the first one are active 2.026
After features/support/hooks.rb:330 1.590
After features/support/hooks.rb:100 0.000
Tags: @product
6:12.782
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 4:33.108
And I enable persistence 43.641
And I log in to a new session after having activated the Persistent Storage 49.450
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.159
And persistence is enabled 4.423
After features/support/hooks.rb:330 1.891
After features/support/hooks.rb:100 0.000
Tags: @product
34.910
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.812
And I enable persistence but something goes wrong during the LUKS header upgrade 25.110
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.986
After features/support/hooks.rb:330 0.841
After features/support/hooks.rb:100 0.000
Tags: @product
50.898
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.622
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.186
When I enable persistence 31.232
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 2.752
After features/support/hooks.rb:330 1.815
After features/support/hooks.rb:100 0.000
Tags: @product
54.638
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.536
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.790
When I try to enable persistence 0.408
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.994
When I repair the filesystem of the Persistent Storage 1.283
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.280
And the filesystem of the Persistent Storage was repaired 4.491
When I close the filesystem repair dialog 1.272
Then persistence is successfully enabled 1.581
After features/support/hooks.rb:330 1.558
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.832
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.022
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.107
When I try to enable persistence 0.342
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.328
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 4.018
When I log in to a new session 45.300
And all notifications have disappeared 9.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.765
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.923
When I close the "whisperback" window 1.378
Then the Tor Browser starts 18.060
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 3.307
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.083
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.639
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.216
And Tails detects disk read failures on the boot device 0.569
When I try to enable persistence 0.412
Then the Welcome Screen tells me that my hardware is probably failing 25.809
When I log in to a new session 52.166
And all notifications have disappeared 8.464
Then the Tor Browser starts 21.005
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.800
After features/support/hooks.rb:330 1.863
After features/support/hooks.rb:100 0.000