Project Number Date
test_Tails_ISO_feature-arti 84 07 Jun 2025, 16:28

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 42:26.673 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:1.182
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:49.483
And I update APT using apt 41.827
And I install "python3-behave" using apt 26.655
Then the Tails Persistent Storage behave tests pass 3.215
After features/support/hooks.rb:330 0.826
After features/support/hooks.rb:100 0.000
Tags: @product
59.443
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 24.015
When I log in to a new session without activating the Persistent Storage 24.789
Then Tails is running from USB drive "__internal" 0.618
And persistence is disabled 0.510
But a Tails persistence partition exists on USB drive "__internal" 9.509
After features/support/hooks.rb:330 1.416
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.682
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 without a persistent partition and logged in 16.277
Then Tails is running from USB drive "__internal" 1.213
When I create a file in the Persistent directory 0.216
And I create a persistent partition with the default settings 24.276
Then the file I created was copied to the Persistent Storage 2.680
When I shutdown Tails and wait for the computer to power off 13.357
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.224
Then persistence for "Persistent" is active 0.340
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:330 1.974
After features/support/hooks.rb:100 0.024
Tags: @product
1:18.971
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 15.480
And the system is very low on memory 8.807
When I create a file in the Persistent directory 1.165
When I try to create a persistent partition 32.809
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.287
When I close the Persistent Storage app 2.668
And I free up some memory 3.776
And I create a persistent partition with the default settings 13.431
Then the file I created was copied to the Persistent Storage 0.543
After features/support/hooks.rb:330 2.344
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.606
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.042
Then Tails is running from USB drive "__internal" 0.880
And all tps features are active 2.707
And all persistent directories have safe access rights 2.776
When I disable the first tps feature 6.426
Then all tps features but the first one are active 2.228
And I shutdown Tails and wait for the computer to power off 17.921
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.257
Then all tps features but the first one are active 2.365
After features/support/hooks.rb:330 1.419
After features/support/hooks.rb:100 0.008
Tags: @product
20.340
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.523
Then persistence for "Persistent" is active 0.112
And I create a file in the Persistent directory 0.183
Then the file I created was copied to the Persistent Storage 0.119
When I disable the first tps feature 5.907
Then persistence for "Persistent" is not active 0.102
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.170
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 1.582
After features/support/hooks.rb:100 0.000
Tags: @product
19.394
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.402
Then persistence for "Persistent" is active 0.115
When I create a file in the Persistent directory 0.091
And I disable the first tps feature 5.935
And I delete the data of the Persistent Folder feature 3.786
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:330 1.607
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.501
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.406
And the network is plugged 0.201
And Tor is ready 20.130
And I take note of which tps features are available 0.711
When I write some files expected to persist 1.455
And I shutdown Tails and wait for the computer to power off 9.081
# 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.514
After features/support/hooks.rb:330 0.105
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.061
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.621
And the network is plugged 0.601
And Tor is ready 19.817
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.235
And I shutdown Tails and wait for the computer to power off 8.406
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.627
And I capture all network traffic 0.016
And the network is plugged 0.078
And Tor is ready 20.958
And I switch to the "persistent-con-current" NetworkManager connection 0.449
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.170
After features/support/hooks.rb:330 0.729
After features/support/hooks.rb:100 0.052
Tags: @product
1:3.964
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 15.355
And I enable persistence creation in Tails Greeter 1.429
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.589
Then I create a persistent partition with the default settings using the wizard that was already open 25.590
After features/support/hooks.rb:330 2.759
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.331
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.221
When I enable persistence 37.424
Then no persistent Greeter options were restored 14.436
When I set all Greeter options to non-default values 27.841
And I log in to a new session in German (de) after having activated the Persistent Storage 43.212
Then all Greeter options are set to non-default values 0.428
When I cold reboot the computer 7.667
And the computer reboots Tails 1:0.271
Given I enable persistence 18.037
Then persistent Greeter options were restored 0.557
When I log in to a new session after having activated the Persistent Storage 41.734
Then all Greeter options are set to non-default values 0.496
After features/support/hooks.rb:330 1.636
After features/support/hooks.rb:100 0.019
Tags: @product
3:39.923
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 12.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 35.163
And I shutdown Tails and wait for the computer to power off 13.482
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.307
And I change the passphrase of the Persistent Storage back to the original 27.730
After features/support/hooks.rb:330 3.648
After features/support/hooks.rb:100 0.009
Tags: @product
55.060
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.407
And I log in to a new session without activating the Persistent Storage 22.399
Then persistence is disabled 0.500
But a Tails persistence partition exists on USB drive "__internal" 6.976
And all notifications have disappeared 8.959
When I delete the persistent partition 5.950
Then there is no persistence partition on USB drive "__internal" 0.866
After features/support/hooks.rb:330 1.404
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.063
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 10.337
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 11.169
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.986
Then the expected persistent dotfile is present in the filesystem 0.486
After features/support/hooks.rb:330 1.756
After features/support/hooks.rb:100 0.009
Tags: @product
1:46.127
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.224
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.268
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.280
When I log in to a new session after having activated the Persistent Storage 46.703
And all notifications have disappeared 8.058
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.302
And all tps features are enabled 3.652
And all tps features but the first one are active 2.549
After features/support/hooks.rb:330 2.236
After features/support/hooks.rb:100 0.000
Tags: @product
5:9.753
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:50.007
And I enable persistence 34.151
And I log in to a new session after having activated the Persistent Storage 41.760
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.282
And persistence is enabled 2.551
After features/support/hooks.rb:330 2.050
After features/support/hooks.rb:100 0.000
Tags: @product
33.412
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 10.078
And I enable persistence but something goes wrong during the LUKS header upgrade 22.545
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.788
After features/support/hooks.rb:330 0.748
After features/support/hooks.rb:100 0.000
Tags: @product
49.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 8.942
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.999
When I enable persistence 32.423
Then the filesystem of the Persistent Storage was repaired 0.079
And persistence is successfully enabled 2.793
After features/support/hooks.rb:330 3.344
After features/support/hooks.rb:100 0.000
Tags: @product
52.368
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.971
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.066
When I try to enable persistence 0.473
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.385
When I repair the filesystem of the Persistent Storage 1.295
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.670
And the filesystem of the Persistent Storage was repaired 3.154
When I close the filesystem repair dialog 1.878
Then persistence is successfully enabled 1.471
After features/support/hooks.rb:330 2.035
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.405
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.081
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.276
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.565
When I repair the filesystem of the Persistent Storage 2.268
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 35.159
And all notifications have disappeared 8.849
# 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.488
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.182
When I close the "whisperback" window 1.589
Then the Tor Browser starts 16.574
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.178
After features/support/hooks.rb:330 2.090
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.842
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.847
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.387
And Tails detects disk read failures on the boot device 1.636
When I try to enable persistence 0.484
Then the Welcome Screen tells me that my hardware is probably failing 20.344
When I log in to a new session 46.468
And all notifications have disappeared 9.296
Then the Tor Browser starts 22.399
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.979
After features/support/hooks.rb:330 2.305
After features/support/hooks.rb:100 0.000