Project Number Date
test_Tails_ISO_devel 3667 28 Jan 2025, 18:04

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

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3667/artifact/build-artifacts/04:24:24_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3667/artifact/build-artifacts/04:24:24_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3667/artifact/build-artifacts/04:24:24_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3667/artifact/build-artifacts/04:24:24_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:4.939
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 27.294
When I log in to a new session without activating the Persistent Storage 26.440
Then Tails is running from USB drive "__internal" 0.530
And persistence is disabled 0.396
But a Tails persistence partition exists on USB drive "__internal" 10.277
After features/support/hooks.rb:326 1.590
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.196
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 14.624
Then Tails is running from USB drive "__internal" 1.206
When I create a file in the Persistent directory 0.182
And I create a persistent partition with the default settings 27.968
Then the file I created was copied to the Persistent Storage 1.896
When I shutdown Tails and wait for the computer to power off 15.375
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.665
Then persistence for "Persistent" is active 1.178
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:326 0.792
After features/support/hooks.rb:100 0.012
Tags: @product
1:14.006
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 25.515
And the system is very low on memory 4.776
When I create a file in the Persistent directory 1.591
When I try to create a persistent partition 22.830
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.198
When I close the Persistent Storage app 2.721
And I free up some memory 1.699
And I create a persistent partition with the default settings 14.287
Then the file I created was copied to the Persistent Storage 0.386
After features/support/hooks.rb:326 1.800
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.168
Before features/support/hooks.rb:269 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 26.249
Then Tails is running from USB drive "__internal" 0.666
And all tps features are active 3.267
And all persistent directories have safe access rights 3.364
When I disable the first tps feature 6.575
Then all tps features but the first one are active 3.072
And I shutdown Tails and wait for the computer to power off 18.255
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.871
Then all tps features but the first one are active 2.845
After features/support/hooks.rb:326 0.881
After features/support/hooks.rb:100 0.007
Tags: @product
24.212
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 12.134
Then persistence for "Persistent" is active 0.098
And I create a file in the Persistent directory 0.130
Then the file I created was copied to the Persistent Storage 0.292
When I disable the first tps feature 7.455
Then persistence for "Persistent" is not active 0.158
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.726
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.000
Tags: @product
22.667
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.765
Then persistence for "Persistent" is active 0.301
When I create a file in the Persistent directory 0.138
And I disable the first tps feature 7.601
And I delete the data of the Persistent Folder feature 3.801
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 0.843
After features/support/hooks.rb:100 0.000
Tags: @product
1:42.137
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 10.449
And the network is plugged 0.111
And Tor is ready 52.576
And I take note of which tps features are available 2.273
When I write some files expected to persist 1.492
And I shutdown Tails and wait for the computer to power off 9.009
# 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" 26.225
After features/support/hooks.rb:326 0.155
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.329
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.873
And the network is plugged 0.149
And Tor is ready 23.022
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.373
And I shutdown Tails and wait for the computer to power off 10.834
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.188
And I capture all network traffic 0.004
And the network is plugged 0.150
And Tor is ready 20.744
And I switch to the "persistent-con-current" NetworkManager connection 0.563
And the 1st network device has a spoofed MAC address configured 0.213
And no network device leaked the real MAC address 0.211
After features/support/hooks.rb:326 0.967
After features/support/hooks.rb:100 0.049
Tags: @product
1:29.804
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 40.299
And I enable persistence creation in Tails Greeter 1.537
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.092
Then I create a persistent partition with the default settings using the wizard that was already open 23.876
After features/support/hooks.rb:326 2.627
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.679
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 29.171
When I enable persistence 44.543
Then no persistent Greeter options were restored 14.272
When I set all Greeter options to non-default values 27.292
And I log in to a new session in German (de) after having activated the Persistent Storage 45.770
Then all Greeter options are set to non-default values 0.701
When I cold reboot the computer 7.692
And the computer reboots Tails 1:9.228
Given I enable persistence 19.292
Then persistent Greeter options were restored 0.532
When I log in to a new session after having activated the Persistent Storage 38.575
Then all Greeter options are set to non-default values 0.607
After features/support/hooks.rb:326 1.100
After features/support/hooks.rb:100 0.006
Tags: @product
4:13.645
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 14.603
# 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 40.828
And I shutdown Tails and wait for the computer to power off 12.956
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:28.343
And I change the passphrase of the Persistent Storage back to the original 36.913
After features/support/hooks.rb:326 2.055
After features/support/hooks.rb:100 0.006
Tags: @product
1:7.757
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 13.526
And I log in to a new session without activating the Persistent Storage 23.295
Then persistence is disabled 0.597
But a Tails persistence partition exists on USB drive "__internal" 11.938
And all notifications have disappeared 10.208
When I delete the persistent partition 7.704
Then there is no persistence partition on USB drive "__internal" 0.486
After features/support/hooks.rb:326 0.997
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.733
Before features/support/hooks.rb:269 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.675
When I write some dotfile expected to persist 0.110
And I shutdown Tails and wait for the computer to power off 11.776
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.729
Then the expected persistent dotfile is present in the filesystem 0.442
After features/support/hooks.rb:326 1.026
After features/support/hooks.rb:100 0.009
Tags: @product
1:45.039
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 11.928
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.109
When I try to enable persistence 0.337
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.522
When I log in to a new session after having activated the Persistent Storage 39.732
And all notifications have disappeared 8.441
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.142
And all tps features are enabled 2.493
And all tps features but the first one are active 2.331
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.000
Tags: @product
6:18.831
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:44.919
And I enable persistence 39.409
And I log in to a new session after having activated the Persistent Storage 47.961
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.665
And persistence is enabled 2.877
After features/support/hooks.rb:326 1.122
After features/support/hooks.rb:100 0.000
Tags: @product
33.205
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 9.082
And I enable persistence but something goes wrong during the LUKS header upgrade 23.234
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.888
After features/support/hooks.rb:326 0.831
After features/support/hooks.rb:100 0.000
Tags: @product
57.475
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 10.259
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.149
When I enable persistence 36.637
Then the filesystem of the Persistent Storage was repaired 0.107
And persistence is successfully enabled 3.321
After features/support/hooks.rb:326 1.122
After features/support/hooks.rb:100 0.000
Tags: @product
48.065
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.489
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.750
When I try to enable persistence 0.447
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.524
When I repair the filesystem of the Persistent Storage 1.742
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.556
And the filesystem of the Persistent Storage was repaired 1.546
When I close the filesystem repair dialog 1.269
Then persistence is successfully enabled 1.740
After features/support/hooks.rb:326 1.025
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.623
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.740
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.107
When I try to enable persistence 0.297
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.765
When I repair the filesystem of the Persistent Storage 1.285
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.091
When I log in to a new session 41.801
And all notifications have disappeared 8.421
# 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.724
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.229
When I close the "whisperback" window 2.511
Then the Tor Browser starts 21.757
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.887
After features/support/hooks.rb:326 1.881
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.703
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.962
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.995
And Tails detects disk read failures on the boot device 0.565
When I try to enable persistence 0.458
Then the Welcome Screen tells me that my hardware is probably failing 24.763
When I log in to a new session 47.816
And all notifications have disappeared 8.980
Then the Tor Browser starts 20.337
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.824
After features/support/hooks.rb:326 1.318
After features/support/hooks.rb:100 0.000