Project Number Date
test_Tails_ISO_feature-arti 3 20 Mar 2025, 16:31

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:21.573 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:47.825
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.254
And I update APT using apt 3:15.616
And I install "python3-behave" using apt 1:55.086
Then the Tails Persistent Storage behave tests pass 2.868
After features/support/hooks.rb:330 0.958
After features/support/hooks.rb:100 0.000
Tags: @product
44.820
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.086
When I log in to a new session without activating the Persistent Storage 22.650
Then Tails is running from USB drive "__internal" 0.826
And persistence is disabled 0.399
But a Tails persistence partition exists on USB drive "__internal" 8.857
After features/support/hooks.rb:330 1.992
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.623
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 14.497
Then Tails is running from USB drive "__internal" 0.437
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 22.087
Then the file I created was copied to the Persistent Storage 0.578
When I shutdown Tails and wait for the computer to power off 12.447
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.037
Then persistence for "Persistent" is active 0.340
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.838
After features/support/hooks.rb:100 0.009
Tags: @product
57.320
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 10.580
And the system is very low on memory 2.811
When I create a file in the Persistent directory 1.275
When I try to create a persistent partition 24.254
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.481
When I close the Persistent Storage app 2.586
And I free up some memory 1.157
And I create a persistent partition with the default settings 13.915
Then the file I created was copied to the Persistent Storage 0.258
After features/support/hooks.rb:330 1.983
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.857
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 11.728
Then Tails is running from USB drive "__internal" 0.863
And all tps features are active 2.359
And all persistent directories have safe access rights 2.672
When I disable the first tps feature 6.347
Then all tps features but the first one are active 2.118
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:7.414
Then all tps features but the first one are active 2.085
After features/support/hooks.rb:330 1.186
After features/support/hooks.rb:100 0.008
Tags: @product
20.529
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.402
Then persistence for "Persistent" is active 0.283
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 6.159
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.256
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.554
After features/support/hooks.rb:100 0.000
Tags: @product
19.076
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.616
Then persistence for "Persistent" is active 0.092
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 5.603
And I delete the data of the Persistent Folder feature 3.625
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:330 1.258
After features/support/hooks.rb:100 0.000
Tags: @product
1:32.823
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.495
And the network is plugged 0.100
And Tor is ready 48.695
And I take note of which tps features are available 0.606
When I write some files expected to persist 1.448
And I shutdown Tails and wait for the computer to power off 8.447
# 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.029
After features/support/hooks.rb:330 0.103
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.141
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.555
And the network is plugged 0.079
And Tor is ready 18.969
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 8.523
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.150
And I capture all network traffic 0.011
And the network is plugged 0.084
And Tor is ready 19.931
And I switch to the "persistent-con-current" NetworkManager connection 0.366
And the 1st network device has a spoofed MAC address configured 0.080
And no network device leaked the real MAC address 0.182
After features/support/hooks.rb:330 1.040
After features/support/hooks.rb:100 0.035
Tags: @product
50.859
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 11.814
And I enable persistence creation in Tails Greeter 1.141
And I log in to a new session expecting no warning about the Persistent Storage not being activated 17.910
Then I create a persistent partition with the default settings using the wizard that was already open 19.992
After features/support/hooks.rb:330 1.713
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.236
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.465
When I enable persistence 34.103
Then no persistent Greeter options were restored 13.887
When I set all Greeter options to non-default values 25.174
And I log in to a new session in German (de) after having activated the Persistent Storage 55.371
Then all Greeter options are set to non-default values 0.439
When I cold reboot the computer 7.395
And the computer reboots Tails 1:0.041
Given I enable persistence 17.576
Then persistent Greeter options were restored 0.454
When I log in to a new session after having activated the Persistent Storage 37.716
Then all Greeter options are set to non-default values 0.607
After features/support/hooks.rb:330 1.551
After features/support/hooks.rb:100 0.011
Tags: @product
3:38.290
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.121
# 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 30.780
And I shutdown Tails and wait for the computer to power off 12.746
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.810
And I change the passphrase of the Persistent Storage back to the original 38.831
After features/support/hooks.rb:330 1.789
After features/support/hooks.rb:100 0.012
Tags: @product
57.269
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 10.033
And I log in to a new session without activating the Persistent Storage 20.376
Then persistence is disabled 0.251
But a Tails persistence partition exists on USB drive "__internal" 10.140
And all notifications have disappeared 9.482
When I delete the persistent partition 6.463
Then there is no persistence partition on USB drive "__internal" 0.522
After features/support/hooks.rb:330 1.648
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.348
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 23.074
When I write some dotfile expected to persist 0.078
And I shutdown Tails and wait for the computer to power off 8.842
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.878
Then the expected persistent dotfile is present in the filesystem 0.474
After features/support/hooks.rb:330 1.429
After features/support/hooks.rb:100 0.008
Tags: @product
1:34.437
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.622
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.073
When I try to enable persistence 0.260
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.342
When I log in to a new session after having activated the Persistent Storage 38.611
And all notifications have disappeared 8.982
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.886
And all tps features are enabled 2.733
And all tps features but the first one are active 1.924
After features/support/hooks.rb:330 2.697
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.206
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:0.430
And I enable persistence 32.066
And I log in to a new session after having activated the Persistent Storage 44.914
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.092
And persistence is enabled 2.702
After features/support/hooks.rb:330 1.810
After features/support/hooks.rb:100 0.000
Tags: @product
28.039
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.432
And I enable persistence but something goes wrong during the LUKS header upgrade 18.712
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.894
After features/support/hooks.rb:330 0.721
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.773
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 23.371
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.530
When I enable persistence 30.022
Then the filesystem of the Persistent Storage was repaired 0.124
And persistence is successfully enabled 6.723
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.000
Tags: @product
47.376
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.453
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.153
When I try to enable persistence 0.428
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.844
When I repair the filesystem of the Persistent Storage 1.346
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.534
And the filesystem of the Persistent Storage was repaired 0.966
When I close the filesystem repair dialog 1.226
Then persistence is successfully enabled 1.422
After features/support/hooks.rb:330 1.819
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.264
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.882
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.096
When I try to enable persistence 0.283
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.226
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.071
When I log in to a new session 40.262
And all notifications have disappeared 7.308
# 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.628
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.289
When I close the "whisperback" window 1.550
Then the Tor Browser starts 20.452
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.932
After features/support/hooks.rb:330 2.086
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.452
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" in a way which can't be automatically repaired 5.941
And Tails detects disk read failures on the boot device 0.411
When I try to enable persistence 0.506
Then the Welcome Screen tells me that my hardware is probably failing 17.899
When I log in to a new session 47.941
And all notifications have disappeared 7.698
Then the Tor Browser starts 22.903
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.857
After features/support/hooks.rb:330 2.555
After features/support/hooks.rb:100 0.000