Project Number Date
test_Tails_ISO_stable 5546 03 Apr 2025, 02:40

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:50.132 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:17.040
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:17.040
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 4.833

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:03:17)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5546/artifact/build-artifacts/04:03:17_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5546/artifact/build-artifacts/04:03:17_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5546/artifact/build-artifacts/04:03:17_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5546/artifact/build-artifacts/04:03:17_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
41.718
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 10.773
When I log in to a new session without activating the Persistent Storage 23.129
Then Tails is running from USB drive "__internal" 0.421
And persistence is disabled 0.446
But a Tails persistence partition exists on USB drive "__internal" 6.947
After features/support/hooks.rb:330 1.680
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.239
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 without a persistent partition and logged in 14.974
Then Tails is running from USB drive "__internal" 0.333
When I create a file in the Persistent directory 0.137
And I create a persistent partition with the default settings 21.978
Then the file I created was copied to the Persistent Storage 1.940
When I shutdown Tails and wait for the computer to power off 12.397
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.609
Then persistence for "Persistent" is active 0.790
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.710
After features/support/hooks.rb:100 0.006
Tags: @product
1:7.089
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.690
And the system is very low on memory 4.498
When I create a file in the Persistent directory 1.852
When I try to create a persistent partition 29.803
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.309
When I close the Persistent Storage app 2.750
And I free up some memory 3.058
And I create a persistent partition with the default settings 13.711
Then the file I created was copied to the Persistent Storage 0.414
After features/support/hooks.rb:330 2.359
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.604
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 11.134
Then Tails is running from USB drive "__internal" 0.427
And all tps features are active 2.139
And all persistent directories have safe access rights 2.848
When I disable the first tps feature 5.794
Then all tps features but the first one are active 2.026
And I shutdown Tails and wait for the computer to power off 12.671
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.533
Then all tps features but the first one are active 2.027
After features/support/hooks.rb:330 1.151
After features/support/hooks.rb:100 0.007
Tags: @product
18.990
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.581
Then persistence for "Persistent" is active 0.072
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.071
When I disable the first tps feature 5.544
Then persistence for "Persistent" is not active 0.102
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.319
Then persistence for "Persistent" is active 0.103
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:330 1.634
After features/support/hooks.rb:100 0.000
Tags: @product
20.079
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 8.998
Then persistence for "Persistent" is active 0.109
When I create a file in the Persistent directory 0.170
And I disable the first tps feature 6.440
And I delete the data of the Persistent Folder feature 4.297
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.702
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.210
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.027
And the network is plugged 0.072
And Tor is ready 19.905
And I take note of which tps features are available 0.624
When I write some files expected to persist 1.776
And I shutdown Tails and wait for the computer to power off 8.679
# 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.124
After features/support/hooks.rb:330 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.032
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.272
And the network is plugged 0.122
And Tor is ready 20.307
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.256
And I shutdown Tails and wait for the computer to power off 8.543
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.675
And I capture all network traffic 0.023
And the network is plugged 0.076
And Tor is ready 19.956
And I switch to the "persistent-con-current" NetworkManager connection 0.513
And the 1st network device has a spoofed MAC address configured 0.147
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:330 0.865
After features/support/hooks.rb:100 0.043
Tags: @product
54.935
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 stopped at Tails Greeter's login screen 11.854
And I enable persistence creation in Tails Greeter 1.156
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.045
Then I create a persistent partition with the default settings using the wizard that was already open 22.878
After features/support/hooks.rb:330 2.635
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.128
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.128
When I enable persistence 36.521
Then no persistent Greeter options were restored 14.477
When I set all Greeter options to non-default values 25.743
And I log in to a new session in German (de) after having activated the Persistent Storage 52.141
Then all Greeter options are set to non-default values 0.419
When I cold reboot the computer 7.504
And the computer reboots Tails 58.379
Given I enable persistence 19.952
Then persistent Greeter options were restored 0.611
When I log in to a new session after having activated the Persistent Storage 36.679
Then all Greeter options are set to non-default values 0.568
After features/support/hooks.rb:330 1.783
After features/support/hooks.rb:100 0.007
Tags: @product
3:31.700
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.465
# 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 39.786
And I shutdown Tails and wait for the computer to power off 14.783
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:55.999
And I change the passphrase of the Persistent Storage back to the original 31.666
After features/support/hooks.rb:330 2.218
After features/support/hooks.rb:100 0.006
Tags: @product
57.189
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 11.234
And I log in to a new session without activating the Persistent Storage 22.073
Then persistence is disabled 0.348
But a Tails persistence partition exists on USB drive "__internal" 5.984
And all notifications have disappeared 9.891
When I delete the persistent partition 6.811
Then there is no persistence partition on USB drive "__internal" 0.846
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.419
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 9.112
When I write some dotfile expected to persist 0.179
And I shutdown Tails and wait for the computer to power off 8.556
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.138
Then the expected persistent dotfile is present in the filesystem 0.432
After features/support/hooks.rb:330 0.977
After features/support/hooks.rb:100 0.007
Tags: @product
1:33.542
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.670
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.073
When I try to enable persistence 0.272
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.918
When I log in to a new session after having activated the Persistent Storage 40.608
And all notifications have disappeared 7.564
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.054
And all tps features are enabled 2.493
And all tps features but the first one are active 1.886
After features/support/hooks.rb:330 2.307
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.330
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 3:5.133
And I enable persistence 30.161
And I log in to a new session after having activated the Persistent Storage 45.010
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.447
And persistence is enabled 2.578
After features/support/hooks.rb:330 1.558
After features/support/hooks.rb:100 0.000
Tags: @product
30.136
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.959
And I enable persistence but something goes wrong during the LUKS header upgrade 20.537
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.639
After features/support/hooks.rb:330 0.909
After features/support/hooks.rb:100 0.000
Tags: @product
43.610
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.139
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.031
When I enable persistence 26.668
Then the filesystem of the Persistent Storage was repaired 0.139
And persistence is successfully enabled 2.631
After features/support/hooks.rb:330 1.684
After features/support/hooks.rb:100 0.000
Tags: @product
49.039
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 9.018
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.841
When I try to enable persistence 0.422
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.527
When I repair the filesystem of the Persistent Storage 1.315
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.759
And the filesystem of the Persistent Storage was repaired 3.583
When I close the filesystem repair dialog 1.255
Then persistence is successfully enabled 1.315
After features/support/hooks.rb:330 1.699
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.828
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.912
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.090
When I try to enable persistence 0.282
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.937
When I repair the filesystem of the Persistent Storage 1.279
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 36.888
And all notifications have disappeared 7.340
# 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" 1.035
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.189
When I close the "whisperback" window 1.811
Then the Tor Browser starts 19.091
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.894
After features/support/hooks.rb:330 1.752
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.263
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.836
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.975
And Tails detects disk read failures on the boot device 0.506
When I try to enable persistence 0.436
Then the Welcome Screen tells me that my hardware is probably failing 19.012
When I log in to a new session 49.664
And all notifications have disappeared 7.564
Then the Tor Browser starts 21.455
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.812
After features/support/hooks.rb:330 1.706
After features/support/hooks.rb:100 0.000