Project Number Date
test_Tails_ISO_stable 5154 07 Oct 2024, 19:30

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 47:23.289 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:35.923
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:54.023
And I update APT using apt 13.763
And I install "python3-behave" using apt 25.709
Then the Tails Persistent Storage behave tests pass 2.426
After features/support/hooks.rb:326 0.668
After features/support/hooks.rb:100 0.000
Tags: @product
44.613
Before features/support/hooks.rb:269 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 12.479
When I log in to a new session without activating the Persistent Storage 23.851
Then Tails is running from USB drive "__internal" 0.602
And persistence is disabled 0.269
But a Tails persistence partition exists on USB drive "__internal" 7.410
After features/support/hooks.rb:326 2.448
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.563
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 11.764
Then Tails is running from USB drive "__internal" 0.451
When I create a file in the Persistent directory 0.201
And I create a persistent partition with the default settings 24.146
Then the file I created was copied to the Persistent Storage 0.580
When I shutdown Tails and wait for the computer to power off 15.534
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.471
Then persistence for "Persistent" is active 0.340
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.038
After features/support/hooks.rb:100 0.009
Tags: @product
56.803
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 13.299
And the system is very low on memory 5.157
When I create a file in the Persistent directory 1.415
When I try to create a persistent partition 21.083
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.127
When I close the Persistent Storage app 2.510
And I free up some memory 1.033
And I create a persistent partition with the default settings 11.934
Then the file I created was copied to the Persistent Storage 0.240
After features/support/hooks.rb:326 1.303
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.131
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 10.676
Then Tails is running from USB drive "__internal" 0.382
And all tps features are active 2.340
And all persistent directories have safe access rights 2.413
When I disable the first tps feature 5.997
Then all tps features but the first one are active 2.326
And I shutdown Tails and wait for the computer to power off 10.824
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.820
Then all tps features but the first one are active 2.351
After features/support/hooks.rb:326 0.710
After features/support/hooks.rb:100 0.011
Tags: @product
19.075
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.829
Then persistence for "Persistent" is active 0.122
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 5.621
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.127
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:326 0.741
After features/support/hooks.rb:100 0.000
Tags: @product
20.175
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 10.183
Then persistence for "Persistent" is active 0.130
When I create a file in the Persistent directory 0.140
And I disable the first tps feature 5.921
And I delete the data of the Persistent Folder feature 3.744
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.717
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.313
And the network is plugged 0.216
And Tor is ready 15.945
And I take note of which tps features are available 0.544
When I write some files expected to persist 1.529
And I shutdown Tails and wait for the computer to power off 8.593
# 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.572
After features/support/hooks.rb:326 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.582
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.704
And the network is plugged 0.116
And Tor is ready 19.910
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.223
And I shutdown Tails and wait for the computer to power off 8.648
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.962
And I capture all network traffic 0.006
And the network is plugged 0.091
And Tor is ready 18.337
And I switch to the "persistent-con-current" NetworkManager connection 0.311
And the 1st network device has a spoofed MAC address configured 0.127
And no network device leaked the real MAC address 0.141
After features/support/hooks.rb:326 0.638
After features/support/hooks.rb:100 0.046
Tags: @product
59.828
Before features/support/hooks.rb:269 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.017
And I enable persistence creation in Tails Greeter 1.192
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.585
Then I create a persistent partition with the default settings using the wizard that was already open 23.033
After features/support/hooks.rb:326 1.604
After features/support/hooks.rb:100 0.000
Tags: @product
5:9.128
Before features/support/hooks.rb:269 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 14.861
When I enable persistence 37.970
Then no persistent Greeter options were restored 14.319
When I set all Greeter options to non-default values 30.503
And I log in to a new session in German (de) after having activated the Persistent Storage 54.813
Then all Greeter options are set to non-default values 0.426
When I cold reboot the computer 7.343
And the computer reboots Tails 1:3.031
Given I enable persistence 32.588
Then persistent Greeter options were restored 14.822
When I log in to a new session after having activated the Persistent Storage 37.818
Then all Greeter options are set to non-default values 0.628
After features/support/hooks.rb:326 0.821
After features/support/hooks.rb:100 0.010
Tags: @product
3:42.164
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.753
# 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.887
And I shutdown Tails and wait for the computer to power off 14.814
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.361
And I change the passphrase of the Persistent Storage back to the original 40.347
After features/support/hooks.rb:326 1.637
After features/support/hooks.rb:100 0.007
Tags: @product
54.581
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 10.508
And I log in to a new session without activating the Persistent Storage 21.400
Then persistence is disabled 0.381
But a Tails persistence partition exists on USB drive "__internal" 7.115
And all notifications have disappeared 8.085
When I delete the persistent partition 6.688
Then there is no persistence partition on USB drive "__internal" 0.401
After features/support/hooks.rb:326 1.226
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.035
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.780
When I write some dotfile expected to persist 0.265
And I shutdown Tails and wait for the computer to power off 8.605
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.009
Then the expected persistent dotfile is present in the filesystem 0.373
After features/support/hooks.rb:326 0.769
After features/support/hooks.rb:100 0.007
Tags: @product
1:44.959
Before features/support/hooks.rb:269 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.159
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.070
When I try to enable persistence 0.267
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.995
When I log in to a new session after having activated the Persistent Storage 43.431
And all notifications have disappeared 8.865
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.398
And all tps features are enabled 2.538
And all tps features but the first one are active 2.233
After features/support/hooks.rb:326 1.222
After features/support/hooks.rb:100 0.000
Tags: @product
6:51.825
Before features/support/hooks.rb:269 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 5:33.580
And I enable persistence 32.960
And I log in to a new session after having activated the Persistent Storage 42.928
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.234
And persistence is enabled 0.121
After features/support/hooks.rb:326 1.574
After features/support/hooks.rb:100 0.000
Tags: @product
29.919
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 8.811
And I enable persistence but something goes wrong during the LUKS header upgrade 20.315
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.792
After features/support/hooks.rb:326 1.218
After features/support/hooks.rb:100 0.000
Tags: @product
47.715
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 9.976
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.793
When I enable persistence 31.490
Then the filesystem of the Persistent Storage was repaired 0.100
And persistence is successfully enabled 0.354
After features/support/hooks.rb:326 0.854
After features/support/hooks.rb:100 0.000
Tags: @product
27.189
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 8.817
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.880
When I try to enable persistence 0.489
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.856
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.174
And the filesystem of the Persistent Storage was repaired 0.087
When I close the filesystem repair dialog 1.212
Then persistence is successfully enabled 0.409
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.869
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.801
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.443
When I try to enable persistence 0.268
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.293
When I repair the filesystem of the Persistent Storage 1.268
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 36.377
And all notifications have disappeared 7.219
# 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.523
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.239
When I close the "whisperback" window 1.581
Then the Tor Browser starts 14.684
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.092
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.651

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:48:02)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5154/artifact/build-artifacts/03:48:02_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5154/artifact/build-artifacts/03:48:02_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5154/artifact/build-artifacts/03:48:02_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5154/artifact/build-artifacts/03:48:02_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:13.486
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.434
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.982
And Tails detects disk read failures on the boot device 1.670
When I try to enable persistence 0.449
Then the Welcome Screen tells me that my hardware is probably failing 6.146
When I log in to a new session 19.770
And all notifications have disappeared 7.285
Then the Tor Browser starts 23.646
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.100
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.736

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:52:23)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5154/artifact/build-artifacts/03:52:23_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5154/artifact/build-artifacts/03:52:23_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5154/artifact/build-artifacts/03:52:23_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5154/artifact/build-artifacts/03:52:23_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000