Project Number Date
test_Tails_ISO_feature-arti 110 08 Jul 2025, 01:13

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 48:9.221 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:8.882
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:51.534
And I update APT using apt 46.069
And I install "python3-behave" using apt 27.794
Then the Tails Persistent Storage behave tests pass 3.483
After features/support/hooks.rb:330 1.371
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.833
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.061
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.132
When I log in to a new session without activating the Persistent Storage 32.416
Then Tails is running from USB drive "__internal" 0.415
And persistence is disabled 0.466
But a Tails persistence partition exists on USB drive "__internal" 17.402
After features/support/hooks.rb:330 1.612
After features/support/hooks.rb:100 0.000
Tags: @product
4:2.314
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.042
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.900
Then Tails is running from USB drive "__internal" 0.603
When I create a file in the Persistent directory 0.189
And I create a persistent partition with the default settings 27.598
Then the file I created was copied to the Persistent Storage 2.474
When I shutdown Tails and wait for the computer to power off 13.666
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:0.170
Then persistence for "Persistent" is active 0.639
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 2.004
After features/support/hooks.rb:100 0.008
Tags: @product
1:13.622
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 15.420
And the system is very low on memory 3.856
When I create a file in the Persistent directory 1.200
When I try to create a persistent partition 26.811
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.009
When I close the Persistent Storage app 3.568
And I free up some memory 3.725
And I create a persistent partition with the default settings 17.666
Then the file I created was copied to the Persistent Storage 0.364
After features/support/hooks.rb:330 2.452
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.027
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 enabled and logged in 12.672
Then Tails is running from USB drive "__internal" 1.080
And all tps features are active 3.097
And all persistent directories have safe access rights 3.641
When I disable the first tps feature 6.349
Then all tps features but the first one are active 2.812
And I shutdown Tails and wait for the computer to power off 15.182
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.791
Then all tps features but the first one are active 3.400
After features/support/hooks.rb:330 2.033
After features/support/hooks.rb:100 0.028
Tags: @product
22.788
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 enabled and logged in 11.192
Then persistence for "Persistent" is active 0.697
And I create a file in the Persistent directory 0.323
Then the file I created was copied to the Persistent Storage 0.150
When I disable the first tps feature 6.848
Then persistence for "Persistent" is not active 0.188
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.175
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 1.170
After features/support/hooks.rb:100 0.000
Tags: @product
21.189
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 10.916
Then persistence for "Persistent" is active 0.127
When I create a file in the Persistent directory 0.350
And I disable the first tps feature 6.069
And I delete the data of the Persistent Folder feature 3.662
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:330 1.790
After features/support/hooks.rb:100 0.000
Tags: @product
1:30.536
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 12.937
And the network is plugged 0.149
And Tor is ready 34.464
And I take note of which tps features are available 0.779
When I write some files expected to persist 2.328
And I shutdown Tails and wait for the computer to power off 9.031
# 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" 30.846
After features/support/hooks.rb:330 0.129
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.800
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 10.496
And the network is plugged 0.101
And Tor is ready 20.924
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.210
And I shutdown Tails and wait for the computer to power off 10.284
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.473
And I capture all network traffic 0.007
And the network is plugged 0.089
And Tor is ready 24.340
And I switch to the "persistent-con-current" NetworkManager connection 0.558
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.210
After features/support/hooks.rb:330 0.995
After features/support/hooks.rb:100 0.075
Tags: @product
1:9.475
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 14.496
And I enable persistence creation in Tails Greeter 1.148
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.796
Then I create a persistent partition with the default settings using the wizard that was already open 26.034
After features/support/hooks.rb:330 3.098
After features/support/hooks.rb:100 0.000
Tags: @product
5:18.574
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 and stopped at Tails Greeter's login screen 16.709
When I enable persistence 48.574
Then no persistent Greeter options were restored 15.531
When I set all Greeter options to non-default values 32.703
And I log in to a new session in German (de) after having activated the Persistent Storage 49.278
Then all Greeter options are set to non-default values 1.634
When I cold reboot the computer 9.230
And the computer reboots Tails 1:12.937
Given I enable persistence 23.468
Then persistent Greeter options were restored 0.562
When I log in to a new session after having activated the Persistent Storage 47.476
Then all Greeter options are set to non-default values 0.468
After features/support/hooks.rb:330 2.686
After features/support/hooks.rb:100 0.019
Tags: @product
4:25.873
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 persistent partition enabled and logged in 13.153
# 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 42.843
And I shutdown Tails and wait for the computer to power off 17.292
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:33.887
And I change the passphrase of the Persistent Storage back to the original 38.696
After features/support/hooks.rb:330 2.897
After features/support/hooks.rb:100 0.009
Tags: @product
1:10.183
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.187
And I log in to a new session without activating the Persistent Storage 27.927
Then persistence is disabled 0.478
But a Tails persistence partition exists on USB drive "__internal" 10.777
And all notifications have disappeared 12.227
When I delete the persistent partition 6.588
Then there is no persistence partition on USB drive "__internal" 0.997
After features/support/hooks.rb:330 1.327
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.296
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 enabled and logged in 12.866
When I write some dotfile expected to persist 0.110
And I shutdown Tails and wait for the computer to power off 10.902
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:42.463
Then the expected persistent dotfile is present in the filesystem 0.953
After features/support/hooks.rb:330 1.290
After features/support/hooks.rb:100 0.011
Tags: @product
1:59.600
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 persistent partition and stopped at Tails Greeter's login screen 10.500
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.153
When I try to enable persistence 0.283
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 40.721
When I log in to a new session after having activated the Persistent Storage 45.061
And all notifications have disappeared 9.490
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.042
And all tps features are enabled 5.447
And all tps features but the first one are active 2.901
After features/support/hooks.rb:330 1.828
After features/support/hooks.rb:100 0.000
Tags: @product
5:5.197
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:26.847
And I enable persistence 37.097
And I log in to a new session after having activated the Persistent Storage 55.621
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.084
And persistence is enabled 2.544
After features/support/hooks.rb:330 1.256
After features/support/hooks.rb:100 0.000
Tags: @product
33.158
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.732
And I enable persistence but something goes wrong during the LUKS header upgrade 22.364
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.061
After features/support/hooks.rb:330 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
57.384
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 11.342
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.253
When I enable persistence 34.003
Then the filesystem of the Persistent Storage was repaired 0.152
And persistence is successfully enabled 3.632
After features/support/hooks.rb:330 1.491
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.892
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.664
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.647
When I try to enable persistence 0.430
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.684
When I repair the filesystem of the Persistent Storage 1.310
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.609
And the filesystem of the Persistent Storage was repaired 4.183
When I close the filesystem repair dialog 1.703
Then persistence is successfully enabled 1.657
After features/support/hooks.rb:330 1.329
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:17.636
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.135
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.186
When I try to enable persistence 1.289
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.923
When I repair the filesystem of the Persistent Storage 1.328
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.103
When I log in to a new session 50.987
And all notifications have disappeared 9.033
# 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.602
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.390
When I close the "whisperback" window 1.689
Then the Tor Browser starts 20.736
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.230
After features/support/hooks.rb:330 4.092
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:23.951
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.885
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.236
And Tails detects disk read failures on the boot device 0.463
When I try to enable persistence 0.431
Then the Welcome Screen tells me that my hardware is probably failing 25.014
When I log in to a new session 58.449
And all notifications have disappeared 13.089
Then the Tor Browser starts 26.241
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.139
After features/support/hooks.rb:330 2.918
After features/support/hooks.rb:100 0.000