Project Number Date
test_Tails_ISO_devel 3669 29 Jan 2025, 02:42

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 147 2 8 0 0 157 19 2 21 1:9:36.242 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:6.140
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 7:6.140
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/common_steps.rb:708:in `/^available upgrades have been checked$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:326 5.472

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:19:06)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3669/artifact/build-artifacts/04:19:06_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3669/artifact/build-artifacts/04:19:06_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3669/artifact/build-artifacts/04:19:06_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3669/artifact/build-artifacts/04:19:06_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
58.267
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 20.634
When I log in to a new session without activating the Persistent Storage 28.868
Then Tails is running from USB drive "__internal" 0.710
And persistence is disabled 0.372
But a Tails persistence partition exists on USB drive "__internal" 7.681
After features/support/hooks.rb:326 1.657
After features/support/hooks.rb:100 0.000
Tags: @product
3:51.344
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 31.777
Then Tails is running from USB drive "__internal" 0.563
When I create a file in the Persistent directory 0.158
And I create a persistent partition with the default settings 26.089
Then the file I created was copied to the Persistent Storage 0.692
When I shutdown Tails and wait for the computer to power off 15.528
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.985
Then persistence for "Persistent" is active 0.443
And the file I created in the Persistent directory exists 0.106
After features/support/hooks.rb:326 0.771
After features/support/hooks.rb:100 0.008
Tags: @product
1:11.962
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.778
And the system is very low on memory 6.969
When I create a file in the Persistent directory 1.981
When I try to create a persistent partition 26.655
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.549
When I close the Persistent Storage app 2.922
And I free up some memory 1.770
And I create a persistent partition with the default settings 19.021
Then the file I created was copied to the Persistent Storage 0.313
After features/support/hooks.rb:326 1.877
After features/support/hooks.rb:100 0.002
Tags: @product
3:24.147
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 24.971
Then Tails is running from USB drive "__internal" 0.753
And all tps features are active 2.873
And all persistent directories have safe access rights 2.912
When I disable the first tps feature 6.472
Then all tps features but the first one are active 3.327
And I shutdown Tails and wait for the computer to power off 15.514
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.536
Then all tps features but the first one are active 2.785
After features/support/hooks.rb:326 0.894
After features/support/hooks.rb:100 0.009
Tags: @product
22.090
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.764
Then persistence for "Persistent" is active 0.147
And I create a file in the Persistent directory 0.100
Then the file I created was copied to the Persistent Storage 0.086
When I disable the first tps feature 6.397
Then persistence for "Persistent" is not active 0.176
And the Persistent directory does not exist 0.076
When I enable the first tps feature 3.172
Then persistence for "Persistent" is active 0.092
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
Tags: @product
20.188
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 9.656
Then persistence for "Persistent" is active 0.165
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 6.233
And I delete the data of the Persistent Folder feature 3.991
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:326 1.081
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.123
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.792
And the network is plugged 0.079
And Tor is ready 24.217
And I take note of which tps features are available 0.737
When I write some files expected to persist 2.339
And I shutdown Tails and wait for the computer to power off 8.862
# 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.094
After features/support/hooks.rb:326 0.169
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.154
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.094
And the network is plugged 0.117
And Tor is ready 21.832
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.267
And I shutdown Tails and wait for the computer to power off 9.470
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.201
And I capture all network traffic 0.013
And the network is plugged 0.096
And Tor is ready 22.252
And I switch to the "persistent-con-current" NetworkManager connection 0.489
And the 1st network device has a spoofed MAC address configured 0.171
And no network device leaked the real MAC address 0.148
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.041
Tags: @product
1:4.210
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 12.162
And I enable persistence creation in Tails Greeter 1.131
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.851
Then I create a persistent partition with the default settings using the wizard that was already open 26.065
After features/support/hooks.rb:326 1.451
After features/support/hooks.rb:100 0.000
Tags: @product
5:26.826
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 31.807
When I enable persistence 53.506
Then no persistent Greeter options were restored 14.681
When I set all Greeter options to non-default values 27.374
And I log in to a new session in German (de) after having activated the Persistent Storage 51.571
Then all Greeter options are set to non-default values 1.632
When I cold reboot the computer 7.676
And the computer reboots Tails 1:1.909
Given I enable persistence 34.260
Then persistent Greeter options were restored 0.530
When I log in to a new session after having activated the Persistent Storage 41.214
Then all Greeter options are set to non-default values 0.662
After features/support/hooks.rb:326 1.814
After features/support/hooks.rb:100 0.007
Tags: @product
4:4.182
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 10.938
# 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 41.637
And I shutdown Tails and wait for the computer to power off 12.689
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.786
And I change the passphrase of the Persistent Storage back to the original 36.130
After features/support/hooks.rb:326 2.440
After features/support/hooks.rb:100 0.007
Tags: @product
1:3.159
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.880
And I log in to a new session without activating the Persistent Storage 22.269
Then persistence is disabled 0.522
But a Tails persistence partition exists on USB drive "__internal" 10.191
And all notifications have disappeared 11.958
When I delete the persistent partition 6.870
Then there is no persistence partition on USB drive "__internal" 0.465
After features/support/hooks.rb:326 2.868
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.892
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.224
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 8.774
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.370
Then the expected persistent dotfile is present in the filesystem 0.453
After features/support/hooks.rb:326 0.658
After features/support/hooks.rb:100 0.007
Tags: @product
1:50.656
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.221
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.076
When I try to enable persistence 0.257
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.951
When I log in to a new session after having activated the Persistent Storage 42.904
And all notifications have disappeared 9.026
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.374
And all tps features are enabled 2.677
And all tps features but the first one are active 2.166
After features/support/hooks.rb:326 1.468
After features/support/hooks.rb:100 0.000
Tags: @product
5:52.414
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 4:26.899
And I enable persistence 33.973
And I log in to a new session after having activated the Persistent Storage 41.730
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 6.773
And persistence is enabled 3.038
After features/support/hooks.rb:326 1.087
After features/support/hooks.rb:100 0.000
Tags: @product
34.817
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 11.394
And I enable persistence but something goes wrong during the LUKS header upgrade 22.543
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.879
After features/support/hooks.rb:326 0.926
After features/support/hooks.rb:100 0.000
Tags: @product
51.244
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.214
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.828
When I enable persistence 31.351
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.763
After features/support/hooks.rb:326 0.952
After features/support/hooks.rb:100 0.000
Tags: @product
56.129
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 8.953
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.026
When I try to enable persistence 0.497
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.356
When I repair the filesystem of the Persistent Storage 1.329
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.777
And the filesystem of the Persistent Storage was repaired 1.989
When I close the filesystem repair dialog 2.382
Then persistence is successfully enabled 1.817
After features/support/hooks.rb:326 1.043
After features/support/hooks.rb:100 0.000
Tags: @product @doc
21:31.483
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.006
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.387
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.342
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 38.840
When I repair the filesystem of the Persistent Storage 1.345
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 41.182
And all notifications have disappeared 20:0.197
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:712:in `new'
./features/step_definitions/common_steps.rb:712:in `/^all notifications have disappeared$/'
features/persistence.feature:192:in `And all notifications have disappeared'
# 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.000
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.000
When I close the "whisperback" window 0.000
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:326 10.914

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 05:20:02)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3669/artifact/build-artifacts/05:20:02_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3669/artifact/build-artifacts/05:20:02_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3669/artifact/build-artifacts/05:20:02_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.807
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.091
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.814
And Tails detects disk read failures on the boot device 1.704
When I try to enable persistence 0.527
Then the Welcome Screen tells me that my hardware is probably failing 23.083
When I log in to a new session 49.368
And all notifications have disappeared 7.856
Then the Tor Browser starts 23.537
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.822
After features/support/hooks.rb:326 1.817
After features/support/hooks.rb:100 0.000