Project Number Date
test_Tails_ISO_feature-arti 4 21 Mar 2025, 16:36

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 43:41.195 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:51.762
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:38.211
And I update APT using apt 4:44.713
And I install "python3-behave" using apt 25.890
Then the Tails Persistent Storage behave tests pass 2.947
After features/support/hooks.rb:330 0.669
After features/support/hooks.rb:100 0.000
Tags: @product
42.798
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.856
When I log in to a new session without activating the Persistent Storage 21.000
Then Tails is running from USB drive "__internal" 0.803
And persistence is disabled 0.781
But a Tails persistence partition exists on USB drive "__internal" 9.355
After features/support/hooks.rb:330 2.321
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.951
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 without a persistent partition and logged in 11.398
Then Tails is running from USB drive "__internal" 0.507
When I create a file in the Persistent directory 0.146
And I create a persistent partition with the default settings 22.052
Then the file I created was copied to the Persistent Storage 0.496
When I shutdown Tails and wait for the computer to power off 12.604
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.165
Then persistence for "Persistent" is active 1.483
And the file I created in the Persistent directory exists 0.096
After features/support/hooks.rb:330 1.674
After features/support/hooks.rb:100 0.009
Tags: @product
55.573
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 without a persistent partition and logged in 10.609
And the system is very low on memory 3.310
When I create a file in the Persistent directory 0.826
When I try to create a persistent partition 23.305
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.160
When I close the Persistent Storage app 2.565
And I free up some memory 1.789
And I create a persistent partition with the default settings 12.770
Then the file I created was copied to the Persistent Storage 0.237
After features/support/hooks.rb:330 2.213
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.830
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 12.082
Then Tails is running from USB drive "__internal" 0.568
And all tps features are active 2.453
And all persistent directories have safe access rights 2.534
When I disable the first tps feature 6.155
Then all tps features but the first one are active 2.064
And I shutdown Tails and wait for the computer to power off 14.808
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.848
Then all tps features but the first one are active 2.314
After features/support/hooks.rb:330 1.077
After features/support/hooks.rb:100 0.007
Tags: @product
20.015
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.231
Then persistence for "Persistent" is active 0.112
And I create a file in the Persistent directory 0.084
Then the file I created was copied to the Persistent Storage 0.105
When I disable the first tps feature 6.012
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.075
When I enable the first tps feature 3.166
Then persistence for "Persistent" is active 0.068
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.502
After features/support/hooks.rb:100 0.000
Tags: @product
19.401
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.054
Then persistence for "Persistent" is active 0.107
When I create a file in the Persistent directory 0.150
And I disable the first tps feature 6.293
And I delete the data of the Persistent Folder feature 3.742
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:330 1.525
After features/support/hooks.rb:100 0.000
Tags: @product
1:34.415
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.442
And the network is plugged 0.078
And Tor is ready 49.887
And I take note of which tps features are available 0.662
When I write some files expected to persist 1.666
And I shutdown Tails and wait for the computer to power off 8.715
# 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" 23.963
After features/support/hooks.rb:330 0.107
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.797
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.568
And the network is plugged 0.086
And Tor is ready 20.481
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.193
And I shutdown Tails and wait for the computer to power off 8.291
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.758
And I capture all network traffic 0.006
And the network is plugged 0.074
And Tor is ready 16.692
And I switch to the "persistent-con-current" NetworkManager connection 0.373
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.172
After features/support/hooks.rb:330 1.331
After features/support/hooks.rb:100 0.057
Tags: @product
54.987
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.191
And I enable persistence creation in Tails Greeter 1.134
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.446
Then I create a persistent partition with the default settings using the wizard that was already open 21.215
After features/support/hooks.rb:330 2.196
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.301
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.048
When I enable persistence 30.614
Then no persistent Greeter options were restored 14.008
When I set all Greeter options to non-default values 28.380
And I log in to a new session in German (de) after having activated the Persistent Storage 52.051
Then all Greeter options are set to non-default values 0.764
When I cold reboot the computer 7.360
And the computer reboots Tails 59.405
Given I enable persistence 17.477
Then persistent Greeter options were restored 0.474
When I log in to a new session after having activated the Persistent Storage 38.344
Then all Greeter options are set to non-default values 0.371
After features/support/hooks.rb:330 1.444
After features/support/hooks.rb:100 0.009
Tags: @product
3:31.560
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.789
# 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 32.823
And I shutdown Tails and wait for the computer to power off 12.621
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:1.261
And I change the passphrase of the Persistent Storage back to the original 35.064
After features/support/hooks.rb:330 2.232
After features/support/hooks.rb:100 0.007
Tags: @product
53.322
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.361
And I log in to a new session without activating the Persistent Storage 18.733
Then persistence is disabled 0.633
But a Tails persistence partition exists on USB drive "__internal" 8.889
And all notifications have disappeared 9.262
When I delete the persistent partition 6.029
Then there is no persistence partition on USB drive "__internal" 0.413
After features/support/hooks.rb:330 1.279
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.707
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 8.971
When I write some dotfile expected to persist 0.130
And I shutdown Tails and wait for the computer to power off 8.533
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.630
Then the expected persistent dotfile is present in the filesystem 0.441
After features/support/hooks.rb:330 0.994
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.544
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 8.781
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.291
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.097
When I log in to a new session after having activated the Persistent Storage 43.962
And all notifications have disappeared 7.875
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.883
And all tps features are enabled 2.577
And all tps features but the first one are active 1.991
After features/support/hooks.rb:330 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.924
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:21.241
And I enable persistence 29.323
And I log in to a new session after having activated the Persistent Storage 47.780
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.627
And persistence is enabled 2.951
After features/support/hooks.rb:330 1.744
After features/support/hooks.rb:100 0.000
Tags: @product
29.187
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 8.362
And I enable persistence but something goes wrong during the LUKS header upgrade 19.931
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.894
After features/support/hooks.rb:330 0.759
After features/support/hooks.rb:100 0.000
Tags: @product
40.211
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.089
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.848
When I enable persistence 23.550
Then the filesystem of the Persistent Storage was repaired 0.082
And persistence is successfully enabled 2.641
After features/support/hooks.rb:330 3.194
After features/support/hooks.rb:100 0.000
Tags: @product
43.603
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.603
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.435
When I try to enable persistence 0.393
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.860
When I repair the filesystem of the Persistent Storage 2.712
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.858
And the filesystem of the Persistent Storage was repaired 1.115
When I close the filesystem repair dialog 2.154
Then persistence is successfully enabled 1.468
After features/support/hooks.rb:330 1.565
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.231
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 11.786
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.102
When I try to enable persistence 0.317
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.611
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.069
When I log in to a new session 37.115
And all notifications have disappeared 8.818
# 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.786
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.257
When I close the "whisperback" window 1.544
Then the Tor Browser starts 17.751
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.816
After features/support/hooks.rb:330 2.455
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.064
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.953
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.356
And Tails detects disk read failures on the boot device 1.508
When I try to enable persistence 1.439
Then the Welcome Screen tells me that my hardware is probably failing 17.482
When I log in to a new session 47.815
And all notifications have disappeared 7.450
Then the Tor Browser starts 20.302
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.754
After features/support/hooks.rb:330 2.775
After features/support/hooks.rb:100 0.000