Project Number Date
test_Tails_ISO_devel 3805 08 May 2025, 13:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 149 2 6 0 0 157 19 2 21 51:32.573 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
56.044
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 56.044
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:89:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:137: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 8.076

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:05:55)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3805/artifact/build-artifacts/03:05:55_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3805/artifact/build-artifacts/03:05:55_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3805/artifact/build-artifacts/03:05:55_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3805/artifact/build-artifacts/03:05:55_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
48.373
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.695
When I log in to a new session without activating the Persistent Storage 23.115
Then Tails is running from USB drive "__internal" 2.274
And persistence is disabled 0.815
But a Tails persistence partition exists on USB drive "__internal" 7.472
After features/support/hooks.rb:330 1.656
After features/support/hooks.rb:100 0.000
Tags: @product
3:53.262
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 40.552
Then Tails is running from USB drive "__internal" 0.598
When I create a file in the Persistent directory 0.179
And I create a persistent partition with the default settings 25.279
Then the file I created was copied to the Persistent Storage 3.083
When I shutdown Tails and wait for the computer to power off 11.456
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.574
Then persistence for "Persistent" is active 0.465
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 2.312
After features/support/hooks.rb:100 0.012
Tags: @product
1:10.966
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 without a persistent partition and logged in 18.900
And the system is very low on memory 3.591
When I create a file in the Persistent directory 0.704
When I try to create a persistent partition 25.895
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.623
And I free up some memory 3.707
And I create a persistent partition with the default settings 15.075
Then the file I created was copied to the Persistent Storage 0.270
After features/support/hooks.rb:330 2.341
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.106
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.649
Then Tails is running from USB drive "__internal" 0.649
And all tps features are active 2.547
And all persistent directories have safe access rights 2.830
When I disable the first tps feature 6.486
Then all tps features but the first one are active 2.741
And I shutdown Tails and wait for the computer to power off 11.105
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.191
Then all tps features but the first one are active 2.902
After features/support/hooks.rb:330 1.495
After features/support/hooks.rb:100 0.012
Tags: @product
21.067
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.132
Then persistence for "Persistent" is active 0.110
And I create a file in the Persistent directory 0.068
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 6.083
Then persistence for "Persistent" is not active 0.113
And the Persistent directory does not exist 0.079
When I enable the first tps feature 3.250
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.416
After features/support/hooks.rb:100 0.000
Tags: @product
19.858
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 enabled and logged in 9.927
Then persistence for "Persistent" is active 0.104
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 5.899
And I delete the data of the Persistent Folder feature 3.773
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 1.198
After features/support/hooks.rb:100 0.000
Tags: @product
1:40.981
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.276
And the network is plugged 0.111
And Tor is ready 50.702
And I take note of which tps features are available 0.765
When I write some files expected to persist 1.757
And I shutdown Tails and wait for the computer to power off 11.293
# 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.075
After features/support/hooks.rb:330 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.546
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 enabled and logged in 10.437
And the network is plugged 0.111
And Tor is ready 21.839
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.208
And I shutdown Tails and wait for the computer to power off 8.549
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.239
And I capture all network traffic 0.009
And the network is plugged 0.105
And Tor is ready 22.339
And I switch to the "persistent-con-current" NetworkManager connection 0.396
And the 1st network device has a spoofed MAC address configured 0.126
And no network device leaked the real MAC address 0.180
After features/support/hooks.rb:330 1.293
After features/support/hooks.rb:100 0.051
Tags: @product
2:12.286
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 without a persistent partition and stopped at Tails Greeter's login screen 1:4.603
And I enable persistence creation in Tails Greeter 1.381
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.577
Then I create a persistent partition with the default settings using the wizard that was already open 41.724
After features/support/hooks.rb:330 2.979
After features/support/hooks.rb:100 0.000
Tags: @product
5:45.028
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 14.857
When I enable persistence 58.829
Then no persistent Greeter options were restored 15.349
When I set all Greeter options to non-default values 29.245
And I log in to a new session in German (de) after having activated the Persistent Storage 49.997
Then all Greeter options are set to non-default values 0.560
When I cold reboot the computer 10.796
And the computer reboots Tails 1:25.194
Given I enable persistence 28.510
Then persistent Greeter options were restored 0.780
When I log in to a new session after having activated the Persistent Storage 50.529
Then all Greeter options are set to non-default values 0.378
After features/support/hooks.rb:330 1.936
After features/support/hooks.rb:100 0.013
Tags: @product
4:22.883
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 enabled and logged in 10.115
# 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.858
And I shutdown Tails and wait for the computer to power off 13.905
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:38.334
And I change the passphrase of the Persistent Storage back to the original 39.669
After features/support/hooks.rb:330 4.357
After features/support/hooks.rb:100 0.011
Tags: @product
59.965
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 12.136
And I log in to a new session without activating the Persistent Storage 23.391
Then persistence is disabled 0.320
But a Tails persistence partition exists on USB drive "__internal" 6.650
And all notifications have disappeared 9.872
When I delete the persistent partition 6.842
Then there is no persistence partition on USB drive "__internal" 0.751
After features/support/hooks.rb:330 1.267
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.022
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.695
When I write some dotfile expected to persist 0.086
And I shutdown Tails and wait for the computer to power off 8.785
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.585
Then the expected persistent dotfile is present in the filesystem 0.869
After features/support/hooks.rb:330 0.754
After features/support/hooks.rb:100 0.012
Tags: @product
2:5.775
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.947
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.290
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.720
When I log in to a new session after having activated the Persistent Storage 52.063
And all notifications have disappeared 11.124
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 7.251
And all tps features are enabled 3.274
And all tps features but the first one are active 3.019
After features/support/hooks.rb:330 1.428
After features/support/hooks.rb:100 0.000
Tags: @product
8:38.950
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
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 7:14.017
And I enable persistence 30.407
And I log in to a new session after having activated the Persistent Storage 49.217
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.199
And persistence is enabled 3.108
After features/support/hooks.rb:330 1.387
After features/support/hooks.rb:100 0.000
Tags: @product
32.380
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 11.946
And I enable persistence but something goes wrong during the LUKS header upgrade 19.494
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.939
After features/support/hooks.rb:330 0.871
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.881
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.665
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.865
When I enable persistence 36.971
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 3.293
After features/support/hooks.rb:330 1.298
After features/support/hooks.rb:100 0.000
Tags: @product
59.776
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.413
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.677
When I try to enable persistence 0.481
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.771
When I repair the filesystem of the Persistent Storage 1.985
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.478
And the filesystem of the Persistent Storage was repaired 2.907
When I close the filesystem repair dialog 1.298
Then persistence is successfully enabled 1.762
After features/support/hooks.rb:330 1.680
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.429
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.395
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.161
When I try to enable persistence 0.368
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.366
When I repair the filesystem of the Persistent Storage 1.315
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.193
When I log in to a new session 35.632
And all notifications have disappeared 11.112
# 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.679
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.899
When I close the "whisperback" window 1.552
Then the Tor Browser starts 25.779
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.972
After features/support/hooks.rb:330 4.117
After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:53.985
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.284
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.008
And Tails detects disk read failures on the boot device 1.663
When I try to enable persistence 0.493
Then the Welcome Screen tells me that my hardware is probably failing 24.765
When I log in to a new session 3:7.768
cannot find GnomeApplicationsMenu.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/common_steps.rb:566:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:522:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
features/persistence.feature:211:in `When I log in to a new session'
And all notifications have disappeared 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:330 5.751

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:57:14)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3805/artifact/build-artifacts/03:57:14_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3805/artifact/build-artifacts/03:57:14_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3805/artifact/build-artifacts/03:57:14_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3805/artifact/build-artifacts/03:57:14_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000