Project Number Date
test_Tails_ISO_stable 5608 29 Apr 2025, 13:07

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:46.121 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.551
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.545
And I update APT using apt 14.635
And I install "python3-behave" using apt 26.642
Then the Tails Persistent Storage behave tests pass 2.727
After features/support/hooks.rb:330 1.151
After features/support/hooks.rb:100 0.000
Tags: @product
59.114
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 16.116
When I log in to a new session without activating the Persistent Storage 30.185
Then Tails is running from USB drive "__internal" 0.903
And persistence is disabled 0.727
But a Tails persistence partition exists on USB drive "__internal" 11.181
After features/support/hooks.rb:330 2.514
After features/support/hooks.rb:100 0.000
Tags: @product
3:34.775
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 16.933
Then Tails is running from USB drive "__internal" 0.381
When I create a file in the Persistent directory 0.182
And I create a persistent partition with the default settings 24.849
Then the file I created was copied to the Persistent Storage 2.541
When I shutdown Tails and wait for the computer to power off 15.917
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.424
Then persistence for "Persistent" is active 0.457
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:330 1.868
After features/support/hooks.rb:100 0.011
Tags: @product
1:2.258
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 12.600
And the system is very low on memory 2.777
When I create a file in the Persistent directory 1.317
When I try to create a persistent partition 24.129
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.278
When I close the Persistent Storage app 2.669
And I free up some memory 3.758
And I create a persistent partition with the default settings 14.390
Then the file I created was copied to the Persistent Storage 0.337
After features/support/hooks.rb:330 2.011
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.717
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 15.818
Then Tails is running from USB drive "__internal" 0.718
And all tps features are active 2.725
And all persistent directories have safe access rights 3.462
When I disable the first tps feature 6.170
Then all tps features but the first one are active 2.523
And I shutdown Tails and wait for the computer to power off 16.516
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.271
Then all tps features but the first one are active 2.509
After features/support/hooks.rb:330 1.758
After features/support/hooks.rb:100 0.013
Tags: @product
21.015
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 11.045
Then persistence for "Persistent" is active 0.170
And I create a file in the Persistent directory 0.212
Then the file I created was copied to the Persistent Storage 0.118
When I disable the first tps feature 5.914
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.163
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.153
After features/support/hooks.rb:330 1.359
After features/support/hooks.rb:100 0.000
Tags: @product
21.399
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.901
Then persistence for "Persistent" is active 0.121
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 6.306
And I delete the data of the Persistent Folder feature 3.898
Then the file I created does not exist on the Persistent Storage 0.094
After features/support/hooks.rb:330 1.441
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.506
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.272
And the network is plugged 0.075
And Tor is ready 20.848
And I take note of which tps features are available 0.675
When I write some files expected to persist 1.675
And I shutdown Tails and wait for the computer to power off 8.957
# 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.000
After features/support/hooks.rb:330 0.101
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.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.881
And the network is plugged 0.099
And Tor is ready 17.194
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.322
And I shutdown Tails and wait for the computer to power off 9.049
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.683
And I capture all network traffic 0.008
And the network is plugged 0.105
And Tor is ready 20.804
And I switch to the "persistent-con-current" NetworkManager connection 0.374
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.179
After features/support/hooks.rb:330 1.135
After features/support/hooks.rb:100 0.052
Tags: @product
1:54.599
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 stopped at Tails Greeter's login screen 59.314
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.434
Then I create a persistent partition with the default settings using the wizard that was already open 31.725
After features/support/hooks.rb:330 3.453
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.407
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 28.767
When I enable persistence 39.772
Then no persistent Greeter options were restored 14.791
When I set all Greeter options to non-default values 30.203
And I log in to a new session in German (de) after having activated the Persistent Storage 47.255
Then all Greeter options are set to non-default values 0.600
When I cold reboot the computer 7.647
And the computer reboots Tails 1:17.483
Given I enable persistence 21.730
Then persistent Greeter options were restored 0.754
When I log in to a new session after having activated the Persistent Storage 44.906
Then all Greeter options are set to non-default values 0.492
After features/support/hooks.rb:330 1.912
After features/support/hooks.rb:100 0.029
Tags: @product
4:16.658
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 10.296
# 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 43.160
And I shutdown Tails and wait for the computer to power off 15.249
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:32.537
And I change the passphrase of the Persistent Storage back to the original 35.414
After features/support/hooks.rb:330 3.247
After features/support/hooks.rb:100 0.011
Tags: @product
1:1.004
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.360
And I log in to a new session without activating the Persistent Storage 23.787
Then persistence is disabled 0.441
But a Tails persistence partition exists on USB drive "__internal" 8.990
And all notifications have disappeared 9.968
When I delete the persistent partition 6.528
Then there is no persistence partition on USB drive "__internal" 0.926
After features/support/hooks.rb:330 1.553
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.038
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 11.134
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 11.419
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.646
Then the expected persistent dotfile is present in the filesystem 0.766
After features/support/hooks.rb:330 1.621
After features/support/hooks.rb:100 0.015
Tags: @product
1:46.661
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.616
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.073
When I try to enable persistence 0.287
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.187
When I log in to a new session after having activated the Persistent Storage 42.407
And all notifications have disappeared 7.946
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.971
And all tps features are enabled 2.875
And all tps features but the first one are active 2.295
After features/support/hooks.rb:330 1.909
After features/support/hooks.rb:100 0.000
Tags: @product
5:44.658
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:11.685
And I enable persistence 36.444
And I log in to a new session after having activated the Persistent Storage 50.678
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.871
And persistence is enabled 3.979
After features/support/hooks.rb:330 2.132
After features/support/hooks.rb:100 0.000
Tags: @product
42.619
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 10.389
And I enable persistence but something goes wrong during the LUKS header upgrade 31.315
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.913
After features/support/hooks.rb:330 0.901
After features/support/hooks.rb:100 0.000
Tags: @product
54.732
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.934
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.812
When I enable persistence 35.007
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 2.881
After features/support/hooks.rb:330 2.053
After features/support/hooks.rb:100 0.000
Tags: @product
54.395
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.575
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.981
When I try to enable persistence 0.565
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.069
When I repair the filesystem of the Persistent Storage 1.762
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.964
And the filesystem of the Persistent Storage was repaired 4.629
When I close the filesystem repair dialog 1.300
Then persistence is successfully enabled 1.547
After features/support/hooks.rb:330 1.679
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.692
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.438
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.326
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.866
When I repair the filesystem of the Persistent Storage 1.241
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 32.107
And all notifications have disappeared 9.432
# 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" 1.392
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.870
When I close the "whisperback" window 1.625
Then the Tor Browser starts 23.193
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.999
After features/support/hooks.rb:330 2.906
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.511
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.893
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.534
And Tails detects disk read failures on the boot device 1.707
When I try to enable persistence 0.685
Then the Welcome Screen tells me that my hardware is probably failing 21.380
When I log in to a new session 49.930
And all notifications have disappeared 11.304
Then the Tor Browser starts 18.249
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.824
After features/support/hooks.rb:330 1.872
After features/support/hooks.rb:100 0.000