Project Number Date
test_Tails_ISO_devel 3681 04 Feb 2025, 05:27

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

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3681/artifact/build-artifacts/04:13:20_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3681/artifact/build-artifacts/04:13:20_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3681/artifact/build-artifacts/04:13:20_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3681/artifact/build-artifacts/04:13:20_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
42.033
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 10.899
When I log in to a new session without activating the Persistent Storage 23.916
Then Tails is running from USB drive "__internal" 0.469
And persistence is disabled 0.320
But a Tails persistence partition exists on USB drive "__internal" 6.427
After features/support/hooks.rb:326 1.025
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.585
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.172
Then Tails is running from USB drive "__internal" 0.548
When I create a file in the Persistent directory 0.165
And I create a persistent partition with the default settings 24.359
Then the file I created was copied to the Persistent Storage 0.533
When I shutdown Tails and wait for the computer to power off 12.612
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.675
Then persistence for "Persistent" is active 0.435
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 0.731
After features/support/hooks.rb:100 0.005
Tags: @product
1:6.834
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.963
And the system is very low on memory 4.519
When I create a file in the Persistent directory 1.137
When I try to create a persistent partition 31.150
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.425
When I close the Persistent Storage app 2.693
And I free up some memory 1.658
And I create a persistent partition with the default settings 14.061
Then the file I created was copied to the Persistent Storage 0.225
After features/support/hooks.rb:326 1.605
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.703
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 13.117
Then Tails is running from USB drive "__internal" 0.637
And all tps features are active 3.184
And all persistent directories have safe access rights 2.622
When I disable the first tps feature 6.869
Then all tps features but the first one are active 2.526
And I shutdown Tails and wait for the computer to power off 15.322
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.321
Then all tps features but the first one are active 2.101
After features/support/hooks.rb:326 0.975
After features/support/hooks.rb:100 0.006
Tags: @product
20.381
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.090
Then persistence for "Persistent" is active 0.102
And I create a file in the Persistent directory 0.075
Then the file I created was copied to the Persistent Storage 0.174
When I disable the first tps feature 6.007
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.642
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.770
After features/support/hooks.rb:100 0.000
Tags: @product
20.393
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.942
Then persistence for "Persistent" is active 0.089
When I create a file in the Persistent directory 0.061
And I disable the first tps feature 5.971
And I delete the data of the Persistent Folder feature 4.271
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 0.791
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.250
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.830
And the network is plugged 0.234
And Tor is ready 24.933
And I take note of which tps features are available 0.660
When I write some files expected to persist 2.033
And I shutdown Tails and wait for the computer to power off 9.130
# 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.428
After features/support/hooks.rb:326 0.146
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.486
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.328
And the network is plugged 0.087
And Tor is ready 18.475
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.291
And I shutdown Tails and wait for the computer to power off 8.597
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.901
And I capture all network traffic 0.003
And the network is plugged 0.085
And Tor is ready 47.098
And I switch to the "persistent-con-current" NetworkManager connection 0.381
And the 1st network device has a spoofed MAC address configured 0.083
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:326 0.651
After features/support/hooks.rb:100 0.047
Tags: @product
1:2.552
Before features/support/hooks.rb:269 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 18.300
And I enable persistence creation in Tails Greeter 1.169
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.818
Then I create a persistent partition with the default settings using the wizard that was already open 22.264
After features/support/hooks.rb:326 1.291
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.928
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 12.275
When I enable persistence 37.344
Then no persistent Greeter options were restored 14.517
When I set all Greeter options to non-default values 26.383
And I log in to a new session in German (de) after having activated the Persistent Storage 43.618
Then all Greeter options are set to non-default values 0.778
When I cold reboot the computer 7.388
And the computer reboots Tails 1:1.833
Given I enable persistence 19.310
Then persistent Greeter options were restored 0.570
When I log in to a new session after having activated the Persistent Storage 36.145
Then all Greeter options are set to non-default values 0.761
After features/support/hooks.rb:326 1.038
After features/support/hooks.rb:100 0.078
Tags: @product
3:36.769
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.333
# 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 31.944
And I shutdown Tails and wait for the computer to power off 12.386
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.030
And I change the passphrase of the Persistent Storage back to the original 36.073
After features/support/hooks.rb:326 2.149
After features/support/hooks.rb:100 0.030
Tags: @product
57.105
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 9.313
And I log in to a new session without activating the Persistent Storage 21.306
Then persistence is disabled 0.361
But a Tails persistence partition exists on USB drive "__internal" 10.137
And all notifications have disappeared 9.244
When I delete the persistent partition 6.338
Then there is no persistence partition on USB drive "__internal" 0.405
After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.691
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 9.802
When I write some dotfile expected to persist 0.090
And I shutdown Tails and wait for the computer to power off 10.452
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.938
Then the expected persistent dotfile is present in the filesystem 0.407
After features/support/hooks.rb:326 0.900
After features/support/hooks.rb:100 0.007
Tags: @product
1:41.687
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.694
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.683
When I try to enable persistence 0.288
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.765
When I log in to a new session after having activated the Persistent Storage 42.463
And all notifications have disappeared 10.019
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.913
And all tps features are enabled 2.618
And all tps features but the first one are active 2.239
After features/support/hooks.rb:326 1.222
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.284
Before features/support/hooks.rb:269 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 3:31.212
And I enable persistence 33.828
And I log in to a new session after having activated the Persistent Storage 41.375
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.067
And persistence is enabled 2.799
After features/support/hooks.rb:326 1.085
After features/support/hooks.rb:100 0.000
Tags: @product
32.064
Before features/support/hooks.rb:269 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 9.429
And I enable persistence but something goes wrong during the LUKS header upgrade 21.840
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.794
After features/support/hooks.rb:326 0.825
After features/support/hooks.rb:100 0.000
Tags: @product
48.704
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 9.616
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.085
When I enable persistence 30.322
Then the filesystem of the Persistent Storage was repaired 0.082
And persistence is successfully enabled 2.596
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.000
Tags: @product
40.794
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 8.879
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.271
When I try to enable persistence 0.359
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 18.682
When I repair the filesystem of the Persistent Storage 1.595
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.397
And the filesystem of the Persistent Storage was repaired 0.940
When I close the filesystem repair dialog 1.248
Then persistence is successfully enabled 1.419
After features/support/hooks.rb:326 1.003
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.376
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 9.107
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.397
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.237
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.084
When I log in to a new session 38.503
And all notifications have disappeared 9.189
# 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.588
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.426
When I close the "whisperback" window 1.588
Then the Tor Browser starts 19.150
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.731
After features/support/hooks.rb:326 4.805
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.167
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 9.268
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.582
And Tails detects disk read failures on the boot device 1.618
When I try to enable persistence 1.470
Then the Welcome Screen tells me that my hardware is probably failing 17.565
When I log in to a new session 44.787
And all notifications have disappeared 8.255
Then the Tor Browser starts 23.784
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.835
After features/support/hooks.rb:326 3.927
After features/support/hooks.rb:100 0.000