Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 15 17 Dec 2024, 19:57

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 39:12.854 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.210
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:34.730
And I update APT using apt 13.781
And I install "python3-behave" using apt 22.816
Then the Tails Persistent Storage behave tests pass 2.881
After features/support/hooks.rb:330 0.731
After features/support/hooks.rb:100 0.000
Tags: @product
57.455
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 27.907
When I log in to a new session without activating the Persistent Storage 22.678
Then Tails is running from USB drive "__internal" 0.412
And persistence is disabled 0.245
But a Tails persistence partition exists on USB drive "__internal" 6.211
After features/support/hooks.rb:330 1.635
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.963
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 31.725
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.826
Then the file I created was copied to the Persistent Storage 0.736
When I shutdown Tails and wait for the computer to power off 13.652
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.062
Then persistence for "Persistent" is active 0.313
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:330 1.752
After features/support/hooks.rb:100 0.007
Tags: @product
59.307
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 9.714
And the system is very low on memory 3.871
When I create a file in the Persistent directory 1.149
When I try to create a persistent partition 26.199
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.218
When I close the Persistent Storage app 2.553
And I free up some memory 1.712
And I create a persistent partition with the default settings 13.645
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:330 2.284
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.468
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 12.252
Then Tails is running from USB drive "__internal" 1.079
And all tps features are active 2.256
And all persistent directories have safe access rights 2.573
When I disable the first tps feature 6.822
Then all tps features but the first one are active 2.000
And I shutdown Tails and wait for the computer to power off 10.518
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.789
Then all tps features but the first one are active 2.174
After features/support/hooks.rb:330 0.838
After features/support/hooks.rb:100 0.008
Tags: @product
20.992
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.804
Then persistence for "Persistent" is active 0.114
And I create a file in the Persistent directory 0.139
Then the file I created was copied to the Persistent Storage 0.116
When I disable the first tps feature 6.368
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.075
When I enable the first tps feature 3.153
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.378
After features/support/hooks.rb:100 0.000
Tags: @product
21.770
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.578
Then persistence for "Persistent" is active 0.948
When I create a file in the Persistent directory 0.123
And I disable the first tps feature 6.249
And I delete the data of the Persistent Folder feature 3.813
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.777
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.962
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.875
And the network is plugged 0.097
And Tor is ready 21.006
And I take note of which tps features are available 0.515
When I write some files expected to persist 1.536
And I shutdown Tails and wait for the computer to power off 8.480
# 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.450
After features/support/hooks.rb:330 0.108
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.136
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.233
And the network is plugged 0.158
And Tor is ready 19.984
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 8.644
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.609
And I capture all network traffic 0.021
And the network is plugged 0.088
And Tor is ready 21.552
And I switch to the "persistent-con-current" NetworkManager connection 0.340
And the 1st network device has a spoofed MAC address configured 0.130
And no network device leaked the real MAC address 0.168
After features/support/hooks.rb:330 0.607
After features/support/hooks.rb:100 0.067
Tags: @product
57.249
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.487
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.300
Then I create a persistent partition with the default settings using the wizard that was already open 23.345
After features/support/hooks.rb:330 2.053
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.050
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 23.655
When I enable persistence 36.020
Then no persistent Greeter options were restored 14.454
When I set all Greeter options to non-default values 26.053
And I log in to a new session in German (de) after having activated the Persistent Storage 52.919
Then all Greeter options are set to non-default values 0.615
When I cold reboot the computer 7.552
And the computer reboots Tails 1:2.332
Given I enable persistence 16.527
Then persistent Greeter options were restored 0.560
When I log in to a new session after having activated the Persistent Storage 38.040
Then all Greeter options are set to non-default values 0.317
After features/support/hooks.rb:330 0.924
After features/support/hooks.rb:100 0.008
Tags: @product
3:40.595
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.488
# 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 34.438
And I shutdown Tails and wait for the computer to power off 12.522
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.781
And I change the passphrase of the Persistent Storage back to the original 30.364
After features/support/hooks.rb:330 1.481
After features/support/hooks.rb:100 0.013
Tags: @product
51.427
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.746
And I log in to a new session without activating the Persistent Storage 19.660
Then persistence is disabled 0.237
But a Tails persistence partition exists on USB drive "__internal" 6.972
And all notifications have disappeared 7.896
When I delete the persistent partition 6.527
Then there is no persistence partition on USB drive "__internal" 0.386
After features/support/hooks.rb:330 1.530
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.234
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.738
When I write some dotfile expected to persist 0.548
And I shutdown Tails and wait for the computer to power off 10.782
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.778
Then the expected persistent dotfile is present in the filesystem 0.387
After features/support/hooks.rb:330 1.198
After features/support/hooks.rb:100 0.007
Tags: @product
1:39.915
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.337
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.314
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.464
When I log in to a new session after having activated the Persistent Storage 42.209
And all notifications have disappeared 9.202
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.726
And all tps features are enabled 2.340
And all tps features but the first one are active 2.235
After features/support/hooks.rb:330 3.638
After features/support/hooks.rb:100 0.000
Tags: @product
4:22.333
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 2:57.706
And I enable persistence 30.876
And I log in to a new session after having activated the Persistent Storage 46.137
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.893
And persistence is enabled 2.719
After features/support/hooks.rb:330 1.883
After features/support/hooks.rb:100 0.000
Tags: @product
38.367
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 18.864
And I enable persistence but something goes wrong during the LUKS header upgrade 18.699
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.802
After features/support/hooks.rb:330 0.856
After features/support/hooks.rb:100 0.000
Tags: @product
52.592
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.295
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 12.484
When I enable persistence 28.077
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.640
After features/support/hooks.rb:330 1.786
After features/support/hooks.rb:100 0.000
Tags: @product
26.115
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.800
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.657
When I try to enable persistence 0.402
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.815
When I repair the filesystem of the Persistent Storage 1.285
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.258
And the filesystem of the Persistent Storage was repaired 0.084
When I close the filesystem repair dialog 1.292
Then persistence is successfully enabled 1.520
After features/support/hooks.rb:330 0.972
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.716
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.728
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.095
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.365
When I repair the filesystem of the Persistent Storage 1.276
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 31.442
And all notifications have disappeared 9.329
# 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.511
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.743
When I close the "whisperback" window 1.390
Then the Tor Browser starts 19.472
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.007
After features/support/hooks.rb:330 2.126
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:8.988
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.738
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.288
And Tails detects disk read failures on the boot device 0.522
When I try to enable persistence 0.400
Then the Welcome Screen tells me that my hardware is probably failing 5.298
When I log in to a new session 20.218
And all notifications have disappeared 7.505
Then the Tor Browser starts 20.133
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.881
After features/support/hooks.rb:330 1.883
After features/support/hooks.rb:100 0.000