Project Number Date
test_Tails_ISO_feature-arti 70 26 May 2025, 16:54

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 46:33.289 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:40.654
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:36.128
And I update APT using apt 37.371
And I install "python3-behave" using apt 23.939
Then the Tails Persistent Storage behave tests pass 3.214
After features/support/hooks.rb:330 2.350
After features/support/hooks.rb:100 0.000
Tags: @product
51.173
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 14.559
When I log in to a new session without activating the Persistent Storage 23.868
Then Tails is running from USB drive "__internal" 0.473
And persistence is disabled 0.329
But a Tails persistence partition exists on USB drive "__internal" 11.942
After features/support/hooks.rb:330 1.529
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.749
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 19.513
Then Tails is running from USB drive "__internal" 0.624
When I create a file in the Persistent directory 0.142
And I create a persistent partition with the default settings 24.825
Then the file I created was copied to the Persistent Storage 1.852
When I shutdown Tails and wait for the computer to power off 13.553
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.808
Then persistence for "Persistent" is active 0.340
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 2.946
After features/support/hooks.rb:100 0.008
Tags: @product
1:4.765
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 12.474
And the system is very low on memory 6.072
When I create a file in the Persistent directory 2.049
When I try to create a persistent partition 23.701
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.443
When I close the Persistent Storage app 2.695
And I free up some memory 2.833
And I create a persistent partition with the default settings 13.848
Then the file I created was copied to the Persistent Storage 0.647
After features/support/hooks.rb:330 2.183
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.554
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 29.464
Then Tails is running from USB drive "__internal" 0.629
And all tps features are active 2.434
And all persistent directories have safe access rights 2.646
When I disable the first tps feature 6.897
Then all tps features but the first one are active 2.210
And I shutdown Tails and wait for the computer to power off 13.163
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.622
Then all tps features but the first one are active 2.485
After features/support/hooks.rb:330 0.979
After features/support/hooks.rb:100 0.011
Tags: @product
19.200
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.572
Then persistence for "Persistent" is active 0.240
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.062
When I disable the first tps feature 5.844
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.100
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 0.845
After features/support/hooks.rb:100 0.000
Tags: @product
19.777
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.164
Then persistence for "Persistent" is active 0.425
When I create a file in the Persistent directory 0.694
And I disable the first tps feature 5.726
And I delete the data of the Persistent Folder feature 3.688
Then the file I created does not exist on the Persistent Storage 0.078
After features/support/hooks.rb:330 1.240
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.204
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.508
And the network is plugged 0.362
And Tor is ready 22.268
And I take note of which tps features are available 0.624
When I write some files expected to persist 1.475
And I shutdown Tails and wait for the computer to power off 8.539
# 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.424
After features/support/hooks.rb:330 0.138
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.401
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 9.303
And the network is plugged 0.145
And Tor is ready 17.469
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.211
And I shutdown Tails and wait for the computer to power off 8.393
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.018
And I capture all network traffic 0.015
And the network is plugged 0.077
And Tor is ready 19.170
And I switch to the "persistent-con-current" NetworkManager connection 0.342
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.174
After features/support/hooks.rb:330 0.765
After features/support/hooks.rb:100 0.038
Tags: @product
1:2.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 without a persistent partition and stopped at Tails Greeter's login screen 15.969
And I enable persistence creation in Tails Greeter 1.434
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.825
Then I create a persistent partition with the default settings using the wizard that was already open 22.732
After features/support/hooks.rb:330 2.912
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.887
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 12.410
When I enable persistence 37.482
Then no persistent Greeter options were restored 14.211
When I set all Greeter options to non-default values 26.129
And I log in to a new session in German (de) after having activated the Persistent Storage 56.434
Then all Greeter options are set to non-default values 2.007
When I cold reboot the computer 7.312
And the computer reboots Tails 1:5.315
Given I enable persistence 17.005
Then persistent Greeter options were restored 0.611
When I log in to a new session after having activated the Persistent Storage 43.581
Then all Greeter options are set to non-default values 0.386
After features/support/hooks.rb:330 0.866
After features/support/hooks.rb:100 0.011
Tags: @product
3:39.372
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.300
# 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 31.245
And I shutdown Tails and wait for the computer to power off 13.452
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.468
And I change the passphrase of the Persistent Storage back to the original 30.906
After features/support/hooks.rb:330 3.659
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.760
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 14.275
And I log in to a new session without activating the Persistent Storage 22.184
Then persistence is disabled 0.315
But a Tails persistence partition exists on USB drive "__internal" 6.608
And all notifications have disappeared 10.077
When I delete the persistent partition 7.120
Then there is no persistence partition on USB drive "__internal" 1.178
After features/support/hooks.rb:330 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.486
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 10.949
When I write some dotfile expected to persist 0.047
And I shutdown Tails and wait for the computer to power off 9.138
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:40.877
Then the expected persistent dotfile is present in the filesystem 0.474
After features/support/hooks.rb:330 1.216
After features/support/hooks.rb:100 0.011
Tags: @product
1:49.718
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 10.168
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.268
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.109
When I log in to a new session after having activated the Persistent Storage 44.566
And all notifications have disappeared 8.137
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.896
And all tps features are enabled 3.152
And all tps features but the first one are active 2.341
After features/support/hooks.rb:330 1.575
After features/support/hooks.rb:100 0.000
Tags: @product
8:15.968
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6:47.418
And I enable persistence 35.876
And I log in to a new session after having activated the Persistent Storage 48.561
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.171
And persistence is enabled 2.940
After features/support/hooks.rb:330 2.402
After features/support/hooks.rb:100 0.000
Tags: @product
50.151
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 24.047
And I enable persistence but something goes wrong during the LUKS header upgrade 25.003
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.100
After features/support/hooks.rb:330 0.917
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.270
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.106
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 14.528
When I enable persistence 36.536
Then the filesystem of the Persistent Storage was repaired 0.112
And persistence is successfully enabled 2.986
After features/support/hooks.rb:330 0.751
After features/support/hooks.rb:100 0.000
Tags: @product
54.669
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 11.168
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.987
When I try to enable persistence 0.467
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.623
When I repair the filesystem of the Persistent Storage 6.236
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.276
And the filesystem of the Persistent Storage was repaired 3.107
When I close the filesystem repair dialog 1.306
Then persistence is successfully enabled 1.494
After features/support/hooks.rb:330 1.265
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.633
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.964
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.162
When I try to enable persistence 1.376
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.932
When I repair the filesystem of the Persistent Storage 1.344
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.068
When I log in to a new session 37.978
And all notifications have disappeared 10.298
# 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.766
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.540
When I close the "whisperback" window 1.421
Then the Tor Browser starts 18.825
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.954
After features/support/hooks.rb:330 4.930
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:23.927
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 and stopped at Tails Greeter's login screen 11.414
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 18.040
And Tails detects disk read failures on the boot device 1.773
When I try to enable persistence 0.449
Then the Welcome Screen tells me that my hardware is probably failing 21.457
When I log in to a new session 55.660
And all notifications have disappeared 11.144
Then the Tor Browser starts 22.968
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.019
After features/support/hooks.rb:330 2.363
After features/support/hooks.rb:100 0.000