Project Number Date
test_Tails_ISO_devel 3847 01 Jun 2025, 13:18

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 45:4.892 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:38.522
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:55.598
And I update APT using apt 16.249
And I install "python3-behave" using apt 23.582
Then the Tails Persistent Storage behave tests pass 3.091
After features/support/hooks.rb:330 0.776
After features/support/hooks.rb:100 0.000
Tags: @product
53.087
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 12.529
When I log in to a new session without activating the Persistent Storage 28.629
Then Tails is running from USB drive "__internal" 0.740
And persistence is disabled 0.480
But a Tails persistence partition exists on USB drive "__internal" 10.707
After features/support/hooks.rb:330 1.674
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.243
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 15.482
Then Tails is running from USB drive "__internal" 0.554
When I create a file in the Persistent directory 0.183
And I create a persistent partition with the default settings 24.941
Then the file I created was copied to the Persistent Storage 2.135
When I shutdown Tails and wait for the computer to power off 13.319
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.216
Then persistence for "Persistent" is active 0.309
And the file I created in the Persistent directory exists 0.100
After features/support/hooks.rb:330 2.893
After features/support/hooks.rb:100 0.010
Tags: @product
1:20.812
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 26.254
And the system is very low on memory 4.790
When I create a file in the Persistent directory 1.261
When I try to create a persistent partition 29.263
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.255
When I close the Persistent Storage app 2.715
And I free up some memory 3.381
And I create a persistent partition with the default settings 12.627
Then the file I created was copied to the Persistent Storage 0.261
After features/support/hooks.rb:330 2.397
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.646
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.346
Then Tails is running from USB drive "__internal" 0.456
And all tps features are active 2.726
And all persistent directories have safe access rights 2.688
When I disable the first tps feature 5.291
Then all tps features but the first one are active 2.136
And I shutdown Tails and wait for the computer to power off 13.073
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.665
Then all tps features but the first one are active 2.261
After features/support/hooks.rb:330 1.360
After features/support/hooks.rb:100 0.007
Tags: @product
19.779
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.317
Then persistence for "Persistent" is active 0.219
And I create a file in the Persistent directory 0.117
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 5.551
Then persistence for "Persistent" is not active 0.103
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.163
Then persistence for "Persistent" is active 0.064
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.081
After features/support/hooks.rb:100 0.000
Tags: @product
19.504
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.972
Then persistence for "Persistent" is active 0.165
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 5.452
And I delete the data of the Persistent Folder feature 3.767
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.230
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.419
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 9.838
And the network is plugged 0.077
And Tor is ready 23.037
And I take note of which tps features are available 0.616
When I write some files expected to persist 1.585
And I shutdown Tails and wait for the computer to power off 10.843
# 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" 24.420
After features/support/hooks.rb:330 0.118
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.549
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.119
And the network is plugged 0.072
And Tor is ready 45.826
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.270
And I shutdown Tails and wait for the computer to power off 9.009
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.190
And I capture all network traffic 0.013
And the network is plugged 0.072
And Tor is ready 23.323
And I switch to the "persistent-con-current" NetworkManager connection 0.414
And the 1st network device has a spoofed MAC address configured 0.077
And no network device leaked the real MAC address 0.159
After features/support/hooks.rb:330 0.681
After features/support/hooks.rb:100 0.070
Tags: @product
1:2.171
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 without a persistent partition and stopped at Tails Greeter's login screen 15.967
And I enable persistence creation in Tails Greeter 1.381
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.362
Then I create a persistent partition with the default settings using the wizard that was already open 23.460
After features/support/hooks.rb:330 2.677
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.342
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 14.781
When I enable persistence 37.852
Then no persistent Greeter options were restored 14.203
When I set all Greeter options to non-default values 24.572
And I log in to a new session in German (de) after having activated the Persistent Storage 47.390
Then all Greeter options are set to non-default values 0.491
When I cold reboot the computer 7.899
And the computer reboots Tails 1:4.356
Given I enable persistence 20.091
Then persistent Greeter options were restored 0.669
When I log in to a new session after having activated the Persistent Storage 39.347
Then all Greeter options are set to non-default values 0.686
After features/support/hooks.rb:330 1.610
After features/support/hooks.rb:100 0.015
Tags: @product
3:41.678
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 9.656
# 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 34.570
And I shutdown Tails and wait for the computer to power off 13.483
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.069
And I change the passphrase of the Persistent Storage back to the original 35.898
After features/support/hooks.rb:330 3.761
After features/support/hooks.rb:100 0.010
Tags: @product
58.510
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.776
And I log in to a new session without activating the Persistent Storage 22.907
Then persistence is disabled 0.293
But a Tails persistence partition exists on USB drive "__internal" 9.065
And all notifications have disappeared 8.056
When I delete the persistent partition 6.624
Then there is no persistence partition on USB drive "__internal" 0.785
After features/support/hooks.rb:330 1.126
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.975
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.859
When I write some dotfile expected to persist 0.093
And I shutdown Tails and wait for the computer to power off 8.909
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.468
Then the expected persistent dotfile is present in the filesystem 0.645
After features/support/hooks.rb:330 1.352
After features/support/hooks.rb:100 0.008
Tags: @product
1:43.880
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.138
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.297
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.003
When I log in to a new session after having activated the Persistent Storage 46.325
And all notifications have disappeared 8.824
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.167
And all tps features are enabled 2.637
And all tps features but the first one are active 2.393
After features/support/hooks.rb:330 1.200
After features/support/hooks.rb:100 0.000
Tags: @product
7:28.454
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 6:5.413
And I enable persistence 36.110
And I log in to a new session after having activated the Persistent Storage 41.315
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.240
And persistence is enabled 3.373
After features/support/hooks.rb:330 1.359
After features/support/hooks.rb:100 0.000
Tags: @product
32.546
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 9.122
And I enable persistence but something goes wrong during the LUKS header upgrade 22.638
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.785
After features/support/hooks.rb:330 0.820
After features/support/hooks.rb:100 0.000
Tags: @product
50.261
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.632
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.147
When I enable persistence 31.528
Then the filesystem of the Persistent Storage was repaired 0.113
And persistence is successfully enabled 2.840
After features/support/hooks.rb:330 3.279
After features/support/hooks.rb:100 0.000
Tags: @product
52.384
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.399
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.868
When I try to enable persistence 0.426
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.617
When I repair the filesystem of the Persistent Storage 1.296
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.007
And the filesystem of the Persistent Storage was repaired 3.995
When I close the filesystem repair dialog 1.279
Then persistence is successfully enabled 1.493
After features/support/hooks.rb:330 1.602
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.862
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.512
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.313
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.138
When I repair the filesystem of the Persistent Storage 1.390
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 47.131
And all notifications have disappeared 11.000
# 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.785
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.922
When I close the "whisperback" window 1.501
Then the Tor Browser starts 16.993
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.988
After features/support/hooks.rb:330 3.518
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.259
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 10.296
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.688
And Tails detects disk read failures on the boot device 1.596
When I try to enable persistence 0.401
Then the Welcome Screen tells me that my hardware is probably failing 20.572
When I log in to a new session 51.457
And all notifications have disappeared 7.290
Then the Tor Browser starts 22.914
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.040
After features/support/hooks.rb:330 3.844
After features/support/hooks.rb:100 0.000