Project Number Date
test_Tails_ISO_devel 3855 05 Jun 2025, 13:26

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:30.761 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:28.703
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 2:35.505
And I update APT using apt 15.793
And I install "python3-behave" using apt 33.495
Then the Tails Persistent Storage behave tests pass 3.908
After features/support/hooks.rb:330 0.891
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.456
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 25.443
When I log in to a new session without activating the Persistent Storage 28.846
Then Tails is running from USB drive "__internal" 0.884
And persistence is disabled 0.474
But a Tails persistence partition exists on USB drive "__internal" 14.806
After features/support/hooks.rb:330 1.905
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.587
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 1:3.741
Then Tails is running from USB drive "__internal" 0.680
When I create a file in the Persistent directory 0.172
And I create a persistent partition with the default settings 28.431
Then the file I created was copied to the Persistent Storage 2.816
When I shutdown Tails and wait for the computer to power off 13.864
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:44.317
Then persistence for "Persistent" is active 0.428
And the file I created in the Persistent directory exists 0.135
After features/support/hooks.rb:330 2.099
After features/support/hooks.rb:100 0.023
Tags: @product
1:32.776
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 32.756
And the system is very low on memory 4.515
When I create a file in the Persistent directory 1.460
When I try to create a persistent partition 30.528
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.247
When I close the Persistent Storage app 2.700
And I free up some memory 3.634
And I create a persistent partition with the default settings 16.500
Then the file I created was copied to the Persistent Storage 0.433
After features/support/hooks.rb:330 2.668
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.260
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 28.243
Then Tails is running from USB drive "__internal" 1.168
And all tps features are active 3.185
And all persistent directories have safe access rights 2.791
When I disable the first tps feature 7.956
Then all tps features but the first one are active 8.423
And I shutdown Tails and wait for the computer to power off 13.338
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.373
Then all tps features but the first one are active 5.780
After features/support/hooks.rb:330 2.118
After features/support/hooks.rb:100 0.027
Tags: @product
29.177
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.901
Then persistence for "Persistent" is active 0.109
And I create a file in the Persistent directory 0.166
Then the file I created was copied to the Persistent Storage 0.150
When I disable the first tps feature 8.009
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.416
Then persistence for "Persistent" is active 0.197
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:330 2.066
After features/support/hooks.rb:100 0.000
Tags: @product
43.917
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 31.872
Then persistence for "Persistent" is active 0.112
When I create a file in the Persistent directory 0.135
And I disable the first tps feature 7.768
And I delete the data of the Persistent Folder feature 3.939
Then the file I created does not exist on the Persistent Storage 0.089
After features/support/hooks.rb:330 1.929
After features/support/hooks.rb:100 0.000
Tags: @product
1:28.954
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 18.393
And the network is plugged 0.210
And Tor is ready 20.991
And I take note of which tps features are available 4.980
When I write some files expected to persist 1.930
And I shutdown Tails and wait for the computer to power off 13.655
# 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" 28.793
After features/support/hooks.rb:330 0.460
After features/support/hooks.rb:100 0.000
Tags: @product
3:36.593
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 14.655
And the network is plugged 0.760
And Tor is ready 20.040
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.231
And I shutdown Tails and wait for the computer to power off 11.610
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.729
And I capture all network traffic 0.009
And the network is plugged 0.108
And Tor is ready 23.683
And I switch to the "persistent-con-current" NetworkManager connection 0.410
And the 1st network device has a spoofed MAC address configured 0.157
And no network device leaked the real MAC address 0.195
After features/support/hooks.rb:330 0.743
After features/support/hooks.rb:100 0.053
Tags: @product
1:49.494
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 stopped at Tails Greeter's login screen 51.907
And I enable persistence creation in Tails Greeter 1.135
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.859
Then I create a persistent partition with the default settings using the wizard that was already open 29.591
After features/support/hooks.rb:330 4.611
After features/support/hooks.rb:100 0.000
Tags: @product
5:49.288
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 34.733
When I enable persistence 53.790
Then no persistent Greeter options were restored 14.665
When I set all Greeter options to non-default values 33.084
And I log in to a new session in German (de) after having activated the Persistent Storage 48.566
Then all Greeter options are set to non-default values 0.538
When I cold reboot the computer 8.632
And the computer reboots Tails 1:6.418
Given I enable persistence 39.211
Then persistent Greeter options were restored 0.608
When I log in to a new session after having activated the Persistent Storage 48.422
Then all Greeter options are set to non-default values 0.616
After features/support/hooks.rb:330 1.900
After features/support/hooks.rb:100 0.012
Tags: @product
4:28.384
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 13.486
# 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 39.420
And I shutdown Tails and wait for the computer to power off 14.953
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:40.536
And I change the passphrase of the Persistent Storage back to the original 39.987
After features/support/hooks.rb:330 2.281
After features/support/hooks.rb:100 0.007
Tags: @product
1:9.459
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 16.616
And I log in to a new session without activating the Persistent Storage 21.034
Then persistence is disabled 0.448
But a Tails persistence partition exists on USB drive "__internal" 12.270
And all notifications have disappeared 11.610
When I delete the persistent partition 6.539
Then there is no persistence partition on USB drive "__internal" 0.939
After features/support/hooks.rb:330 1.207
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.417
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 14.503
When I write some dotfile expected to persist 0.442
And I shutdown Tails and wait for the computer to power off 11.474
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:44.600
Then the expected persistent dotfile is present in the filesystem 0.395
After features/support/hooks.rb:330 1.455
After features/support/hooks.rb:100 0.009
Tags: @product
1:53.162
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.840
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.101
When I try to enable persistence 1.357
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.744
When I log in to a new session after having activated the Persistent Storage 44.248
And all notifications have disappeared 8.638
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.590
And all tps features are enabled 3.299
And all tps features but the first one are active 2.342
After features/support/hooks.rb:330 1.902
After features/support/hooks.rb:100 0.000
Tags: @product
10:31.005
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8:53.849
And I enable persistence 38.120
And I log in to a new session after having activated the Persistent Storage 52.561
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.396
And persistence is enabled 3.076
After features/support/hooks.rb:330 1.416
After features/support/hooks.rb:100 0.000
Tags: @product
35.934
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
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 15.564
And I enable persistence but something goes wrong during the LUKS header upgrade 19.585
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.784
After features/support/hooks.rb:330 0.711
After features/support/hooks.rb:100 0.000
Tags: @product
58.883
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 10.538
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.414
When I enable persistence 37.031
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.809
After features/support/hooks.rb:330 1.264
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.557
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.703
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.034
When I try to enable persistence 0.586
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.729
When I repair the filesystem of the Persistent Storage 5.182
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.244
And the filesystem of the Persistent Storage was repaired 3.063
When I close the filesystem repair dialog 1.261
Then persistence is successfully enabled 1.752
After features/support/hooks.rb:330 1.323
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.794
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 10.211
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.163
When I try to enable persistence 0.314
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 40.861
When I repair the filesystem of the Persistent Storage 1.464
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 32.824
And all notifications have disappeared 9.126
# 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.485
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.660
When I close the "whisperback" window 1.491
Then the Tor Browser starts 23.924
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.180
After features/support/hooks.rb:330 3.294
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.952
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 with a persistent partition and stopped at Tails Greeter's login screen 9.841
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.674
And Tails detects disk read failures on the boot device 0.605
When I try to enable persistence 0.463
Then the Welcome Screen tells me that my hardware is probably failing 23.824
When I log in to a new session 50.103
And all notifications have disappeared 9.638
Then the Tor Browser starts 26.638
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.162
After features/support/hooks.rb:330 3.680
After features/support/hooks.rb:100 0.000