Project Number Date
test_Tails_ISO_feature-arti 45 29 Apr 2025, 19:57

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 40:45.134 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:39.319
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.021
And I update APT using apt 35.414
And I install "python3-behave" using apt 23.162
Then the Tails Persistent Storage behave tests pass 3.721
After features/support/hooks.rb:330 0.649
After features/support/hooks.rb:100 0.000
Tags: @product
43.022
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 11.143
When I log in to a new session without activating the Persistent Storage 23.325
Then Tails is running from USB drive "__internal" 0.795
And persistence is disabled 0.430
But a Tails persistence partition exists on USB drive "__internal" 7.326
After features/support/hooks.rb:330 1.634
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.431
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 logged in 16.197
Then Tails is running from USB drive "__internal" 0.443
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 26.318
Then the file I created was copied to the Persistent Storage 2.555
When I shutdown Tails and wait for the computer to power off 13.189
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.656
Then persistence for "Persistent" is active 0.866
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:330 1.366
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.497
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 11.805
And the system is very low on memory 3.996
When I create a file in the Persistent directory 1.476
When I try to create a persistent partition 28.294
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.487
When I close the Persistent Storage app 2.605
And I free up some memory 3.240
And I create a persistent partition with the default settings 12.307
Then the file I created was copied to the Persistent Storage 0.283
After features/support/hooks.rb:330 2.107
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.327
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.917
Then Tails is running from USB drive "__internal" 0.641
And all tps features are active 3.314
And all persistent directories have safe access rights 2.612
When I disable the first tps feature 6.141
Then all tps features but the first one are active 2.102
And I shutdown Tails and wait for the computer to power off 15.269
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.110
Then all tps features but the first one are active 2.218
After features/support/hooks.rb:330 1.209
After features/support/hooks.rb:100 0.010
Tags: @product
21.405
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.473
Then persistence for "Persistent" is active 0.113
And I create a file in the Persistent directory 0.101
Then the file I created was copied to the Persistent Storage 0.138
When I disable the first tps feature 6.172
Then persistence for "Persistent" is not active 0.064
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.115
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.720
After features/support/hooks.rb:100 0.000
Tags: @product
20.073
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.756
Then persistence for "Persistent" is active 0.098
When I create a file in the Persistent directory 0.095
And I disable the first tps feature 6.250
And I delete the data of the Persistent Folder feature 3.809
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.606
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.676
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 9.847
And the network is plugged 0.076
And Tor is ready 21.171
And I take note of which tps features are available 0.570
When I write some files expected to persist 1.539
And I shutdown Tails and wait for the computer to power off 8.797
# 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.673
After features/support/hooks.rb:330 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.631
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 9.939
And the network is plugged 0.081
And Tor is ready 20.247
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.301
And I shutdown Tails and wait for the computer to power off 8.803
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.503
And I capture all network traffic 0.011
And the network is plugged 0.079
And Tor is ready 24.953
And I switch to the "persistent-con-current" NetworkManager connection 0.364
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.260
After features/support/hooks.rb:330 0.700
After features/support/hooks.rb:100 0.040
Tags: @product
59.548
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 13.455
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.214
Then I create a persistent partition with the default settings using the wizard that was already open 23.762
After features/support/hooks.rb:330 2.902
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.642
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.118
When I enable persistence 37.576
Then no persistent Greeter options were restored 14.623
When I set all Greeter options to non-default values 24.906
And I log in to a new session in German (de) after having activated the Persistent Storage 45.366
Then all Greeter options are set to non-default values 0.423
When I cold reboot the computer 7.638
And the computer reboots Tails 59.960
Given I enable persistence 18.275
Then persistent Greeter options were restored 0.551
When I log in to a new session after having activated the Persistent Storage 38.653
Then all Greeter options are set to non-default values 0.547
After features/support/hooks.rb:330 2.451
After features/support/hooks.rb:100 0.010
Tags: @product
3:45.312
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.239
# 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.277
And I shutdown Tails and wait for the computer to power off 12.604
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.846
And I change the passphrase of the Persistent Storage back to the original 32.344
After features/support/hooks.rb:330 2.172
After features/support/hooks.rb:100 0.009
Tags: @product
55.940
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.382
And I log in to a new session without activating the Persistent Storage 20.329
Then persistence is disabled 0.270
But a Tails persistence partition exists on USB drive "__internal" 5.779
And all notifications have disappeared 10.742
When I delete the persistent partition 7.450
Then there is no persistence partition on USB drive "__internal" 0.986
After features/support/hooks.rb:330 1.385
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.274
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.623
When I write some dotfile expected to persist 0.093
And I shutdown Tails and wait for the computer to power off 10.753
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.360
Then the expected persistent dotfile is present in the filesystem 0.444
After features/support/hooks.rb:330 1.566
After features/support/hooks.rb:100 0.009
Tags: @product
1:43.671
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.971
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.282
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.381
When I log in to a new session after having activated the Persistent Storage 50.897
And all notifications have disappeared 6.954
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.626
And all tps features are enabled 2.330
And all tps features but the first one are active 2.145
After features/support/hooks.rb:330 1.602
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.262
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 2:58.897
And I enable persistence 34.853
And I log in to a new session after having activated the Persistent Storage 47.486
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.092
And persistence is enabled 2.933
After features/support/hooks.rb:330 1.613
After features/support/hooks.rb:100 0.000
Tags: @product
28.092
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 9.076
And I enable persistence but something goes wrong during the LUKS header upgrade 18.184
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.831
After features/support/hooks.rb:330 0.791
After features/support/hooks.rb:100 0.000
Tags: @product
51.034
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.842
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.798
When I enable persistence 34.646
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.657
After features/support/hooks.rb:330 1.783
After features/support/hooks.rb:100 0.000
Tags: @product
50.479
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 8.922
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.039
When I try to enable persistence 0.412
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.084
When I repair the filesystem of the Persistent Storage 1.225
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.240
And the filesystem of the Persistent Storage was repaired 3.776
When I close the filesystem repair dialog 1.321
Then persistence is successfully enabled 1.456
After features/support/hooks.rb:330 2.739
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.125
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.978
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.105
When I try to enable persistence 0.264
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.210
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 47.312
And all notifications have disappeared 10.513
# 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.442
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.861
When I close the "whisperback" window 1.625
Then the Tor Browser starts 17.545
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.916
After features/support/hooks.rb:330 3.959
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.362
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.946
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.536
And Tails detects disk read failures on the boot device 1.548
When I try to enable persistence 0.403
Then the Welcome Screen tells me that my hardware is probably failing 18.952
When I log in to a new session 54.686
And all notifications have disappeared 7.306
Then the Tor Browser starts 22.094
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.888
After features/support/hooks.rb:330 3.020
After features/support/hooks.rb:100 0.000