Project Number Date
test_Tails_ISO_devel 3848 02 Jun 2025, 13:08

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 41:16.013 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.086
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:41.568
And I update APT using apt 13.500
And I install "python3-behave" using apt 23.110
Then the Tails Persistent Storage behave tests pass 2.907
After features/support/hooks.rb:330 0.648
After features/support/hooks.rb:100 0.000
Tags: @product
59.249
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 25.815
When I log in to a new session without activating the Persistent Storage 24.406
Then Tails is running from USB drive "__internal" 0.550
And persistence is disabled 0.242
But a Tails persistence partition exists on USB drive "__internal" 8.234
After features/support/hooks.rb:330 1.406
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.896
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 12.905
Then Tails is running from USB drive "__internal" 0.436
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 25.001
Then the file I created was copied to the Persistent Storage 2.021
When I shutdown Tails and wait for the computer to power off 12.760
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.161
Then persistence for "Persistent" is active 0.394
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:330 2.139
After features/support/hooks.rb:100 0.010
Tags: @product
1:9.417
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.984
And the system is very low on memory 4.919
When I create a file in the Persistent directory 0.981
When I try to create a persistent partition 29.444
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.404
When I close the Persistent Storage app 2.587
And I free up some memory 3.860
And I create a persistent partition with the default settings 13.944
Then the file I created was copied to the Persistent Storage 0.290
After features/support/hooks.rb:330 1.773
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.560
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 16.316
Then Tails is running from USB drive "__internal" 0.662
And all tps features are active 2.301
And all persistent directories have safe access rights 2.871
When I disable the first tps feature 6.111
Then all tps features but the first one are active 2.190
And I shutdown Tails and wait for the computer to power off 22.129
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.613
Then all tps features but the first one are active 2.363
After features/support/hooks.rb:330 0.771
After features/support/hooks.rb:100 0.014
Tags: @product
21.028
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 11.133
Then persistence for "Persistent" is active 0.082
And I create a file in the Persistent directory 0.144
Then the file I created was copied to the Persistent Storage 0.146
When I disable the first tps feature 6.059
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.041
When I enable the first tps feature 3.171
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 1.623
After features/support/hooks.rb:100 0.000
Tags: @product
21.207
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 10.460
Then persistence for "Persistent" is active 0.128
When I create a file in the Persistent directory 0.121
And I disable the first tps feature 6.735
And I delete the data of the Persistent Folder feature 3.706
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.661
After features/support/hooks.rb:100 0.000
Tags: @product
1:38.522
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 10.383
And the network is plugged 0.068
And Tor is ready 52.575
And I take note of which tps features are available 0.543
When I write some files expected to persist 1.591
And I shutdown Tails and wait for the computer to power off 8.956
# 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.404
After features/support/hooks.rb:330 0.184
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.504
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.157
And the network is plugged 0.070
And Tor is ready 21.874
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.225
And I shutdown Tails and wait for the computer to power off 8.321
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.583
And I capture all network traffic 0.037
And the network is plugged 0.090
And Tor is ready 20.596
And I switch to the "persistent-con-current" NetworkManager connection 0.316
And the 1st network device has a spoofed MAC address configured 0.084
And no network device leaked the real MAC address 0.145
After features/support/hooks.rb:330 0.616
After features/support/hooks.rb:100 0.082
Tags: @product
1:13.658
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 28.454
And I enable persistence creation in Tails Greeter 1.132
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.649
Then I create a persistent partition with the default settings using the wizard that was already open 23.421
After features/support/hooks.rb:330 1.969
After features/support/hooks.rb:100 0.000
Tags: @product
4:21.142
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 11.278
When I enable persistence 32.003
Then no persistent Greeter options were restored 14.454
When I set all Greeter options to non-default values 24.841
And I log in to a new session in German (de) after having activated the Persistent Storage 48.078
Then all Greeter options are set to non-default values 0.704
When I cold reboot the computer 7.581
And the computer reboots Tails 1:5.847
Given I enable persistence 16.885
Then persistent Greeter options were restored 0.510
When I log in to a new session after having activated the Persistent Storage 38.180
Then all Greeter options are set to non-default values 0.774
After features/support/hooks.rb:330 1.446
After features/support/hooks.rb:100 0.011
Tags: @product
3:48.145
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 11.046
# 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 37.675
And I shutdown Tails and wait for the computer to power off 12.487
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.084
And I change the passphrase of the Persistent Storage back to the original 33.851
After features/support/hooks.rb:330 2.993
After features/support/hooks.rb:100 0.036
Tags: @product
54.899
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 9.534
And I log in to a new session without activating the Persistent Storage 22.404
Then persistence is disabled 0.566
But a Tails persistence partition exists on USB drive "__internal" 7.053
And all notifications have disappeared 8.298
When I delete the persistent partition 6.099
Then there is no persistence partition on USB drive "__internal" 0.943
After features/support/hooks.rb:330 1.301
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.958
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.418
When I write some dotfile expected to persist 0.075
And I shutdown Tails and wait for the computer to power off 13.518
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.496
Then the expected persistent dotfile is present in the filesystem 0.450
After features/support/hooks.rb:330 1.313
After features/support/hooks.rb:100 0.093
Tags: @product
1:50.152
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.258
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.104
When I try to enable persistence 0.294
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.486
When I log in to a new session after having activated the Persistent Storage 45.563
And all notifications have disappeared 9.511
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.939
And all tps features are enabled 3.042
And all tps features but the first one are active 1.950
After features/support/hooks.rb:330 1.510
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.699
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 3:4.913
And I enable persistence 35.582
And I log in to a new session after having activated the Persistent Storage 40.009
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.706
And persistence is enabled 3.488
After features/support/hooks.rb:330 1.687
After features/support/hooks.rb:100 0.000
Tags: @product
33.096
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 9.586
And I enable persistence but something goes wrong during the LUKS header upgrade 22.575
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.934
After features/support/hooks.rb:330 0.769
After features/support/hooks.rb:100 0.000
Tags: @product
47.270
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.832
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.108
When I enable persistence 29.104
Then the filesystem of the Persistent Storage was repaired 0.155
And persistence is successfully enabled 3.068
After features/support/hooks.rb:330 1.609
After features/support/hooks.rb:100 0.000
Tags: @product
52.700
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 8.967
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.205
When I try to enable persistence 0.504
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.650
When I repair the filesystem of the Persistent Storage 3.483
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.769
And the filesystem of the Persistent Storage was repaired 3.444
When I close the filesystem repair dialog 1.193
Then persistence is successfully enabled 1.480
After features/support/hooks.rb:330 1.598
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.150
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 9.046
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.307
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.527
When I repair the filesystem of the Persistent Storage 1.273
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 38.954
And all notifications have disappeared 11.163
# 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.280
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.772
When I close the "whisperback" window 1.466
Then the Tor Browser starts 19.282
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.892
After features/support/hooks.rb:330 1.996
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.666
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.568
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.377
And Tails detects disk read failures on the boot device 1.665
When I try to enable persistence 0.481
Then the Welcome Screen tells me that my hardware is probably failing 20.098
When I log in to a new session 47.806
And all notifications have disappeared 9.124
Then the Tor Browser starts 22.379
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.164
After features/support/hooks.rb:330 3.642
After features/support/hooks.rb:100 0.000