Project Number Date
test_Tails_ISO_20263-test-suite-without-spice 5 12 Mar 2025, 04:53

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:30.693 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.741
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.032
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.824
And I update APT using apt 13.429
And I install "python3-behave" using apt 25.796
Then the Tails Persistent Storage behave tests pass 2.690
After features/support/hooks.rb:330 0.665
After features/support/hooks.rb:100 0.000
Tags: @product
44.226
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.964
When I log in to a new session without activating the Persistent Storage 24.494
Then Tails is running from USB drive "__internal" 0.638
And persistence is disabled 0.582
But a Tails persistence partition exists on USB drive "__internal" 7.546
After features/support/hooks.rb:330 1.173
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.688
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 logged in 13.298
Then Tails is running from USB drive "__internal" 0.732
When I create a file in the Persistent directory 0.163
And I create a persistent partition with the default settings 22.514
Then the file I created was copied to the Persistent Storage 0.690
When I shutdown Tails and wait for the computer to power off 13.177
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.774
Then persistence for "Persistent" is active 0.272
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.950
After features/support/hooks.rb:100 0.011
Tags: @product
1:1.710
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 10.847
And the system is very low on memory 4.241
When I create a file in the Persistent directory 1.043
When I try to create a persistent partition 25.486
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.296
When I close the Persistent Storage app 2.682
And I free up some memory 1.561
And I create a persistent partition with the default settings 15.286
Then the file I created was copied to the Persistent Storage 0.264
After features/support/hooks.rb:330 2.501
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.567
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.992
Then Tails is running from USB drive "__internal" 2.330
And all tps features are active 2.415
And all persistent directories have safe access rights 2.841
When I disable the first tps feature 7.184
Then all tps features but the first one are active 2.022
And I shutdown Tails and wait for the computer to power off 15.106
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.118
Then all tps features but the first one are active 2.554
After features/support/hooks.rb:330 1.187
After features/support/hooks.rb:100 0.011
Tags: @product
25.126
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 13.899
Then persistence for "Persistent" is active 0.171
And I create a file in the Persistent directory 0.088
Then the file I created was copied to the Persistent Storage 0.078
When I disable the first tps feature 7.231
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.102
When I enable the first tps feature 3.297
Then persistence for "Persistent" is active 0.090
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.313
After features/support/hooks.rb:100 0.000
Tags: @product
18.939
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 8.970
Then persistence for "Persistent" is active 0.113
When I create a file in the Persistent directory 0.125
And I disable the first tps feature 5.903
And I delete the data of the Persistent Folder feature 3.769
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:330 1.290
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.853
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.200
And the network is plugged 0.088
And Tor is ready 24.691
And I take note of which tps features are available 0.596
When I write some files expected to persist 1.483
And I shutdown Tails and wait for the computer to power off 11.177
# 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.615
After features/support/hooks.rb:330 0.160
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.392
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.728
And the network is plugged 0.103
And Tor is ready 24.492
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.209
And I shutdown Tails and wait for the computer to power off 11.001
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.146
And I capture all network traffic 0.008
And the network is plugged 0.083
And Tor is ready 20.001
And I switch to the "persistent-con-current" NetworkManager connection 0.364
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.160
After features/support/hooks.rb:330 0.698
After features/support/hooks.rb:100 0.072
Tags: @product
56.680
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 12.178
And I enable persistence creation in Tails Greeter 1.361
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.821
Then I create a persistent partition with the default settings using the wizard that was already open 20.319
After features/support/hooks.rb:330 4.818
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.294
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 12.147
When I enable persistence 43.452
Then no persistent Greeter options were restored 15.191
When I set all Greeter options to non-default values 27.531
And I log in to a new session in German (de) after having activated the Persistent Storage 55.598
Then all Greeter options are set to non-default values 0.396
When I cold reboot the computer 7.332
And the computer reboots Tails 1:1.605
Given I enable persistence 17.411
Then persistent Greeter options were restored 0.601
When I log in to a new session after having activated the Persistent Storage 38.711
Then all Greeter options are set to non-default values 0.314
After features/support/hooks.rb:330 1.514
After features/support/hooks.rb:100 0.025
Tags: @product
3:44.661
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.060
# 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 36.808
And I shutdown Tails and wait for the computer to power off 10.970
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.725
And I change the passphrase of the Persistent Storage back to the original 41.096
After features/support/hooks.rb:330 2.981
After features/support/hooks.rb:100 0.011
Tags: @product
52.983
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 10.025
And I log in to a new session without activating the Persistent Storage 22.041
Then persistence is disabled 0.225
But a Tails persistence partition exists on USB drive "__internal" 4.949
And all notifications have disappeared 8.269
When I delete the persistent partition 7.059
Then there is no persistence partition on USB drive "__internal" 0.413
After features/support/hooks.rb:330 1.262
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.140
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.340
When I write some dotfile expected to persist 0.073
And I shutdown Tails and wait for the computer to power off 8.486
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.895
Then the expected persistent dotfile is present in the filesystem 0.343
After features/support/hooks.rb:330 1.019
After features/support/hooks.rb:100 0.010
Tags: @product
1:36.406
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.008
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.449
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.594
When I log in to a new session after having activated the Persistent Storage 43.742
And all notifications have disappeared 7.040
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.598
And all tps features are enabled 2.187
And all tps features but the first one are active 2.690
After features/support/hooks.rb:330 1.114
After features/support/hooks.rb:100 0.000
Tags: @product
5:33.285
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 4:2.017
And I enable persistence 39.644
And I log in to a new session after having activated the Persistent Storage 47.457
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.480
And persistence is enabled 2.685
After features/support/hooks.rb:330 1.119
After features/support/hooks.rb:100 0.000
Tags: @product
34.154
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 8.441
And I enable persistence but something goes wrong during the LUKS header upgrade 24.996
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.716
After features/support/hooks.rb:330 0.669
After features/support/hooks.rb:100 0.000
Tags: @product
43.948
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.309
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.753
When I enable persistence 26.239
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.559
After features/support/hooks.rb:330 0.757
After features/support/hooks.rb:100 0.000
Tags: @product
51.620
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.085
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.462
When I try to enable persistence 1.820
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.229
When I repair the filesystem of the Persistent Storage 1.365
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.389
And the filesystem of the Persistent Storage was repaired 1.420
When I close the filesystem repair dialog 1.275
Then persistence is successfully enabled 1.572
After features/support/hooks.rb:330 0.917
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.834
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.387
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.125
When I try to enable persistence 0.485
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.925
When I repair the filesystem of the Persistent Storage 1.861
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 45.203
And all notifications have disappeared 8.322
# 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.708
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.216
When I close the "whisperback" window 1.331
Then the Tor Browser starts 17.190
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.998
After features/support/hooks.rb:330 2.531
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.436
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.414
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.040
And Tails detects disk read failures on the boot device 1.547
When I try to enable persistence 0.567
Then the Welcome Screen tells me that my hardware is probably failing 19.118
When I log in to a new session 50.298
And all notifications have disappeared 8.419
Then the Tor Browser starts 17.315
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.715
After features/support/hooks.rb:330 2.232
After features/support/hooks.rb:100 0.000