Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 7 12 Dec 2024, 20:16

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 42:49.435 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.830
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:38.586
And I update APT using apt 14.817
And I install "python3-behave" using apt 25.599
Then the Tails Persistent Storage behave tests pass 2.827
After features/support/hooks.rb:330 0.870
After features/support/hooks.rb:100 0.000
Tags: @product
56.939
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 17.163
When I log in to a new session without activating the Persistent Storage 27.744
Then Tails is running from USB drive "__internal" 0.711
And persistence is disabled 0.412
But a Tails persistence partition exists on USB drive "__internal" 10.907
After features/support/hooks.rb:330 1.557
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.389
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 without a persistent partition and logged in 18.795
Then Tails is running from USB drive "__internal" 0.409
When I create a file in the Persistent directory 0.128
And I create a persistent partition with the default settings 24.336
Then the file I created was copied to the Persistent Storage 0.575
When I shutdown Tails and wait for the computer to power off 12.779
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.099
Then persistence for "Persistent" is active 1.183
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 1.381
After features/support/hooks.rb:100 0.013
Tags: @product
1:9.173
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 16.868
And the system is very low on memory 4.259
When I create a file in the Persistent directory 1.504
When I try to create a persistent partition 27.484
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.213
When I close the Persistent Storage app 2.802
And I free up some memory 1.640
And I create a persistent partition with the default settings 14.130
Then the file I created was copied to the Persistent Storage 0.269
After features/support/hooks.rb:330 2.413
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.331
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 11.122
Then Tails is running from USB drive "__internal" 0.788
And all tps features are active 2.665
And all persistent directories have safe access rights 3.161
When I disable the first tps feature 5.929
Then all tps features but the first one are active 2.528
And I shutdown Tails and wait for the computer to power off 10.818
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.071
Then all tps features but the first one are active 2.245
After features/support/hooks.rb:330 1.233
After features/support/hooks.rb:100 0.009
Tags: @product
19.017
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.761
Then persistence for "Persistent" is active 0.086
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 5.405
Then persistence for "Persistent" is not active 0.135
And the Persistent directory does not exist 0.049
When I enable the first tps feature 3.239
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.490
After features/support/hooks.rb:100 0.000
Tags: @product
19.324
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 9.909
Then persistence for "Persistent" is active 0.105
When I create a file in the Persistent directory 0.095
And I disable the first tps feature 5.448
And I delete the data of the Persistent Folder feature 3.709
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 1.492
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.730
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.692
And the network is plugged 0.089
And Tor is ready 23.073
And I take note of which tps features are available 0.870
When I write some files expected to persist 1.572
And I shutdown Tails and wait for the computer to power off 8.614
# 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.817
After features/support/hooks.rb:330 0.157
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.239
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.420
And the network is plugged 0.089
And Tor is ready 21.187
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.233
And I shutdown Tails and wait for the computer to power off 9.046
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.939
And I capture all network traffic 0.006
And the network is plugged 0.092
And Tor is ready 17.499
And I switch to the "persistent-con-current" NetworkManager connection 0.485
And the 1st network device has a spoofed MAC address configured 0.127
And no network device leaked the real MAC address 0.111
After features/support/hooks.rb:330 0.694
After features/support/hooks.rb:100 0.116
Tags: @product
1:3.947
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 16.632
And I enable persistence creation in Tails Greeter 1.151
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.251
Then I create a persistent partition with the default settings using the wizard that was already open 23.911
After features/support/hooks.rb:330 2.363
After features/support/hooks.rb:100 0.000
Tags: @product
4:37.664
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 14.090
When I enable persistence 41.536
Then no persistent Greeter options were restored 13.957
When I set all Greeter options to non-default values 27.023
And I log in to a new session in German (de) after having activated the Persistent Storage 51.616
Then all Greeter options are set to non-default values 0.452
When I cold reboot the computer 8.197
And the computer reboots Tails 1:2.622
Given I enable persistence 18.140
Then persistent Greeter options were restored 0.550
When I log in to a new session after having activated the Persistent Storage 39.084
Then all Greeter options are set to non-default values 0.393
After features/support/hooks.rb:330 1.542
After features/support/hooks.rb:100 0.008
Tags: @product
4:13.030
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.300
# 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.938
And I shutdown Tails and wait for the computer to power off 13.051
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:33.023
And I change the passphrase of the Persistent Storage back to the original 39.715
After features/support/hooks.rb:330 1.655
After features/support/hooks.rb:100 0.009
Tags: @product
57.813
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.655
And I log in to a new session without activating the Persistent Storage 22.756
Then persistence is disabled 0.359
But a Tails persistence partition exists on USB drive "__internal" 10.070
And all notifications have disappeared 7.993
When I delete the persistent partition 5.586
Then there is no persistence partition on USB drive "__internal" 0.391
After features/support/hooks.rb:330 1.591
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.650
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.841
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 9.151
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.100
Then the expected persistent dotfile is present in the filesystem 0.484
After features/support/hooks.rb:330 1.100
After features/support/hooks.rb:100 0.008
Tags: @product
1:43.397
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.974
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.299
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.887
When I log in to a new session after having activated the Persistent Storage 39.280
And all notifications have disappeared 9.813
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.387
And all tps features are enabled 2.556
And all tps features but the first one are active 4.113
After features/support/hooks.rb:330 1.690
After features/support/hooks.rb:100 0.000
Tags: @product
6:46.018
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 5:15.950
And I enable persistence 39.389
And I log in to a new session after having activated the Persistent Storage 44.555
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.168
And persistence is enabled 2.954
After features/support/hooks.rb:330 1.575
After features/support/hooks.rb:100 0.000
Tags: @product
32.934
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.267
And I enable persistence but something goes wrong during the LUKS header upgrade 22.801
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.865
After features/support/hooks.rb:330 0.738
After features/support/hooks.rb:100 0.000
Tags: @product
50.927
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.504
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.673
When I enable persistence 30.895
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.759
After features/support/hooks.rb:330 1.582
After features/support/hooks.rb:100 0.000
Tags: @product
26.725
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.717
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.556
When I try to enable persistence 0.372
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.757
When I repair the filesystem of the Persistent Storage 1.286
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.226
And the filesystem of the Persistent Storage was repaired 0.088
When I close the filesystem repair dialog 1.178
Then persistence is successfully enabled 1.541
After features/support/hooks.rb:330 1.294
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.056
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.302
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.091
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.242
When I repair the filesystem of the Persistent Storage 1.203
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 50.908
And all notifications have disappeared 11.047
# 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.520
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.559
When I close the "whisperback" window 1.912
Then the Tor Browser starts 5.574
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 7.335
After features/support/hooks.rb:330 2.029
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.290
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.818
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.780
And Tails detects disk read failures on the boot device 1.482
When I try to enable persistence 0.370
Then the Welcome Screen tells me that my hardware is probably failing 6.053
When I log in to a new session 19.552
And all notifications have disappeared 8.449
Then the Tor Browser starts 25.324
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.457
After features/support/hooks.rb:330 2.510
After features/support/hooks.rb:100 0.000