Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 14 16 Dec 2024, 22:14

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:0.353 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.987
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:36.126
And I update APT using apt 12.935
And I install "python3-behave" using apt 25.712
Then the Tails Persistent Storage behave tests pass 2.212
After features/support/hooks.rb:330 0.667
After features/support/hooks.rb:100 0.000
Tags: @product
46.074
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 14.498
When I log in to a new session without activating the Persistent Storage 21.400
Then Tails is running from USB drive "__internal" 0.538
And persistence is disabled 0.395
But a Tails persistence partition exists on USB drive "__internal" 9.242
After features/support/hooks.rb:330 2.375
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.532
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.228
Then Tails is running from USB drive "__internal" 0.479
When I create a file in the Persistent directory 0.172
And I create a persistent partition with the default settings 24.596
Then the file I created was copied to the Persistent Storage 0.711
When I shutdown Tails and wait for the computer to power off 13.282
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.611
Then persistence for "Persistent" is active 0.377
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.040
After features/support/hooks.rb:100 0.009
Tags: @product
1:9.642
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.023
And the system is very low on memory 5.084
When I create a file in the Persistent directory 2.575
When I try to create a persistent partition 30.615
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.881
When I close the Persistent Storage app 3.288
And I free up some memory 1.757
And I create a persistent partition with the default settings 14.138
Then the file I created was copied to the Persistent Storage 0.276
After features/support/hooks.rb:330 1.995
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.799
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 10.410
Then Tails is running from USB drive "__internal" 0.502
And all tps features are active 2.318
And all persistent directories have safe access rights 2.749
When I disable the first tps feature 5.153
Then all tps features but the first one are active 2.496
And I shutdown Tails and wait for the computer to power off 10.495
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.594
Then all tps features but the first one are active 2.078
After features/support/hooks.rb:330 0.760
After features/support/hooks.rb:100 0.010
Tags: @product
19.016
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.512
Then persistence for "Persistent" is active 0.302
And I create a file in the Persistent directory 0.121
Then the file I created was copied to the Persistent Storage 0.107
When I disable the first tps feature 5.479
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.171
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.102
After features/support/hooks.rb:330 1.202
After features/support/hooks.rb:100 0.000
Tags: @product
19.441
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.576
Then persistence for "Persistent" is active 0.270
When I create a file in the Persistent directory 0.111
And I disable the first tps feature 5.652
And I delete the data of the Persistent Folder feature 3.776
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.291
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.727
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.764
And the network is plugged 0.078
And Tor is ready 20.597
And I take note of which tps features are available 0.567
When I write some files expected to persist 2.255
And I shutdown Tails and wait for the computer to power off 10.673
# 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.790
After features/support/hooks.rb:330 0.155
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.512
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.039
And the network is plugged 0.074
And Tor is ready 46.625
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.194
And I shutdown Tails and wait for the computer to power off 8.700
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.145
And I capture all network traffic 0.025
And the network is plugged 0.070
And Tor is ready 22.050
And I switch to the "persistent-con-current" NetworkManager connection 0.376
And the 1st network device has a spoofed MAC address configured 0.095
And no network device leaked the real MAC address 0.113
After features/support/hooks.rb:330 0.637
After features/support/hooks.rb:100 0.087
Tags: @product
56.478
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 13.233
And I enable persistence creation in Tails Greeter 1.157
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.560
Then I create a persistent partition with the default settings using the wizard that was already open 21.526
After features/support/hooks.rb:330 1.790
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.804
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.252
When I enable persistence 44.707
Then no persistent Greeter options were restored 14.802
When I set all Greeter options to non-default values 24.368
And I log in to a new session in German (de) after having activated the Persistent Storage 46.069
Then all Greeter options are set to non-default values 0.479
When I cold reboot the computer 7.292
And the computer reboots Tails 1:3.311
Given I enable persistence 19.345
Then persistent Greeter options were restored 0.527
When I log in to a new session after having activated the Persistent Storage 36.990
Then all Greeter options are set to non-default values 0.658
After features/support/hooks.rb:330 1.751
After features/support/hooks.rb:100 0.010
Tags: @product
3:33.173
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.935
# 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.391
And I shutdown Tails and wait for the computer to power off 10.614
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.129
And I change the passphrase of the Persistent Storage back to the original 30.102
After features/support/hooks.rb:330 1.735
After features/support/hooks.rb:100 0.010
Tags: @product
1:2.114
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 10.722
And I log in to a new session without activating the Persistent Storage 21.241
Then persistence is disabled 0.250
But a Tails persistence partition exists on USB drive "__internal" 10.499
And all notifications have disappeared 13.606
When I delete the persistent partition 5.313
Then there is no persistence partition on USB drive "__internal" 0.480
After features/support/hooks.rb:330 1.650
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.317
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.114
When I write some dotfile expected to persist 0.059
And I shutdown Tails and wait for the computer to power off 8.922
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.808
Then the expected persistent dotfile is present in the filesystem 0.411
After features/support/hooks.rb:330 1.748
After features/support/hooks.rb:100 0.010
Tags: @product
1:40.539
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.849
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.278
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.527
When I log in to a new session after having activated the Persistent Storage 45.297
And all notifications have disappeared 9.646
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.806
And all tps features are enabled 2.176
And all tps features but the first one are active 1.876
After features/support/hooks.rb:330 1.852
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.483
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:6.703
And I enable persistence 32.876
And I log in to a new session after having activated the Persistent Storage 49.467
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.540
And persistence is enabled 2.894
After features/support/hooks.rb:330 1.760
After features/support/hooks.rb:100 0.000
Tags: @product
32.570
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.210
And I enable persistence but something goes wrong during the LUKS header upgrade 22.519
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.840
After features/support/hooks.rb:330 0.824
After features/support/hooks.rb:100 0.000
Tags: @product
45.352
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.450
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.940
When I enable persistence 28.155
Then the filesystem of the Persistent Storage was repaired 0.115
And persistence is successfully enabled 2.689
After features/support/hooks.rb:330 1.558
After features/support/hooks.rb:100 0.000
Tags: @product
25.232
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 8.633
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.543
When I try to enable persistence 0.506
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.320
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.260
And the filesystem of the Persistent Storage was repaired 0.072
When I close the filesystem repair dialog 1.259
Then persistence is successfully enabled 1.400
After features/support/hooks.rb:330 0.758
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.270
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.136
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.091
When I try to enable persistence 0.409
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.492
When I repair the filesystem of the Persistent Storage 1.238
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.093
When I log in to a new session 44.906
And all notifications have disappeared 9.324
# 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.719
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.948
When I close the "whisperback" window 1.508
Then the Tor Browser starts 15.337
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.063
After features/support/hooks.rb:330 2.596
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.283
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.266
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.954
And Tails detects disk read failures on the boot device 0.439
When I try to enable persistence 0.468
Then the Welcome Screen tells me that my hardware is probably failing 5.506
When I log in to a new session 20.058
And all notifications have disappeared 7.858
Then the Tor Browser starts 20.951
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.780
After features/support/hooks.rb:330 2.723
After features/support/hooks.rb:100 0.000