Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 6 11 Dec 2024, 20:28

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 43:8.183 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.137
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:39.863
And I update APT using apt 14.793
And I install "python3-behave" using apt 25.851
Then the Tails Persistent Storage behave tests pass 2.628
After features/support/hooks.rb:330 0.720
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.451
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 15.021
When I log in to a new session without activating the Persistent Storage 27.402
Then Tails is running from USB drive "__internal" 0.837
And persistence is disabled 0.812
But a Tails persistence partition exists on USB drive "__internal" 16.379
After features/support/hooks.rb:330 2.251
After features/support/hooks.rb:100 0.000
Tags: @product
3:41.430
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 24.563
Then Tails is running from USB drive "__internal" 0.545
When I create a file in the Persistent directory 0.193
And I create a persistent partition with the default settings 33.913
Then the file I created was copied to the Persistent Storage 0.691
When I shutdown Tails and wait for the computer to power off 14.397
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.441
Then persistence for "Persistent" is active 0.582
And the file I created in the Persistent directory exists 0.101
After features/support/hooks.rb:330 1.852
After features/support/hooks.rb:100 0.023
Tags: @product
1:18.740
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 25.059
And the system is very low on memory 4.488
When I create a file in the Persistent directory 1.131
When I try to create a persistent partition 28.538
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.313
When I close the Persistent Storage app 2.908
And I free up some memory 1.754
And I create a persistent partition with the default settings 14.308
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:330 2.310
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.197
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 32.289
Then Tails is running from USB drive "__internal" 0.578
And all tps features are active 2.959
And all persistent directories have safe access rights 2.916
When I disable the first tps feature 5.474
Then all tps features but the first one are active 3.097
And I shutdown Tails and wait for the computer to power off 8.725
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.970
Then all tps features but the first one are active 2.185
After features/support/hooks.rb:330 1.134
After features/support/hooks.rb:100 0.010
Tags: @product
20.059
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.739
Then persistence for "Persistent" is active 0.095
And I create a file in the Persistent directory 0.103
Then the file I created was copied to the Persistent Storage 0.121
When I disable the first tps feature 5.543
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.179
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.413
After features/support/hooks.rb:100 0.000
Tags: @product
19.426
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.917
Then persistence for "Persistent" is active 0.097
When I create a file in the Persistent directory 0.102
And I disable the first tps feature 5.445
And I delete the data of the Persistent Folder feature 3.803
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:330 1.495
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.833
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.778
And the network is plugged 0.179
And Tor is ready 17.895
And I take note of which tps features are available 0.772
When I write some files expected to persist 1.782
And I shutdown Tails and wait for the computer to power off 8.689
# 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.734
After features/support/hooks.rb:330 0.104
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.964
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 13.408
And the network is plugged 0.096
And Tor is ready 20.069
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.240
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:13.022
And I capture all network traffic 0.008
And the network is plugged 0.082
And Tor is ready 21.235
And I switch to the "persistent-con-current" NetworkManager connection 0.476
And the 1st network device has a spoofed MAC address configured 0.115
And no network device leaked the real MAC address 0.157
After features/support/hooks.rb:330 0.733
After features/support/hooks.rb:100 0.061
Tags: @product
1:17.865
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 18.648
And I enable persistence creation in Tails Greeter 1.222
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.895
Then I create a persistent partition with the default settings using the wizard that was already open 32.098
After features/support/hooks.rb:330 2.091
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.355
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 12.935
When I enable persistence 40.758
Then no persistent Greeter options were restored 14.582
When I set all Greeter options to non-default values 27.945
And I log in to a new session in German (de) after having activated the Persistent Storage 54.409
Then all Greeter options are set to non-default values 0.598
When I cold reboot the computer 10.136
And the computer reboots Tails 1:8.428
Given I enable persistence 16.544
Then persistent Greeter options were restored 0.706
When I log in to a new session after having activated the Persistent Storage 40.684
Then all Greeter options are set to non-default values 0.625
After features/support/hooks.rb:330 1.891
After features/support/hooks.rb:100 0.010
Tags: @product
3:51.184
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.479
# 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 42.871
And I shutdown Tails and wait for the computer to power off 12.862
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.579
And I change the passphrase of the Persistent Storage back to the original 36.391
After features/support/hooks.rb:330 2.267
After features/support/hooks.rb:100 0.011
Tags: @product
1:2.324
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.714
And I log in to a new session without activating the Persistent Storage 24.616
Then persistence is disabled 0.527
But a Tails persistence partition exists on USB drive "__internal" 10.106
And all notifications have disappeared 9.586
When I delete the persistent partition 6.382
Then there is no persistence partition on USB drive "__internal" 0.391
After features/support/hooks.rb:330 1.503
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.591
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.130
When I write some dotfile expected to persist 0.188
And I shutdown Tails and wait for the computer to power off 11.527
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.337
Then the expected persistent dotfile is present in the filesystem 0.408
After features/support/hooks.rb:330 0.892
After features/support/hooks.rb:100 0.018
Tags: @product
1:48.297
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.764
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.301
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.195
When I log in to a new session after having activated the Persistent Storage 47.617
And all notifications have disappeared 9.759
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.507
And all tps features are enabled 2.563
And all tps features but the first one are active 2.493
After features/support/hooks.rb:330 1.966
After features/support/hooks.rb:100 0.000
Tags: @product
5:40.346
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.073
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:55.347
And I enable persistence 50.594
And I log in to a new session after having activated the Persistent Storage 48.247
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.646
And persistence is enabled 3.511
After features/support/hooks.rb:330 1.778
After features/support/hooks.rb:100 0.000
Tags: @product
40.032
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.466
And I enable persistence but something goes wrong during the LUKS header upgrade 29.689
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.875
After features/support/hooks.rb:330 0.796
After features/support/hooks.rb:100 0.000
Tags: @product
48.378
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.227
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.279
When I enable persistence 29.161
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.614
After features/support/hooks.rb:330 1.869
After features/support/hooks.rb:100 0.000
Tags: @product
26.802
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.819
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.390
When I try to enable persistence 0.425
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.873
When I repair the filesystem of the Persistent Storage 1.223
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.233
And the filesystem of the Persistent Storage was repaired 0.103
When I close the filesystem repair dialog 1.193
Then persistence is successfully enabled 1.538
After features/support/hooks.rb:330 0.878
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.561
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.311
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.269
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.700
When I repair the filesystem of the Persistent Storage 2.111
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.085
When I log in to a new session 43.773
And all notifications have disappeared 9.388
# 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.695
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.778
When I close the "whisperback" window 1.973
Then the Tor Browser starts 16.554
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.830
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.201
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.050
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.682
And Tails detects disk read failures on the boot device 1.602
When I try to enable persistence 0.432
Then the Welcome Screen tells me that my hardware is probably failing 6.581
When I log in to a new session 21.615
And all notifications have disappeared 9.099
Then the Tor Browser starts 22.029
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.108
After features/support/hooks.rb:330 2.343
After features/support/hooks.rb:100 0.000