Project Number Date
test_Tails_ISO_tca-misc-improvements 1 09 Apr 2025, 15:51

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 2 4 0 0 157 19 2 21 1:34:14.373 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:37.430
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.414
And I update APT using apt 35:0.016
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/misc_helpers.rb:180:in `new'
./features/support/helpers/misc_helpers.rb:180:in `force_new_tor_circuit'
./features/support/helpers/misc_helpers.rb:192:in `block in retry_tor'
./features/support/helpers/misc_helpers.rb:222:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:209:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:208:in `loop'
./features/support/helpers/misc_helpers.rb:208:in `retry_action'
./features/support/helpers/misc_helpers.rb:196:in `retry_tor'
./features/step_definitions/apt.rb:59:in `/^I update APT using apt$/'
features/persistence.feature:8:in `And I update APT using apt'
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:330 10.797

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:51:55)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/1/artifact/build-artifacts/03:51:55_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/1/artifact/build-artifacts/03:51:55_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/1/artifact/build-artifacts/03:51:55_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
39.908
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 11.171
When I log in to a new session without activating the Persistent Storage 21.931
Then Tails is running from USB drive "__internal" 0.384
And persistence is disabled 0.354
But a Tails persistence partition exists on USB drive "__internal" 6.067
After features/support/hooks.rb:330 1.148
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.675
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 14.917
Then Tails is running from USB drive "__internal" 0.397
When I create a file in the Persistent directory 0.132
And I create a persistent partition with the default settings 24.192
Then the file I created was copied to the Persistent Storage 2.424
When I shutdown Tails and wait for the computer to power off 12.797
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.894
Then persistence for "Persistent" is active 0.851
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.971
After features/support/hooks.rb:100 0.020
Tags: @product
57.618
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 without a persistent partition and logged in 11.312
And the system is very low on memory 3.462
When I create a file in the Persistent directory 1.962
When I try to create a persistent partition 21.704
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.242
When I close the Persistent Storage app 2.576
And I free up some memory 2.801
And I create a persistent partition with the default settings 13.265
Then the file I created was copied to the Persistent Storage 0.290
After features/support/hooks.rb:330 2.850
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.457
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 12.980
Then Tails is running from USB drive "__internal" 0.792
And all tps features are active 2.361
And all persistent directories have safe access rights 2.728
When I disable the first tps feature 5.713
Then all tps features but the first one are active 2.186
And I shutdown Tails and wait for the computer to power off 13.152
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.518
Then all tps features but the first one are active 2.024
After features/support/hooks.rb:330 0.660
After features/support/hooks.rb:100 0.008
Tags: @product
19.734
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 10.599
Then persistence for "Persistent" is active 0.099
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 5.394
Then persistence for "Persistent" is not active 0.137
And the Persistent directory does not exist 0.079
When I enable the first tps feature 3.113
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.262
After features/support/hooks.rb:100 0.000
Tags: @product
18.994
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.606
Then persistence for "Persistent" is active 0.097
When I create a file in the Persistent directory 0.101
And I disable the first tps feature 5.336
And I delete the data of the Persistent Folder feature 3.791
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:330 1.487
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.860
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 10.061
And the network is plugged 0.080
And Tor is ready 17.167
And I take note of which tps features are available 0.602
When I write some files expected to persist 1.452
And I shutdown Tails and wait for the computer to power off 8.954
# 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.541
After features/support/hooks.rb:330 0.150
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.383
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 12.365
And the network is plugged 0.103
And Tor is ready 20.824
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.187
And I shutdown Tails and wait for the computer to power off 8.326
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.512
And I capture all network traffic 0.010
And the network is plugged 0.083
And Tor is ready 17.389
And I switch to the "persistent-con-current" NetworkManager connection 0.341
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.141
After features/support/hooks.rb:330 0.648
After features/support/hooks.rb:100 0.070
Tags: @product
58.088
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 without a persistent partition and stopped at Tails Greeter's login screen 13.022
And I enable persistence creation in Tails Greeter 1.146
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.989
Then I create a persistent partition with the default settings using the wizard that was already open 21.929
After features/support/hooks.rb:330 2.707
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.116
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 11.418
When I enable persistence 36.594
Then no persistent Greeter options were restored 14.391
When I set all Greeter options to non-default values 25.521
And I log in to a new session in German (de) after having activated the Persistent Storage 53.734
Then all Greeter options are set to non-default values 0.613
When I cold reboot the computer 7.836
And the computer reboots Tails 1:5.548
Given I enable persistence 18.995
Then persistent Greeter options were restored 0.643
When I log in to a new session after having activated the Persistent Storage 40.512
Then all Greeter options are set to non-default values 0.304
After features/support/hooks.rb:330 0.858
After features/support/hooks.rb:100 0.008
Tags: @product
3:34.120
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 12.286
# 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 30.857
And I shutdown Tails and wait for the computer to power off 14.888
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.719
And I change the passphrase of the Persistent Storage back to the original 29.368
After features/support/hooks.rb:330 2.105
After features/support/hooks.rb:100 0.010
Tags: @product
55.700
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 9.978
And I log in to a new session without activating the Persistent Storage 22.332
Then persistence is disabled 0.552
But a Tails persistence partition exists on USB drive "__internal" 5.761
And all notifications have disappeared 9.408
When I delete the persistent partition 6.610
Then there is no persistence partition on USB drive "__internal" 1.057
After features/support/hooks.rb:330 1.303
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.900
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.335
When I write some dotfile expected to persist 0.057
And I shutdown Tails and wait for the computer to power off 10.746
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.349
Then the expected persistent dotfile is present in the filesystem 0.411
After features/support/hooks.rb:330 1.366
After features/support/hooks.rb:100 0.009
Tags: @product
1:38.019
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.336
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.101
When I try to enable persistence 0.293
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.962
When I log in to a new session after having activated the Persistent Storage 40.801
And all notifications have disappeared 7.995
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.844
And all tps features are enabled 3.751
And all tps features but the first one are active 1.932
After features/support/hooks.rb:330 2.382
After features/support/hooks.rb:100 0.000
Tags: @product
5:25.980
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:6.228
And I enable persistence 29.333
And I log in to a new session after having activated the Persistent Storage 45.975
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.760
And persistence is enabled 2.682
After features/support/hooks.rb:330 1.487
After features/support/hooks.rb:100 0.000
Tags: @product
28.823
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.425
And I enable persistence but something goes wrong during the LUKS header upgrade 18.676
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.721
After features/support/hooks.rb:330 0.737
After features/support/hooks.rb:100 0.000
Tags: @product
47.312
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.933
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.697
When I enable persistence 29.077
Then the filesystem of the Persistent Storage was repaired 0.074
And persistence is successfully enabled 2.529
After features/support/hooks.rb:330 1.715
After features/support/hooks.rb:100 0.000
Tags: @product
46.906
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 8.900
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.791
When I try to enable persistence 0.393
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.467
When I repair the filesystem of the Persistent Storage 2.666
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.710
And the filesystem of the Persistent Storage was repaired 4.094
When I close the filesystem repair dialog 1.269
Then persistence is successfully enabled 1.611
After features/support/hooks.rb:330 1.983
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.012
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 8.823
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.127
When I try to enable persistence 0.324
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.008
When I repair the filesystem of the Persistent Storage 1.188
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 44.243
And all notifications have disappeared 7.966
# 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.716
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.207
When I close the "whisperback" window 1.423
Then the Tor Browser starts 22.120
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.787
After features/support/hooks.rb:330 2.637
After features/support/hooks.rb:100 0.000
Tags: @product @doc
21:27.328
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
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.896
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.224
And Tails detects disk read failures on the boot device 1.616
When I try to enable persistence 0.447
Then the Welcome Screen tells me that my hardware is probably failing 19.047
When I log in to a new session 49.910
And all notifications have disappeared 20:0.186
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:719:in `new'
./features/step_definitions/common_steps.rb:719:in `/^all notifications have disappeared$/'
features/persistence.feature:212:in `And all notifications have disappeared'
Then the Tor Browser starts 0.000
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:330 11.113

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 04:50:13)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/1/artifact/build-artifacts/04:50:13_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/1/artifact/build-artifacts/04:50:13_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_tca-misc-improvements/1/artifact/build-artifacts/04:50:13_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000