Project Number Date
test_Tails_ISO_devel 3766 04 Apr 2025, 13:02

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:18.844 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:44.663
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:35.312
And I update APT using apt 2:43.507
And I install "python3-behave" using apt 23.379
Then the Tails Persistent Storage behave tests pass 2.463
After features/support/hooks.rb:330 0.672
After features/support/hooks.rb:100 0.000
Tags: @product
40.589
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.889
When I log in to a new session without activating the Persistent Storage 22.716
Then Tails is running from USB drive "__internal" 0.585
And persistence is disabled 0.279
But a Tails persistence partition exists on USB drive "__internal" 6.118
After features/support/hooks.rb:330 1.420
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.084
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.470
Then Tails is running from USB drive "__internal" 0.400
When I create a file in the Persistent directory 0.140
And I create a persistent partition with the default settings 22.192
Then the file I created was copied to the Persistent Storage 2.577
When I shutdown Tails and wait for the computer to power off 10.365
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.488
Then persistence for "Persistent" is active 0.381
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:330 1.800
After features/support/hooks.rb:100 0.010
Tags: @product
1:2.045
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 11.292
And the system is very low on memory 4.968
When I create a file in the Persistent directory 1.571
When I try to create a persistent partition 24.630
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.609
When I close the Persistent Storage app 2.725
And I free up some memory 3.305
And I create a persistent partition with the default settings 12.509
Then the file I created was copied to the Persistent Storage 0.432
After features/support/hooks.rb:330 2.445
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.867
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 11.551
Then Tails is running from USB drive "__internal" 0.506
And all tps features are active 2.602
And all persistent directories have safe access rights 2.687
When I disable the first tps feature 5.339
Then all tps features but the first one are active 1.980
And I shutdown Tails and wait for the computer to power off 12.847
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.389
Then all tps features but the first one are active 1.961
After features/support/hooks.rb:330 1.173
After features/support/hooks.rb:100 0.009
Tags: @product
19.533
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.239
Then persistence for "Persistent" is active 0.107
And I create a file in the Persistent directory 0.117
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 5.515
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.186
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.185
After features/support/hooks.rb:100 0.000
Tags: @product
18.029
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.006
Then persistence for "Persistent" is active 0.091
When I create a file in the Persistent directory 0.102
And I disable the first tps feature 5.140
And I delete the data of the Persistent Folder feature 3.625
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:330 1.323
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.902
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.483
And the network is plugged 0.086
And Tor is ready 20.743
And I take note of which tps features are available 0.521
When I write some files expected to persist 1.430
And I shutdown Tails and wait for the computer to power off 8.651
# 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" 23.985
After features/support/hooks.rb:330 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.386
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.181
And the network is plugged 0.107
And Tor is ready 18.514
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.224
And I shutdown Tails and wait for the computer to power off 8.378
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.997
And I capture all network traffic 0.012
And the network is plugged 0.075
And Tor is ready 21.361
And I switch to the "persistent-con-current" NetworkManager connection 0.330
And the 1st network device has a spoofed MAC address configured 0.072
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 0.852
After features/support/hooks.rb:100 0.051
Tags: @product
54.539
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 11.176
And I enable persistence creation in Tails Greeter 1.102
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.316
Then I create a persistent partition with the default settings using the wizard that was already open 21.944
After features/support/hooks.rb:330 2.810
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.419
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.849
When I enable persistence 37.380
Then no persistent Greeter options were restored 14.079
When I set all Greeter options to non-default values 24.824
And I log in to a new session in German (de) after having activated the Persistent Storage 52.174
Then all Greeter options are set to non-default values 0.259
When I cold reboot the computer 7.472
And the computer reboots Tails 58.797
Given I enable persistence 15.608
Then persistent Greeter options were restored 0.473
When I log in to a new session after having activated the Persistent Storage 37.953
Then all Greeter options are set to non-default values 0.546
After features/support/hooks.rb:330 1.679
After features/support/hooks.rb:100 0.068
Tags: @product
3:52.572
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.838
# 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.018
And I shutdown Tails and wait for the computer to power off 12.822
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.334
And I change the passphrase of the Persistent Storage back to the original 42.558
After features/support/hooks.rb:330 3.452
After features/support/hooks.rb:100 0.010
Tags: @product
54.136
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.941
And I log in to a new session without activating the Persistent Storage 19.869
Then persistence is disabled 0.310
But a Tails persistence partition exists on USB drive "__internal" 5.210
And all notifications have disappeared 10.780
When I delete the persistent partition 7.177
Then there is no persistence partition on USB drive "__internal" 0.846
After features/support/hooks.rb:330 1.225
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.119
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.301
When I write some dotfile expected to persist 0.059
And I shutdown Tails and wait for the computer to power off 8.342
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.919
Then the expected persistent dotfile is present in the filesystem 0.496
After features/support/hooks.rb:330 1.475
After features/support/hooks.rb:100 0.009
Tags: @product
1:44.279
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.137
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.392
When I log in to a new session after having activated the Persistent Storage 47.381
And all notifications have disappeared 7.331
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.752
And all tps features are enabled 3.406
And all tps features but the first one are active 2.519
After features/support/hooks.rb:330 1.196
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.028
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 2:52.879
And I enable persistence 34.019
And I log in to a new session after having activated the Persistent Storage 46.246
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.098
And persistence is enabled 2.785
After features/support/hooks.rb:330 1.202
After features/support/hooks.rb:100 0.000
Tags: @product
29.771
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 8.597
And I enable persistence but something goes wrong during the LUKS header upgrade 20.443
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.730
After features/support/hooks.rb:330 0.714
After features/support/hooks.rb:100 0.000
Tags: @product
54.718
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.038
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.367
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.483
When I enable persistence 36.341
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 2.445
After features/support/hooks.rb:330 1.267
After features/support/hooks.rb:100 0.000
Tags: @product
51.180
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.045
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.169
When I try to enable persistence 0.392
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.745
When I repair the filesystem of the Persistent Storage 1.493
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.633
And the filesystem of the Persistent Storage was repaired 4.109
When I close the filesystem repair dialog 1.194
Then persistence is successfully enabled 1.396
After features/support/hooks.rb:330 2.318
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.020
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 8.558
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.266
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.165
When I repair the filesystem of the Persistent Storage 1.291
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 46.772
And all notifications have disappeared 8.002
# 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.596
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.393
When I close the "whisperback" window 1.813
Then the Tor Browser starts 17.182
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.799
After features/support/hooks.rb:330 1.901
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.955
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.688
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.472
And Tails detects disk read failures on the boot device 0.577
When I try to enable persistence 0.391
Then the Welcome Screen tells me that my hardware is probably failing 18.362
When I log in to a new session 49.469
And all notifications have disappeared 7.662
Then the Tor Browser starts 20.494
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.836
After features/support/hooks.rb:330 2.986
After features/support/hooks.rb:100 0.000