Project Number Date
test_Tails_ISO_stable 5156 08 Oct 2024, 08:59

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:32.788 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.117
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.610
And I update APT using apt 14.218
And I install "python3-behave" using apt 25.394
Then the Tails Persistent Storage behave tests pass 2.893
After features/support/hooks.rb:326 0.983
After features/support/hooks.rb:100 0.000
Tags: @product
45.822
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.353
When I log in to a new session without activating the Persistent Storage 22.706
Then Tails is running from USB drive "__internal" 0.733
And persistence is disabled 0.353
But a Tails persistence partition exists on USB drive "__internal" 9.674
After features/support/hooks.rb:326 1.897
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.086
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 25.737
Then Tails is running from USB drive "__internal" 0.440
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 26.576
Then the file I created was copied to the Persistent Storage 0.651
When I shutdown Tails and wait for the computer to power off 15.270
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.765
Then persistence for "Persistent" is active 0.426
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 1.007
After features/support/hooks.rb:100 0.010
Tags: @product
1:11.278
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.114
And the system is very low on memory 5.896
When I create a file in the Persistent directory 1.023
When I try to create a persistent partition 33.509
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.353
When I close the Persistent Storage app 2.733
And I free up some memory 1.776
And I create a persistent partition with the default settings 14.561
Then the file I created was copied to the Persistent Storage 0.311
After features/support/hooks.rb:326 1.720
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.059
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 27.291
Then Tails is running from USB drive "__internal" 0.469
And all tps features are active 2.675
And all persistent directories have safe access rights 2.568
When I disable the first tps feature 5.623
Then all tps features but the first one are active 2.251
And I shutdown Tails and wait for the computer to power off 15.459
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.168
Then all tps features but the first one are active 2.552
After features/support/hooks.rb:326 0.904
After features/support/hooks.rb:100 0.008
Tags: @product
20.329
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.815
Then persistence for "Persistent" is active 0.088
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.067
When I disable the first tps feature 6.125
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.043
When I enable the first tps feature 3.880
Then persistence for "Persistent" is active 0.098
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.845
After features/support/hooks.rb:100 0.000
Tags: @product
20.645
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.323
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 6.231
And I delete the data of the Persistent Folder feature 3.852
Then the file I created does not exist on the Persistent Storage 0.076
After features/support/hooks.rb:326 0.993
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.043
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.967
And the network is plugged 0.102
And Tor is ready 27.956
And I take note of which tps features are available 0.673
When I write some files expected to persist 1.628
And I shutdown Tails and wait for the computer to power off 8.550
# 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.164
After features/support/hooks.rb:326 0.097
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.614
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.144
And the network is plugged 0.072
And Tor is ready 27.431
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.297
And I shutdown Tails and wait for the computer to power off 9.070
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.634
And I capture all network traffic 0.007
And the network is plugged 0.101
And Tor is ready 20.163
And I switch to the "persistent-con-current" NetworkManager connection 0.341
And the 1st network device has a spoofed MAC address configured 0.150
And no network device leaked the real MAC address 0.201
After features/support/hooks.rb:326 0.644
After features/support/hooks.rb:100 0.061
Tags: @product
1:2.719
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 15.082
And I enable persistence creation in Tails Greeter 1.319
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.648
Then I create a persistent partition with the default settings using the wizard that was already open 23.668
After features/support/hooks.rb:326 2.661
After features/support/hooks.rb:100 0.000
Tags: @product
5:11.806
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 14.401
When I enable persistence 47.196
Then no persistent Greeter options were restored 14.347
When I set all Greeter options to non-default values 25.536
And I log in to a new session in German (de) after having activated the Persistent Storage 47.989
Then all Greeter options are set to non-default values 0.424
When I cold reboot the computer 7.274
And the computer reboots Tails 1:3.072
Given I enable persistence 33.645
Then persistent Greeter options were restored 15.357
When I log in to a new session after having activated the Persistent Storage 42.095
Then all Greeter options are set to non-default values 0.463
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.008
Tags: @product
4:26.552
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 11.264
# 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 55.072
And I shutdown Tails and wait for the computer to power off 10.822
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:27.788
And I change the passphrase of the Persistent Storage back to the original 41.604
After features/support/hooks.rb:326 1.884
After features/support/hooks.rb:100 0.008
Tags: @product
1:4.391
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 10.796
And I log in to a new session without activating the Persistent Storage 22.512
Then persistence is disabled 0.463
But a Tails persistence partition exists on USB drive "__internal" 12.775
And all notifications have disappeared 10.622
When I delete the persistent partition 6.795
Then there is no persistence partition on USB drive "__internal" 0.425
After features/support/hooks.rb:326 0.992
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.019
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.359
When I write some dotfile expected to persist 0.071
And I shutdown Tails and wait for the computer to power off 10.905
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.259
Then the expected persistent dotfile is present in the filesystem 0.423
After features/support/hooks.rb:326 0.778
After features/support/hooks.rb:100 0.007
Tags: @product
1:51.419
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.144
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.333
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.046
When I log in to a new session after having activated the Persistent Storage 49.619
And all notifications have disappeared 8.799
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.198
And all tps features are enabled 2.727
And all tps features but the first one are active 2.470
After features/support/hooks.rb:326 1.445
After features/support/hooks.rb:100 0.000
Tags: @product
5:52.932
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:22.903
And I enable persistence 38.683
And I log in to a new session after having activated the Persistent Storage 48.365
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.796
And persistence is enabled 0.184
After features/support/hooks.rb:326 1.585
After features/support/hooks.rb:100 0.000
Tags: @product
28.513
Before features/support/hooks.rb:269 0.003
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.361
And I enable persistence but something goes wrong during the LUKS header upgrade 19.385
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.767
After features/support/hooks.rb:326 0.688
After features/support/hooks.rb:100 0.000
Tags: @product
46.616
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.890
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.849
When I enable persistence 30.261
Then the filesystem of the Persistent Storage was repaired 0.122
And persistence is successfully enabled 0.492
After features/support/hooks.rb:326 1.109
After features/support/hooks.rb:100 0.000
Tags: @product
29.551
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.826
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.680
When I try to enable persistence 0.436
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.718
When I repair the filesystem of the Persistent Storage 1.316
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.301
And the filesystem of the Persistent Storage was repaired 0.480
When I close the filesystem repair dialog 1.344
Then persistence is successfully enabled 0.445
After features/support/hooks.rb:326 0.777
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.879
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 9.265
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.287
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.373
When I repair the filesystem of the Persistent Storage 2.186
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 29.532
And all notifications have disappeared 7.646
# 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.718
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.316
When I close the "whisperback" window 1.707
Then the Tor Browser starts 14.589
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.078
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 6.933

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:45:56)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5156/artifact/build-artifacts/03:45:56_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5156/artifact/build-artifacts/03:45:56_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5156/artifact/build-artifacts/03:45:56_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5156/artifact/build-artifacts/03:45:56_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:12.388
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 10.907
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.662
And Tails detects disk read failures on the boot device 1.716
When I try to enable persistence 0.400
Then the Welcome Screen tells me that my hardware is probably failing 6.212
When I log in to a new session 20.999
And all notifications have disappeared 7.512
Then the Tor Browser starts 18.889
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.087
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 6.059

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5156/artifact/build-artifacts/03:50:15_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5156/artifact/build-artifacts/03:50:15_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5156/artifact/build-artifacts/03:50:15_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5156/artifact/build-artifacts/03:50:15_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000