Project Number Date
test_Tails_ISO_feature-arti 102 30 Jun 2025, 18:10

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 56:16.454 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:43.375
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:16.407
And I update APT using apt 49.306
And I install "python3-behave" using apt 32.356
Then the Tails Persistent Storage behave tests pass 5.304
After features/support/hooks.rb:330 1.418
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.740
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 13.112
When I log in to a new session without activating the Persistent Storage 31.510
Then Tails is running from USB drive "__internal" 0.588
And persistence is disabled 0.415
But a Tails persistence partition exists on USB drive "__internal" 17.112
After features/support/hooks.rb:330 2.019
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.693
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 17.829
Then Tails is running from USB drive "__internal" 0.974
When I create a file in the Persistent directory 0.202
And I create a persistent partition with the default settings 37.610
Then the file I created was copied to the Persistent Storage 3.164
When I shutdown Tails and wait for the computer to power off 18.459
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:12.480
Then persistence for "Persistent" is active 1.849
And the file I created in the Persistent directory exists 0.122
After features/support/hooks.rb:330 0.989
After features/support/hooks.rb:100 0.012
Tags: @product
1:19.607
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.643
And the system is very low on memory 3.747
When I create a file in the Persistent directory 1.336
When I try to create a persistent partition 33.005
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.660
When I close the Persistent Storage app 3.042
And I free up some memory 3.716
And I create a persistent partition with the default settings 18.671
Then the file I created was copied to the Persistent Storage 0.783
After features/support/hooks.rb:330 2.069
After features/support/hooks.rb:100 0.000
Tags: @product
3:58.924
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 18.495
Then Tails is running from USB drive "__internal" 0.467
And all tps features are active 3.156
And all persistent directories have safe access rights 4.017
When I disable the first tps feature 11.638
Then all tps features but the first one are active 2.329
And I shutdown Tails and wait for the computer to power off 18.812
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:56.330
Then all tps features but the first one are active 3.676
After features/support/hooks.rb:330 1.928
After features/support/hooks.rb:100 0.008
Tags: @product
25.757
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 14.174
Then persistence for "Persistent" is active 0.171
And I create a file in the Persistent directory 0.144
Then the file I created was copied to the Persistent Storage 0.166
When I disable the first tps feature 6.562
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.058
When I enable the first tps feature 4.250
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 3.581
After features/support/hooks.rb:100 0.000
Tags: @product
29.729
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.273
Then persistence for "Persistent" is active 0.117
When I create a file in the Persistent directory 0.102
And I disable the first tps feature 9.697
And I delete the data of the Persistent Folder feature 4.485
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.456
After features/support/hooks.rb:100 0.000
Tags: @product
1:40.164
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 14.386
And the network is plugged 0.089
And Tor is ready 35.027
And I take note of which tps features are available 1.923
When I write some files expected to persist 2.644
And I shutdown Tails and wait for the computer to power off 8.077
# 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" 38.015
After features/support/hooks.rb:330 0.172
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.525
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.867
And the network is plugged 0.097
And Tor is ready 22.552
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.223
And I shutdown Tails and wait for the computer to power off 14.970
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:57.562
And I capture all network traffic 0.207
And the network is plugged 0.825
And Tor is ready 21.724
And I switch to the "persistent-con-current" NetworkManager connection 0.689
And the 1st network device has a spoofed MAC address configured 0.286
And no network device leaked the real MAC address 0.518
After features/support/hooks.rb:330 0.983
After features/support/hooks.rb:100 0.068
Tags: @product
1:42.102
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 29.525
And I enable persistence creation in Tails Greeter 2.178
And I log in to a new session expecting no warning about the Persistent Storage not being activated 33.038
Then I create a persistent partition with the default settings using the wizard that was already open 37.359
After features/support/hooks.rb:330 3.055
After features/support/hooks.rb:100 0.000
Tags: @product
6:11.980
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 18.080
When I enable persistence 1:2.180
Then no persistent Greeter options were restored 17.818
When I set all Greeter options to non-default values 39.446
And I log in to a new session in German (de) after having activated the Persistent Storage 45.203
Then all Greeter options are set to non-default values 0.543
When I cold reboot the computer 13.733
And the computer reboots Tails 1:29.070
Given I enable persistence 29.257
Then persistent Greeter options were restored 0.654
When I log in to a new session after having activated the Persistent Storage 54.679
Then all Greeter options are set to non-default values 1.311
After features/support/hooks.rb:330 2.866
After features/support/hooks.rb:100 0.009
Tags: @product
4:40.979
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 12.172
# 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 44.622
And I shutdown Tails and wait for the computer to power off 19.077
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:33.316
And I change the passphrase of the Persistent Storage back to the original 51.789
After features/support/hooks.rb:330 2.629
After features/support/hooks.rb:100 0.010
Tags: @product
1:21.896
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.015
And I log in to a new session without activating the Persistent Storage 36.925
Then persistence is disabled 1.295
But a Tails persistence partition exists on USB drive "__internal" 7.638
And all notifications have disappeared 14.644
When I delete the persistent partition 6.455
Then there is no persistence partition on USB drive "__internal" 0.922
After features/support/hooks.rb:330 1.457
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.202
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 15.116
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 15.245
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:50.358
Then the expected persistent dotfile is present in the filesystem 0.412
After features/support/hooks.rb:330 4.087
After features/support/hooks.rb:100 0.058
Tags: @product
2:29.522
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.029
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.051
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 57.992
When I log in to a new session after having activated the Persistent Storage 58.947
And all notifications have disappeared 7.855
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 7.504
And all tps features are enabled 2.759
And all tps features but the first one are active 2.036
After features/support/hooks.rb:330 1.997
After features/support/hooks.rb:100 0.000
Tags: @product
6:1.131
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 4:9.956
And I enable persistence 47.587
And I log in to a new session after having activated the Persistent Storage 59.641
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.134
And persistence is enabled 2.812
After features/support/hooks.rb:330 2.657
After features/support/hooks.rb:100 0.000
Tags: @product
46.502
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
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 13.916
And I enable persistence but something goes wrong during the LUKS header upgrade 28.496
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 4.089
After features/support/hooks.rb:330 2.692
After features/support/hooks.rb:100 0.000
Tags: @product
1:21.376
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.061
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 15.200
When I enable persistence 51.131
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 3.874
After features/support/hooks.rb:330 2.537
After features/support/hooks.rb:100 0.000
Tags: @product
1:26.965
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.241
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 15.897
When I try to enable persistence 0.525
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 48.649
When I repair the filesystem of the Persistent Storage 1.730
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.384
And the filesystem of the Persistent Storage was repaired 4.080
When I close the filesystem repair dialog 1.266
Then persistence is successfully enabled 2.189
After features/support/hooks.rb:330 4.131
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:48.703
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.405
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 0.454
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 50.624
When I repair the filesystem of the Persistent Storage 1.586
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.193
When I log in to a new session 1:3.495
And all notifications have disappeared 8.662
# 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" 3.864
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.625
When I close the "whisperback" window 2.115
Then the Tor Browser starts 22.456
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.102
After features/support/hooks.rb:330 4.888
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:36.572
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 16.185
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.701
And Tails detects disk read failures on the boot device 2.329
When I try to enable persistence 2.019
Then the Welcome Screen tells me that my hardware is probably failing 30.722
When I log in to a new session 57.369
And all notifications have disappeared 16.372
Then the Tor Browser starts 20.971
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.899
After features/support/hooks.rb:330 3.063
After features/support/hooks.rb:100 0.000