Project Number Date
test_Tails_ISO_stable 5500 06 Mar 2025, 20:33

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 44:34.463 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:15.777
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:59.566
And I update APT using apt 3:19.974
And I install "python3-behave" using apt 53.304
Then the Tails Persistent Storage behave tests pass 2.932
After features/support/hooks.rb:330 0.619
After features/support/hooks.rb:100 0.000
Tags: @product
47.942
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.052
When I log in to a new session without activating the Persistent Storage 24.711
Then Tails is running from USB drive "__internal" 0.583
And persistence is disabled 0.229
But a Tails persistence partition exists on USB drive "__internal" 11.366
After features/support/hooks.rb:330 1.695
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.441
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.903
Then Tails is running from USB drive "__internal" 0.472
When I create a file in the Persistent directory 0.169
And I create a persistent partition with the default settings 21.696
Then the file I created was copied to the Persistent Storage 0.740
When I shutdown Tails and wait for the computer to power off 13.071
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.934
Then persistence for "Persistent" is active 0.386
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:330 1.840
After features/support/hooks.rb:100 0.009
Tags: @product
58.694
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.023
And the system is very low on memory 3.688
When I create a file in the Persistent directory 1.193
When I try to create a persistent partition 25.250
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.721
When I close the Persistent Storage app 2.547
And I free up some memory 1.272
And I create a persistent partition with the default settings 12.766
Then the file I created was copied to the Persistent Storage 0.229
After features/support/hooks.rb:330 2.073
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.106
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 16.597
Then Tails is running from USB drive "__internal" 0.467
And all tps features are active 2.584
And all persistent directories have safe access rights 2.705
When I disable the first tps feature 6.082
Then all tps features but the first one are active 1.942
And I shutdown Tails and wait for the computer to power off 13.559
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.999
Then all tps features but the first one are active 2.168
After features/support/hooks.rb:330 1.097
After features/support/hooks.rb:100 0.016
Tags: @product
19.975
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.131
Then persistence for "Persistent" is active 0.170
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.168
When I disable the first tps feature 6.020
Then persistence for "Persistent" is not active 0.098
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.090
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.601
After features/support/hooks.rb:100 0.000
Tags: @product
19.819
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 9.435
Then persistence for "Persistent" is active 0.170
When I create a file in the Persistent directory 0.162
And I disable the first tps feature 6.196
And I delete the data of the Persistent Folder feature 3.797
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:330 1.695
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.532
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.451
And the network is plugged 0.109
And Tor is ready 19.581
And I take note of which tps features are available 0.603
When I write some files expected to persist 1.581
And I shutdown Tails and wait for the computer to power off 8.847
# 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.355
After features/support/hooks.rb:330 0.135
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.201
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.061
And the network is plugged 0.109
And Tor is ready 46.369
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 8.685
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.563
And I capture all network traffic 0.010
And the network is plugged 0.084
And Tor is ready 18.554
And I switch to the "persistent-con-current" NetworkManager connection 0.337
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:330 0.675
After features/support/hooks.rb:100 0.043
Tags: @product
58.332
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 stopped at Tails Greeter's login screen 12.134
And I enable persistence creation in Tails Greeter 1.144
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.349
Then I create a persistent partition with the default settings using the wizard that was already open 24.704
After features/support/hooks.rb:330 2.037
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.439
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.299
When I enable persistence 37.064
Then no persistent Greeter options were restored 14.965
When I set all Greeter options to non-default values 31.742
And I log in to a new session in German (de) after having activated the Persistent Storage 55.117
Then all Greeter options are set to non-default values 0.601
When I cold reboot the computer 7.737
And the computer reboots Tails 59.811
Given I enable persistence 18.150
Then persistent Greeter options were restored 0.564
When I log in to a new session after having activated the Persistent Storage 40.098
Then all Greeter options are set to non-default values 0.287
After features/support/hooks.rb:330 1.263
After features/support/hooks.rb:100 0.009
Tags: @product
3:34.588
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.964
# 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.833
And I shutdown Tails and wait for the computer to power off 12.915
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:55.178
And I change the passphrase of the Persistent Storage back to the original 41.696
After features/support/hooks.rb:330 1.820
After features/support/hooks.rb:100 0.007
Tags: @product
59.713
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.937
And I log in to a new session without activating the Persistent Storage 21.278
Then persistence is disabled 0.292
But a Tails persistence partition exists on USB drive "__internal" 9.049
And all notifications have disappeared 11.738
When I delete the persistent partition 6.937
Then there is no persistence partition on USB drive "__internal" 0.478
After features/support/hooks.rb:330 1.731
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.569
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.871
When I write some dotfile expected to persist 0.178
And I shutdown Tails and wait for the computer to power off 8.520
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.550
Then the expected persistent dotfile is present in the filesystem 0.448
After features/support/hooks.rb:330 1.127
After features/support/hooks.rb:100 0.011
Tags: @product
1:41.017
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.552
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.452
When I log in to a new session after having activated the Persistent Storage 43.495
And all notifications have disappeared 8.405
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.730
And all tps features are enabled 3.068
And all tps features but the first one are active 1.943
After features/support/hooks.rb:330 1.730
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.582
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 3:36.286
And I enable persistence 36.428
And I log in to a new session after having activated the Persistent Storage 49.448
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.781
And persistence is enabled 2.636
After features/support/hooks.rb:330 1.449
After features/support/hooks.rb:100 0.000
Tags: @product
29.047
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.056
And I enable persistence but something goes wrong during the LUKS header upgrade 19.196
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.793
After features/support/hooks.rb:330 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
50.022
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.294
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.838
When I enable persistence 32.102
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.697
After features/support/hooks.rb:330 1.827
After features/support/hooks.rb:100 0.000
Tags: @product
49.085
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.142
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.796
When I try to enable persistence 0.432
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.618
When I repair the filesystem of the Persistent Storage 1.311
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.232
And the filesystem of the Persistent Storage was repaired 1.865
When I close the filesystem repair dialog 1.266
Then persistence is successfully enabled 1.419
After features/support/hooks.rb:330 1.860
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:45.268
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.345
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.094
When I try to enable persistence 0.467
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.060
When I repair the filesystem of the Persistent Storage 1.453
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 40.597
And all notifications have disappeared 9.678
# 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.661
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.638
When I close the "whisperback" window 1.672
Then the Tor Browser starts 14.208
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.315
After features/support/hooks.rb:330 3.344
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.304
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.835
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.879
And Tails detects disk read failures on the boot device 1.531
When I try to enable persistence 0.427
Then the Welcome Screen tells me that my hardware is probably failing 18.496
When I log in to a new session 49.468
And all notifications have disappeared 8.412
Then the Tor Browser starts 22.248
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.004
After features/support/hooks.rb:330 2.511
After features/support/hooks.rb:100 0.000