Project Number Date
test_Tails_ISO_devel 3536 08 Oct 2024, 13:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 2 0 0 0 157 19 2 21 49:41.027 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.699
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.319
And I update APT using apt 13.302
And I install "python3-behave" using apt 25.613
Then the Tails Persistent Storage behave tests pass 2.464
After features/support/hooks.rb:326 0.640
After features/support/hooks.rb:100 0.000
Tags: @product
47.600
Before features/support/hooks.rb:269 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 15.758
When I log in to a new session without activating the Persistent Storage 22.560
Then Tails is running from USB drive "__internal" 0.497
And persistence is disabled 0.292
But a Tails persistence partition exists on USB drive "__internal" 8.489
After features/support/hooks.rb:326 1.290
After features/support/hooks.rb:100 0.000
Tags: @product
3:51.427
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 26.820
Then Tails is running from USB drive "__internal" 0.885
When I create a file in the Persistent directory 0.299
And I create a persistent partition with the default settings 30.175
Then the file I created was copied to the Persistent Storage 0.690
When I shutdown Tails and wait for the computer to power off 15.949
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.724
Then persistence for "Persistent" is active 1.809
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.960
After features/support/hooks.rb:100 0.015
Tags: @product
1:11.357
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.870
And the system is very low on memory 5.874
When I create a file in the Persistent directory 0.916
When I try to create a persistent partition 32.443
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.162
When I close the Persistent Storage app 2.880
And I free up some memory 1.899
And I create a persistent partition with the default settings 14.097
Then the file I created was copied to the Persistent Storage 0.212
After features/support/hooks.rb:326 1.384
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.963
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.937
Then Tails is running from USB drive "__internal" 0.434
And all tps features are active 2.230
And all persistent directories have safe access rights 2.550
When I disable the first tps feature 5.704
Then all tps features but the first one are active 2.792
And I shutdown Tails and wait for the computer to power off 8.431
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.428
Then all tps features but the first one are active 2.452
After features/support/hooks.rb:326 0.949
After features/support/hooks.rb:100 0.011
Tags: @product
21.076
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.731
Then persistence for "Persistent" is active 0.122
And I create a file in the Persistent directory 0.156
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 6.001
Then persistence for "Persistent" is not active 0.128
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.644
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
Tags: @product
19.508
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.420
Then persistence for "Persistent" is active 0.104
When I create a file in the Persistent directory 0.097
And I disable the first tps feature 5.370
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.188
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.814
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.290
And the network is plugged 0.091
And Tor is ready 23.304
And I take note of which tps features are available 0.607
When I write some files expected to persist 1.662
And I shutdown Tails and wait for the computer to power off 9.416
# 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" 26.440
After features/support/hooks.rb:326 0.163
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.036
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.572
And the network is plugged 0.119
And Tor is ready 18.263
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.263
And I shutdown Tails and wait for the computer to power off 10.994
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.165
And I capture all network traffic 0.008
And the network is plugged 0.073
And Tor is ready 18.909
And I switch to the "persistent-con-current" NetworkManager connection 0.372
And the 1st network device has a spoofed MAC address configured 0.141
And no network device leaked the real MAC address 0.152
After features/support/hooks.rb:326 0.675
After features/support/hooks.rb:100 0.069
Tags: @product
1:9.146
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.652
And I enable persistence creation in Tails Greeter 1.607
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.929
Then I create a persistent partition with the default settings using the wizard that was already open 30.958
After features/support/hooks.rb:326 1.842
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.920
Before features/support/hooks.rb:269 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 18.896
When I enable persistence 44.119
Then no persistent Greeter options were restored 14.587
When I set all Greeter options to non-default values 30.293
And I log in to a new session in German (de) after having activated the Persistent Storage 54.305
Then all Greeter options are set to non-default values 0.577
When I cold reboot the computer 7.975
And the computer reboots Tails 59.929
Given I enable persistence 31.761
Then persistent Greeter options were restored 15.236
When I log in to a new session after having activated the Persistent Storage 37.884
Then all Greeter options are set to non-default values 0.352
After features/support/hooks.rb:326 1.434
After features/support/hooks.rb:100 0.010
Tags: @product
4:5.683
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.907
# 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 39.393
And I shutdown Tails and wait for the computer to power off 13.273
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:30.520
And I change the passphrase of the Persistent Storage back to the original 32.588
After features/support/hooks.rb:326 1.866
After features/support/hooks.rb:100 0.007
Tags: @product
1:4.820
Before features/support/hooks.rb:269 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 13.005
And I log in to a new session without activating the Persistent Storage 26.170
Then persistence is disabled 0.373
But a Tails persistence partition exists on USB drive "__internal" 8.076
And all notifications have disappeared 9.567
When I delete the persistent partition 7.113
Then there is no persistence partition on USB drive "__internal" 0.513
After features/support/hooks.rb:326 1.022
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.004
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.316
When I write some dotfile expected to persist 0.119
And I shutdown Tails and wait for the computer to power off 8.617
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.525
Then the expected persistent dotfile is present in the filesystem 0.424
After features/support/hooks.rb:326 0.694
After features/support/hooks.rb:100 0.009
Tags: @product
1:52.319
Before features/support/hooks.rb:269 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.665
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.074
When I try to enable persistence 0.286
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.681
When I log in to a new session after having activated the Persistent Storage 49.917
And all notifications have disappeared 9.715
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.371
And all tps features are enabled 2.474
And all tps features but the first one are active 2.131
After features/support/hooks.rb:326 1.244
After features/support/hooks.rb:100 0.000
Tags: @product
6:3.007
Before features/support/hooks.rb:269 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:30.462
And I enable persistence 43.605
And I log in to a new session after having activated the Persistent Storage 46.885
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.828
And persistence is enabled 0.224
After features/support/hooks.rb:326 1.953
After features/support/hooks.rb:100 0.000
Tags: @product
31.397
Before features/support/hooks.rb:269 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 10.856
And I enable persistence but something goes wrong during the LUKS header upgrade 19.765
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.775
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.000
Tags: @product
53.362
Before features/support/hooks.rb:269 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.452
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.609
When I enable persistence 31.826
Then the filesystem of the Persistent Storage was repaired 0.106
And persistence is successfully enabled 0.367
After features/support/hooks.rb:326 0.798
After features/support/hooks.rb:100 0.000
Tags: @product
46.906
Before features/support/hooks.rb:269 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.911
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.176
When I try to enable persistence 0.489
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.108
When I repair the filesystem of the Persistent Storage 1.212
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.206
And the filesystem of the Persistent Storage was repaired 0.120
When I close the filesystem repair dialog 1.271
Then persistence is successfully enabled 0.409
After features/support/hooks.rb:326 0.890
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.361
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.017
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.095
When I try to enable persistence 0.358
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.169
When I repair the filesystem of the Persistent Storage 1.321
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 40.473
And all notifications have disappeared 9.313
# 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.922
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.887
When I close the "whisperback" window 1.732
Then the Tor Browser starts 13.974
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.006
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/browser.rb:200:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:215:in `/^"([^"]+)" has loaded in the Tor Browser$/'
features/persistence.feature:201:in `And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser'
After features/support/hooks.rb:326 7.793

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:49:33)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3536/artifact/build-artifacts/03:49:33_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3536/artifact/build-artifacts/03:49:33_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3536/artifact/build-artifacts/03:49:33_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3536/artifact/build-artifacts/03:49:33_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:34.613
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 25.088
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.645
And Tails detects disk read failures on the boot device 1.752
When I try to enable persistence 0.511
Then the Welcome Screen tells me that my hardware is probably failing 5.760
When I log in to a new session 23.098
And all notifications have disappeared 7.519
Then the Tor Browser starts 23.159
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.076
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/browser.rb:200:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:215:in `/^"([^"]+)" has loaded in the Tor Browser$/'
features/persistence.feature:212:in `And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser'
After features/support/hooks.rb:326 5.828

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:54:15)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3536/artifact/build-artifacts/03:54:15_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3536/artifact/build-artifacts/03:54:15_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3536/artifact/build-artifacts/03:54:15_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3536/artifact/build-artifacts/03:54:15_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000