Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 12 15 Dec 2024, 19:49

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 37:51.264 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.915
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:32.242
And I update APT using apt 13.921
And I install "python3-behave" using apt 25.574
Then the Tails Persistent Storage behave tests pass 2.176
After features/support/hooks.rb:330 0.594
After features/support/hooks.rb:100 0.000
Tags: @product
43.566
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 12.380
When I log in to a new session without activating the Persistent Storage 21.471
Then Tails is running from USB drive "__internal" 0.670
And persistence is disabled 0.300
But a Tails persistence partition exists on USB drive "__internal" 8.742
After features/support/hooks.rb:330 1.499
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.665
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 11.768
Then Tails is running from USB drive "__internal" 0.364
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 21.718
Then the file I created was copied to the Persistent Storage 0.625
When I shutdown Tails and wait for the computer to power off 12.562
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.878
Then persistence for "Persistent" is active 0.560
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.672
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.267
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.332
And the system is very low on memory 4.137
When I create a file in the Persistent directory 0.796
When I try to create a persistent partition 32.132
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.384
When I close the Persistent Storage app 2.665
And I free up some memory 1.823
And I create a persistent partition with the default settings 12.760
Then the file I created was copied to the Persistent Storage 0.232
After features/support/hooks.rb:330 2.485
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.868
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.069
Then Tails is running from USB drive "__internal" 0.370
And all tps features are active 2.036
And all persistent directories have safe access rights 2.523
When I disable the first tps feature 5.084
Then all tps features but the first one are active 1.896
And I shutdown Tails and wait for the computer to power off 10.726
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.790
Then all tps features but the first one are active 2.370
After features/support/hooks.rb:330 1.331
After features/support/hooks.rb:100 0.008
Tags: @product
18.765
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
Then persistence for "Persistent" is active 0.135
And I create a file in the Persistent directory 0.074
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 4.769
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.044
When I enable the first tps feature 3.110
Then persistence for "Persistent" is active 0.190
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:330 1.727
After features/support/hooks.rb:100 0.000
Tags: @product
18.238
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.529
Then persistence for "Persistent" is active 0.085
When I create a file in the Persistent directory 0.095
And I disable the first tps feature 4.708
And I delete the data of the Persistent Folder feature 3.760
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:330 1.526
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.142
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.237
And the network is plugged 0.079
And Tor is ready 15.641
And I take note of which tps features are available 0.519
When I write some files expected to persist 1.578
And I shutdown Tails and wait for the computer to power off 8.723
# 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.363
After features/support/hooks.rb:330 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.799
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.901
And the network is plugged 0.100
And Tor is ready 19.075
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.183
And I shutdown Tails and wait for the computer to power off 8.550
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.071
And I capture all network traffic 0.033
And the network is plugged 0.072
And Tor is ready 22.154
And I switch to the "persistent-con-current" NetworkManager connection 0.429
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.133
After features/support/hooks.rb:330 0.627
After features/support/hooks.rb:100 0.070
Tags: @product
53.554
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 11.911
And I enable persistence creation in Tails Greeter 1.105
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.743
Then I create a persistent partition with the default settings using the wizard that was already open 20.795
After features/support/hooks.rb:330 3.864
After features/support/hooks.rb:100 0.000
Tags: @product
4:15.268
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.875
When I enable persistence 37.554
Then no persistent Greeter options were restored 14.150
When I set all Greeter options to non-default values 26.193
And I log in to a new session in German (de) after having activated the Persistent Storage 43.349
Then all Greeter options are set to non-default values 0.393
When I cold reboot the computer 7.505
And the computer reboots Tails 1:0.175
Given I enable persistence 15.476
Then persistent Greeter options were restored 0.622
When I log in to a new session after having activated the Persistent Storage 36.338
Then all Greeter options are set to non-default values 0.633
After features/support/hooks.rb:330 1.906
After features/support/hooks.rb:100 0.009
Tags: @product
3:32.485
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.755
# 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 32.899
And I shutdown Tails and wait for the computer to power off 14.880
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.516
And I change the passphrase of the Persistent Storage back to the original 32.433
After features/support/hooks.rb:330 1.902
After features/support/hooks.rb:100 0.009
Tags: @product
56.854
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.381
And I log in to a new session without activating the Persistent Storage 21.142
Then persistence is disabled 0.265
But a Tails persistence partition exists on USB drive "__internal" 9.189
And all notifications have disappeared 9.443
When I delete the persistent partition 5.992
Then there is no persistence partition on USB drive "__internal" 0.439
After features/support/hooks.rb:330 1.543
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.069
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.533
When I write some dotfile expected to persist 0.136
And I shutdown Tails and wait for the computer to power off 8.477
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.459
Then the expected persistent dotfile is present in the filesystem 0.461
After features/support/hooks.rb:330 1.128
After features/support/hooks.rb:100 0.009
Tags: @product
1:37.081
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.068
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.302
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.892
When I log in to a new session after having activated the Persistent Storage 43.206
And all notifications have disappeared 8.579
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.782
And all tps features are enabled 2.143
And all tps features but the first one are active 2.012
After features/support/hooks.rb:330 1.685
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.392
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 3:9.287
And I enable persistence 35.939
And I log in to a new session after having activated the Persistent Storage 44.042
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.059
And persistence is enabled 3.062
After features/support/hooks.rb:330 1.727
After features/support/hooks.rb:100 0.000
Tags: @product
30.509
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 8.354
And I enable persistence but something goes wrong during the LUKS header upgrade 21.389
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.764
After features/support/hooks.rb:330 0.692
After features/support/hooks.rb:100 0.000
Tags: @product
43.489
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.242
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.699
When I enable persistence 25.803
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.658
After features/support/hooks.rb:330 1.543
After features/support/hooks.rb:100 0.000
Tags: @product
25.668
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.845
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.340
When I try to enable persistence 0.412
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.877
When I repair the filesystem of the Persistent Storage 1.264
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.252
And the filesystem of the Persistent Storage was repaired 0.063
When I close the filesystem repair dialog 1.259
Then persistence is successfully enabled 1.351
After features/support/hooks.rb:330 0.736
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.847
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 21.973
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.093
When I try to enable persistence 0.279
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.624
When I repair the filesystem of the Persistent Storage 1.299
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 40.820
And all notifications have disappeared 9.666
# 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.577
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.785
When I close the "whisperback" window 1.384
Then the Tor Browser starts 17.384
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.884
After features/support/hooks.rb:330 2.259
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.813
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.115
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.817
And Tails detects disk read failures on the boot device 1.510
When I try to enable persistence 0.408
Then the Welcome Screen tells me that my hardware is probably failing 5.889
When I log in to a new session 19.336
And all notifications have disappeared 5.487
Then the Tor Browser starts 30.432
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.814
After features/support/hooks.rb:330 2.072
After features/support/hooks.rb:100 0.000