Project Number Date
test_Tails_ISO_stable 5485 02 Mar 2025, 12:33

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 154 2 1 0 0 157 19 2 21 41:43.337 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.567
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.729
And I update APT using apt 13.731
And I install "python3-behave" using apt 25.768
Then the Tails Persistent Storage behave tests pass 2.338
After features/support/hooks.rb:330 0.681
After features/support/hooks.rb:100 0.000
Tags: @product
47.277
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 12.242
When I log in to a new session without activating the Persistent Storage 23.782
Then Tails is running from USB drive "__internal" 0.778
And persistence is disabled 0.535
But a Tails persistence partition exists on USB drive "__internal" 9.939
After features/support/hooks.rb:330 2.247
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.839
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 without a persistent partition and logged in 13.234
Then Tails is running from USB drive "__internal" 0.437
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 26.781
Then the file I created was copied to the Persistent Storage 0.577
When I shutdown Tails and wait for the computer to power off 12.628
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.596
Then persistence for "Persistent" is active 0.366
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.430
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.225
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 12.419
And the system is very low on memory 4.245
When I create a file in the Persistent directory 0.946
When I try to create a persistent partition 25.087
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.192
When I close the Persistent Storage app 2.634
And I free up some memory 1.643
And I create a persistent partition with the default settings 14.801
Then the file I created was copied to the Persistent Storage 0.255
After features/support/hooks.rb:330 2.475
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.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 enabled and logged in 12.457
Then Tails is running from USB drive "__internal" 0.756
And all tps features are active 2.627
And all persistent directories have safe access rights 3.495
When I disable the first tps feature 6.459
Then all tps features but the first one are active 2.283
And I shutdown Tails and wait for the computer to power off 13.177
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.405
Then all tps features but the first one are active 2.112
After features/support/hooks.rb:330 1.315
After features/support/hooks.rb:100 0.008
Tags: @product
19.802
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.850
Then persistence for "Persistent" is active 0.317
And I create a file in the Persistent directory 0.168
Then the file I created was copied to the Persistent Storage 0.143
When I disable the first tps feature 5.977
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.066
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.342
After features/support/hooks.rb:100 0.000
Tags: @product
19.693
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 9.530
Then persistence for "Persistent" is active 0.097
When I create a file in the Persistent directory 0.217
And I disable the first tps feature 6.139
And I delete the data of the Persistent Folder feature 3.643
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.424
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.541
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 enabled and logged in 9.408
And the network is plugged 0.081
And Tor is ready 21.351
And I take note of which tps features are available 0.620
When I write some files expected to persist 1.619
And I shutdown Tails and wait for the computer to power off 8.596
# 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" 23.862
After features/support/hooks.rb:330 0.119
After features/support/hooks.rb:100 0.000
Tags: @product
4:15.787
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 9.368
And the network is plugged 0.082
And Tor is ready 50.102
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.213
And I shutdown Tails and wait for the computer to power off 8.182
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.744
And I capture all network traffic 0.004
And the network is plugged 0.080
And Tor is ready 50.422
And I switch to the "persistent-con-current" NetworkManager connection 0.336
And the 1st network device has a spoofed MAC address configured 0.085
And no network device leaked the real MAC address 0.164
After features/support/hooks.rb:330 0.591
After features/support/hooks.rb:100 0.053
Tags: @product
1:15.667
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 without a persistent partition and stopped at Tails Greeter's login screen 26.266
And I enable persistence creation in Tails Greeter 1.145
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.824
Then I create a persistent partition with the default settings using the wizard that was already open 23.431
After features/support/hooks.rb:330 2.234
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.139
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 24.220
When I enable persistence 33.288
Then no persistent Greeter options were restored 14.320
When I set all Greeter options to non-default values 28.582
And I log in to a new session in German (de) after having activated the Persistent Storage 48.184
Then all Greeter options are set to non-default values 0.626
When I cold reboot the computer 7.228
And the computer reboots Tails 59.064
Given I enable persistence 16.961
Then persistent Greeter options were restored 0.479
When I log in to a new session after having activated the Persistent Storage 38.784
Then all Greeter options are set to non-default values 0.399
After features/support/hooks.rb:330 1.895
After features/support/hooks.rb:100 0.008
Tags: @product
3:43.253
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 enabled and logged in 9.822
# 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 33.259
And I shutdown Tails and wait for the computer to power off 12.341
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.308
And I change the passphrase of the Persistent Storage back to the original 37.522
After features/support/hooks.rb:330 1.966
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.209
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.167
And I log in to a new session without activating the Persistent Storage 23.148
Then persistence is disabled 0.688
But a Tails persistence partition exists on USB drive "__internal" 9.088
And all notifications have disappeared 12.758
When I delete the persistent partition 5.952
Then there is no persistence partition on USB drive "__internal" 0.404
After features/support/hooks.rb:330 1.757
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.219
Scenario Dotfiles persistence
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.891
When I write some dotfile expected to persist 0.108
And I shutdown Tails and wait for the computer to power off 10.722
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.174
Then the expected persistent dotfile is present in the filesystem 0.322
Could not find expected persistent dotfile link.
<false> is not true. (Test::Unit::AssertionFailedError)
./features/support/helpers/misc_helpers.rb:21:in `assert_vmcommand_success'
./features/step_definitions/usb.rb:1110:in `/^the expected persistent dotfile is present in the filesystem$/'
features/persistence.feature:140:in `Then the expected persistent dotfile is present in the filesystem'
After features/support/hooks.rb:330 5.697

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:30:13)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5485/artifact/build-artifacts/03:30:13_Dotfiles_persistence.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5485/artifact/build-artifacts/03:30:13_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5485/artifact/build-artifacts/03:30:13_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5485/artifact/build-artifacts/03:30:13_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.008
Tags: @product
1:39.664
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.653
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.393
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.010
When I log in to a new session after having activated the Persistent Storage 47.168
And all notifications have disappeared 7.481
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.548
And all tps features are enabled 2.315
Feature 'Dotfiles' is not enabled.
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/usb.rb:773:in `block (2 levels) in <top (required)>'
./features/step_definitions/usb.rb:768:in `each'
./features/step_definitions/usb.rb:768:in `/^all tps features(| but the first one) are enabled$/'
features/persistence.feature:150:in `And all tps features are enabled'
And all tps features but the first one are active 0.000
After features/support/hooks.rb:330 6.166

SCENARIO FAILED: 'Feature activation fails' (at time 03:31:58)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5485/artifact/build-artifacts/03:31:58_Feature_activation_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5485/artifact/build-artifacts/03:31:58_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5485/artifact/build-artifacts/03:31:58_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5485/artifact/build-artifacts/03:31:58_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:53.671
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:32.396
And I enable persistence 33.798
And I log in to a new session after having activated the Persistent Storage 42.836
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.947
And persistence is enabled 2.692
After features/support/hooks.rb:330 2.234
After features/support/hooks.rb:100 0.000
Tags: @product
33.985
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.589
And I enable persistence but something goes wrong during the LUKS header upgrade 24.478
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.916
After features/support/hooks.rb:330 0.727
After features/support/hooks.rb:100 0.000
Tags: @product
48.858
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 9.484
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.813
When I enable persistence 31.668
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.799
After features/support/hooks.rb:330 2.111
After features/support/hooks.rb:100 0.000
Tags: @product
50.198
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.152
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.712
When I try to enable persistence 0.486
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.389
When I repair the filesystem of the Persistent Storage 2.228
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.490
And the filesystem of the Persistent Storage was repaired 1.275
When I close the filesystem repair dialog 5.084
Then persistence is successfully enabled 1.377
After features/support/hooks.rb:330 2.074
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.045
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.199
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.128
When I try to enable persistence 0.357
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.878
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 42.903
And all notifications have disappeared 9.267
# 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.620
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.932
When I close the "whisperback" window 1.721
Then the Tor Browser starts 15.736
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 3.837
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.911
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 8.845
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.298
And Tails detects disk read failures on the boot device 0.514
When I try to enable persistence 0.360
Then the Welcome Screen tells me that my hardware is probably failing 17.972
When I log in to a new session 47.661
And all notifications have disappeared 6.741
Then the Tor Browser starts 15.842
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.674
After features/support/hooks.rb:330 3.222
After features/support/hooks.rb:100 0.000