Project Number Date
test_Tails_ISO_stable 5547 03 Apr 2025, 04:29

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 42:30.545 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:16.386
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:16.386
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:715: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:330 5.095

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:08:07)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5547/artifact/build-artifacts/04:08:07_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5547/artifact/build-artifacts/04:08:07_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5547/artifact/build-artifacts/04:08:07_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5547/artifact/build-artifacts/04:08:07_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
41.967
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 10.436
When I log in to a new session without activating the Persistent Storage 23.446
Then Tails is running from USB drive "__internal" 0.520
And persistence is disabled 0.408
But a Tails persistence partition exists on USB drive "__internal" 7.155
After features/support/hooks.rb:330 1.432
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.646
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.278
Then Tails is running from USB drive "__internal" 0.402
When I create a file in the Persistent directory 0.133
And I create a persistent partition with the default settings 23.286
Then the file I created was copied to the Persistent Storage 2.136
When I shutdown Tails and wait for the computer to power off 10.367
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.140
Then persistence for "Persistent" is active 0.831
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.569
After features/support/hooks.rb:100 0.006
Tags: @product
58.320
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.442
And the system is very low on memory 3.843
When I create a file in the Persistent directory 1.284
When I try to create a persistent partition 22.753
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.205
When I close the Persistent Storage app 2.579
And I free up some memory 3.764
And I create a persistent partition with the default settings 13.197
Then the file I created was copied to the Persistent Storage 0.248
After features/support/hooks.rb:330 2.199
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.765
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.375
Then Tails is running from USB drive "__internal" 0.650
And all tps features are active 2.242
And all persistent directories have safe access rights 2.795
When I disable the first tps feature 5.927
Then all tps features but the first one are active 2.132
And I shutdown Tails and wait for the computer to power off 12.889
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.704
Then all tps features but the first one are active 2.048
After features/support/hooks.rb:330 0.570
After features/support/hooks.rb:100 0.005
Tags: @product
20.514
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.817
Then persistence for "Persistent" is active 0.519
And I create a file in the Persistent directory 0.138
Then the file I created was copied to the Persistent Storage 0.117
When I disable the first tps feature 6.134
Then persistence for "Persistent" is not active 0.244
And the Persistent directory does not exist 0.132
When I enable the first tps feature 3.256
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.473
After features/support/hooks.rb:100 0.000
Tags: @product
19.926
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.808
Then persistence for "Persistent" is active 0.213
When I create a file in the Persistent directory 0.124
And I disable the first tps feature 6.136
And I delete the data of the Persistent Folder feature 3.581
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.598
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.638
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.856
And the network is plugged 0.093
And Tor is ready 22.703
And I take note of which tps features are available 0.602
When I write some files expected to persist 1.748
And I shutdown Tails and wait for the computer to power off 8.539
# 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.094
After features/support/hooks.rb:330 0.151
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.407
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.577
And the network is plugged 0.080
And Tor is ready 45.817
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.191
And I shutdown Tails and wait for the computer to power off 8.618
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.436
And I capture all network traffic 0.004
And the network is plugged 0.066
And Tor is ready 18.950
And I switch to the "persistent-con-current" NetworkManager connection 0.456
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.114
After features/support/hooks.rb:330 0.654
After features/support/hooks.rb:100 0.059
Tags: @product
51.811
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.030
And I enable persistence creation in Tails Greeter 1.162
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.261
Then I create a persistent partition with the default settings using the wizard that was already open 19.357
After features/support/hooks.rb:330 2.452
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.372
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.664
When I enable persistence 32.212
Then no persistent Greeter options were restored 14.371
When I set all Greeter options to non-default values 28.998
And I log in to a new session in German (de) after having activated the Persistent Storage 42.872
Then all Greeter options are set to non-default values 0.522
When I cold reboot the computer 7.498
And the computer reboots Tails 1:1.202
Given I enable persistence 15.579
Then persistent Greeter options were restored 0.557
When I log in to a new session after having activated the Persistent Storage 40.586
Then all Greeter options are set to non-default values 0.305
After features/support/hooks.rb:330 1.566
After features/support/hooks.rb:100 0.006
Tags: @product
3:37.934
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.670
# 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 35.115
And I shutdown Tails and wait for the computer to power off 13.070
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.231
And I change the passphrase of the Persistent Storage back to the original 35.846
After features/support/hooks.rb:330 3.586
After features/support/hooks.rb:100 0.006
Tags: @product
53.743
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.031
And I log in to a new session without activating the Persistent Storage 20.454
Then persistence is disabled 0.453
But a Tails persistence partition exists on USB drive "__internal" 6.979
And all notifications have disappeared 9.511
When I delete the persistent partition 6.230
Then there is no persistence partition on USB drive "__internal" 1.082
After features/support/hooks.rb:330 1.870
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.038
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.260
When I write some dotfile expected to persist 0.351
And I shutdown Tails and wait for the computer to power off 10.630
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.476
Then the expected persistent dotfile is present in the filesystem 0.319
After features/support/hooks.rb:330 1.295
After features/support/hooks.rb:100 0.007
Tags: @product
1:33.841
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.032
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.256
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.331
When I log in to a new session after having activated the Persistent Storage 40.739
And all notifications have disappeared 7.347
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.102
And all tps features are enabled 1.990
And all tps features but the first one are active 1.963
After features/support/hooks.rb:330 1.945
After features/support/hooks.rb:100 0.000
Tags: @product
4:7.969
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 2:48.208
And I enable persistence 29.468
And I log in to a new session after having activated the Persistent Storage 46.063
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.832
And persistence is enabled 3.396
After features/support/hooks.rb:330 1.991
After features/support/hooks.rb:100 0.000
Tags: @product
30.977
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.276
And I enable persistence but something goes wrong during the LUKS header upgrade 21.892
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.808
After features/support/hooks.rb:330 0.679
After features/support/hooks.rb:100 0.000
Tags: @product
45.037
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.689
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.130
When I enable persistence 28.675
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.455
After features/support/hooks.rb:330 2.156
After features/support/hooks.rb:100 0.000
Tags: @product
47.124
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 8.621
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.956
When I try to enable persistence 1.511
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.304
When I repair the filesystem of the Persistent Storage 1.867
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.340
And the filesystem of the Persistent Storage was repaired 2.828
When I close the filesystem repair dialog 1.280
Then persistence is successfully enabled 1.413
After features/support/hooks.rb:330 2.217
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.587
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.562
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.261
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.386
When I repair the filesystem of the Persistent Storage 1.286
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 40.546
And all notifications have disappeared 7.427
# 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.794
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.197
When I close the "whisperback" window 1.528
Then the Tor Browser starts 20.489
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.929
After features/support/hooks.rb:330 2.756
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.531
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.947
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.730
And Tails detects disk read failures on the boot device 1.673
When I try to enable persistence 0.456
Then the Welcome Screen tells me that my hardware is probably failing 17.969
When I log in to a new session 45.864
And all notifications have disappeared 8.746
Then the Tor Browser starts 16.316
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.826
After features/support/hooks.rb:330 2.903
After features/support/hooks.rb:100 0.000