Project Number Date
test_Tails_ISO_devel 3721 04 Mar 2025, 20:31

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:32.388 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:52.972
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:10.810
And I update APT using apt 14.161
And I install "python3-behave" using apt 25.484
Then the Tails Persistent Storage behave tests pass 2.516
After features/support/hooks.rb:330 1.503
After features/support/hooks.rb:100 0.000
Tags: @product
49.780
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 11.627
When I log in to a new session without activating the Persistent Storage 24.403
Then Tails is running from USB drive "__internal" 0.880
And persistence is disabled 0.482
But a Tails persistence partition exists on USB drive "__internal" 12.386
After features/support/hooks.rb:330 2.022
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.791
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 13.135
Then Tails is running from USB drive "__internal" 0.742
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 25.348
Then the file I created was copied to the Persistent Storage 0.565
When I shutdown Tails and wait for the computer to power off 15.181
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.216
Then persistence for "Persistent" is active 0.388
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.763
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.477
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.563
And the system is very low on memory 4.253
When I create a file in the Persistent directory 1.496
When I try to create a persistent partition 27.611
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.232
When I close the Persistent Storage app 2.875
And I free up some memory 1.439
And I create a persistent partition with the default settings 14.746
Then the file I created was copied to the Persistent Storage 0.259
After features/support/hooks.rb:330 2.295
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.432
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 13.695
Then Tails is running from USB drive "__internal" 0.628
And all tps features are active 2.701
And all persistent directories have safe access rights 2.875
When I disable the first tps feature 6.843
Then all tps features but the first one are active 2.436
And I shutdown Tails and wait for the computer to power off 15.382
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.312
Then all tps features but the first one are active 2.555
After features/support/hooks.rb:330 1.153
After features/support/hooks.rb:100 0.011
Tags: @product
26.024
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 14.339
Then persistence for "Persistent" is active 0.202
And I create a file in the Persistent directory 0.139
Then the file I created was copied to the Persistent Storage 0.230
When I disable the first tps feature 6.980
Then persistence for "Persistent" is not active 0.128
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.769
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.456
After features/support/hooks.rb:100 0.000
Tags: @product
21.814
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.249
Then persistence for "Persistent" is active 0.244
When I create a file in the Persistent directory 0.217
And I disable the first tps feature 6.759
And I delete the data of the Persistent Folder feature 4.273
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:330 1.503
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.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 enabled and logged in 10.325
And the network is plugged 0.232
And Tor is ready 22.392
And I take note of which tps features are available 2.490
When I write some files expected to persist 1.687
And I shutdown Tails and wait for the computer to power off 12.884
# 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.990
After features/support/hooks.rb:330 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.966
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.735
And the network is plugged 0.123
And Tor is ready 19.764
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.210
And I shutdown Tails and wait for the computer to power off 8.736
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.003
And I capture all network traffic 0.007
And the network is plugged 0.067
And Tor is ready 19.693
And I switch to the "persistent-con-current" NetworkManager connection 0.378
And the 1st network device has a spoofed MAC address configured 0.115
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 0.640
After features/support/hooks.rb:100 0.047
Tags: @product
1:4.340
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 15.588
And I enable persistence creation in Tails Greeter 1.124
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.368
Then I create a persistent partition with the default settings using the wizard that was already open 25.259
After features/support/hooks.rb:330 2.293
After features/support/hooks.rb:100 0.000
Tags: @product
5:2.180
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 18.925
When I enable persistence 59.581
Then no persistent Greeter options were restored 14.774
When I set all Greeter options to non-default values 26.233
And I log in to a new session in German (de) after having activated the Persistent Storage 47.230
Then all Greeter options are set to non-default values 0.448
When I cold reboot the computer 9.690
And the computer reboots Tails 1:9.339
Given I enable persistence 17.384
Then persistent Greeter options were restored 0.589
When I log in to a new session after having activated the Persistent Storage 37.566
Then all Greeter options are set to non-default values 0.416
After features/support/hooks.rb:330 1.134
After features/support/hooks.rb:100 0.009
Tags: @product
3:48.580
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.307
# 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 33.911
And I shutdown Tails and wait for the computer to power off 14.501
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.836
And I change the passphrase of the Persistent Storage back to the original 41.024
After features/support/hooks.rb:330 1.797
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.279
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 10.214
And I log in to a new session without activating the Persistent Storage 22.774
Then persistence is disabled 0.353
But a Tails persistence partition exists on USB drive "__internal" 11.807
And all notifications have disappeared 14.435
When I delete the persistent partition 6.274
Then there is no persistence partition on USB drive "__internal" 0.419
After features/support/hooks.rb:330 1.959
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.657
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 12.110
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 11.144
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.915
Then the expected persistent dotfile is present in the filesystem 0.419
After features/support/hooks.rb:330 0.700
After features/support/hooks.rb:100 0.022
Tags: @product
1:43.122
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.032
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.119
When I try to enable persistence 0.344
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.283
When I log in to a new session after having activated the Persistent Storage 45.150
And all notifications have disappeared 9.408
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.230
And all tps features are enabled 2.376
And all tps features but the first one are active 2.175
After features/support/hooks.rb:330 1.379
After features/support/hooks.rb:100 0.000
Tags: @product
6:41.085
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 5:14.825
And I enable persistence 38.116
And I log in to a new session after having activated the Persistent Storage 43.209
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.521
And persistence is enabled 3.411
After features/support/hooks.rb:330 1.730
After features/support/hooks.rb:100 0.000
Tags: @product
34.213
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 9.134
And I enable persistence but something goes wrong during the LUKS header upgrade 24.244
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.834
After features/support/hooks.rb:330 0.720
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.469
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.741
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.964
When I enable persistence 53.832
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.835
After features/support/hooks.rb:330 1.531
After features/support/hooks.rb:100 0.000
Tags: @product
52.557
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.812
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.888
When I try to enable persistence 0.479
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.367
When I repair the filesystem of the Persistent Storage 1.694
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.059
And the filesystem of the Persistent Storage was repaired 1.467
When I close the filesystem repair dialog 1.252
Then persistence is successfully enabled 1.535
After features/support/hooks.rb:330 1.875
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.742
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.451
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.149
When I try to enable persistence 1.392
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.957
When I repair the filesystem of the Persistent Storage 1.265
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 46.331
And all notifications have disappeared 11.299
# 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.663
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.694
When I close the "whisperback" window 1.442
Then the Tor Browser starts 16.240
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.776
After features/support/hooks.rb:330 4.326
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:12.895
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 11.756
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 17.974
And Tails detects disk read failures on the boot device 1.844
When I try to enable persistence 0.391
Then the Welcome Screen tells me that my hardware is probably failing 23.950
When I log in to a new session 51.022
And all notifications have disappeared 7.491
Then the Tor Browser starts 17.645
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.817
After features/support/hooks.rb:330 1.806
After features/support/hooks.rb:100 0.000