Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 3 08 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 41:21.883 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.536
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:37.684
And I update APT using apt 14.565
And I install "python3-behave" using apt 25.659
Then the Tails Persistent Storage behave tests pass 2.626
After features/support/hooks.rb:330 1.213
After features/support/hooks.rb:100 0.000
Tags: @product
52.398
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.905
When I log in to a new session without activating the Persistent Storage 24.125
Then Tails is running from USB drive "__internal" 0.682
And persistence is disabled 0.321
But a Tails persistence partition exists on USB drive "__internal" 12.363
After features/support/hooks.rb:330 2.197
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.065
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 without a persistent partition and logged in 15.690
Then Tails is running from USB drive "__internal" 0.516
When I create a file in the Persistent directory 0.171
And I create a persistent partition with the default settings 23.656
Then the file I created was copied to the Persistent Storage 0.452
When I shutdown Tails and wait for the computer to power off 13.259
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.849
Then persistence for "Persistent" is active 0.391
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.770
After features/support/hooks.rb:100 0.031
Tags: @product
1:2.630
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 15.456
And the system is very low on memory 4.103
When I create a file in the Persistent directory 0.802
When I try to create a persistent partition 25.191
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.273
When I close the Persistent Storage app 2.655
And I free up some memory 1.276
And I create a persistent partition with the default settings 12.632
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:330 2.262
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.512
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.891
Then Tails is running from USB drive "__internal" 1.126
And all tps features are active 2.269
And all persistent directories have safe access rights 2.645
When I disable the first tps feature 6.578
Then all tps features but the first one are active 2.344
And I shutdown Tails and wait for the computer to power off 8.862
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.242
Then all tps features but the first one are active 2.552
After features/support/hooks.rb:330 1.311
After features/support/hooks.rb:100 0.043
Tags: @product
22.609
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.829
Then persistence for "Persistent" is active 0.803
And I create a file in the Persistent directory 0.106
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 6.717
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.759
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.380
After features/support/hooks.rb:100 0.000
Tags: @product
21.037
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.207
Then persistence for "Persistent" is active 0.104
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 6.278
And I delete the data of the Persistent Folder feature 4.326
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:330 1.364
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.575
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.961
And the network is plugged 0.498
And Tor is ready 26.097
And I take note of which tps features are available 1.902
When I write some files expected to persist 1.548
And I shutdown Tails and wait for the computer to power off 8.471
# 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" 25.095
After features/support/hooks.rb:330 0.089
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.650
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.058
And the network is plugged 0.069
And Tor is ready 23.432
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.199
And I shutdown Tails and wait for the computer to power off 8.770
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.029
And I capture all network traffic 0.008
And the network is plugged 0.075
And Tor is ready 19.335
And I switch to the "persistent-con-current" NetworkManager connection 0.399
And the 1st network device has a spoofed MAC address configured 0.106
And no network device leaked the real MAC address 0.164
After features/support/hooks.rb:330 0.883
After features/support/hooks.rb:100 0.068
Tags: @product
1:0.011
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.015
And I enable persistence creation in Tails Greeter 1.186
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.788
Then I create a persistent partition with the default settings using the wizard that was already open 23.020
After features/support/hooks.rb:330 2.479
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.192
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.670
When I enable persistence 52.059
Then no persistent Greeter options were restored 14.481
When I set all Greeter options to non-default values 25.248
And I log in to a new session in German (de) after having activated the Persistent Storage 45.729
Then all Greeter options are set to non-default values 0.394
When I cold reboot the computer 9.712
And the computer reboots Tails 59.896
Given I enable persistence 18.850
Then persistent Greeter options were restored 0.535
When I log in to a new session after having activated the Persistent Storage 41.153
Then all Greeter options are set to non-default values 0.462
After features/support/hooks.rb:330 1.974
After features/support/hooks.rb:100 0.008
Tags: @product
4:11.863
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.200
# 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 38.985
And I shutdown Tails and wait for the computer to power off 12.464
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.373
And I change the passphrase of the Persistent Storage back to the original 40.839
After features/support/hooks.rb:330 2.850
After features/support/hooks.rb:100 0.010
Tags: @product
1:2.506
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 13.803
And I log in to a new session without activating the Persistent Storage 21.594
Then persistence is disabled 0.352
But a Tails persistence partition exists on USB drive "__internal" 9.870
And all notifications have disappeared 10.670
When I delete the persistent partition 5.749
Then there is no persistence partition on USB drive "__internal" 0.466
After features/support/hooks.rb:330 1.821
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.896
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 enabled and logged in 10.465
When I write some dotfile expected to persist 0.396
And I shutdown Tails and wait for the computer to power off 10.754
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.817
Then the expected persistent dotfile is present in the filesystem 0.461
After features/support/hooks.rb:330 1.272
After features/support/hooks.rb:100 0.008
Tags: @product
1:44.782
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.169
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.117
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.088
When I log in to a new session after having activated the Persistent Storage 45.011
And all notifications have disappeared 9.563
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.863
And all tps features are enabled 2.456
And all tps features but the first one are active 2.239
After features/support/hooks.rb:330 2.781
After features/support/hooks.rb:100 0.000
Tags: @product
5:41.569
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 4:13.037
And I enable persistence 36.854
And I log in to a new session after having activated the Persistent Storage 47.435
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.697
And persistence is enabled 2.544
After features/support/hooks.rb:330 1.719
After features/support/hooks.rb:100 0.000
Tags: @product
33.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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.967
And I enable persistence but something goes wrong during the LUKS header upgrade 21.309
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.740
After features/support/hooks.rb:330 0.782
After features/support/hooks.rb:100 0.000
Tags: @product
48.814
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.101
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.203
When I enable persistence 31.667
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.756
After features/support/hooks.rb:330 3.170
After features/support/hooks.rb:100 0.000
Tags: @product
25.554
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.099
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.642
When I try to enable persistence 0.459
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.112
When I repair the filesystem of the Persistent Storage 1.211
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.264
And the filesystem of the Persistent Storage was repaired 0.063
When I close the filesystem repair dialog 1.193
Then persistence is successfully enabled 1.507
After features/support/hooks.rb:330 0.797
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.349
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.556
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.127
When I try to enable persistence 0.326
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.005
When I repair the filesystem of the Persistent Storage 1.210
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 37.823
And all notifications have disappeared 8.771
# 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.513
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.286
When I close the "whisperback" window 1.409
Then the Tor Browser starts 14.140
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.090
After features/support/hooks.rb:330 1.728
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.307
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.389
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.057
And Tails detects disk read failures on the boot device 1.521
When I try to enable persistence 0.415
Then the Welcome Screen tells me that my hardware is probably failing 7.501
When I log in to a new session 21.423
And all notifications have disappeared 7.498
Then the Tor Browser starts 24.681
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.818
After features/support/hooks.rb:330 1.534
After features/support/hooks.rb:100 0.000