Project Number Date
test_Tails_ISO_feature-arti 23 09 Apr 2025, 17:17

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 1 5 0 0 157 20 1 21 50:50.287 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
7:34.686
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.832
And I update APT using apt 5:30.734
And I install "python3-behave" using apt 24.125
Then the Tails Persistent Storage behave tests pass 4.994
After features/support/hooks.rb:330 0.761
After features/support/hooks.rb:100 0.000
Tags: @product
47.097
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 13.122
When I log in to a new session without activating the Persistent Storage 24.275
Then Tails is running from USB drive "__internal" 0.647
And persistence is disabled 0.415
But a Tails persistence partition exists on USB drive "__internal" 8.636
After features/support/hooks.rb:330 1.305
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.806
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 logged in 14.647
Then Tails is running from USB drive "__internal" 0.898
When I create a file in the Persistent directory 0.221
And I create a persistent partition with the default settings 31.611
Then the file I created was copied to the Persistent Storage 2.116
When I shutdown Tails and wait for the computer to power off 13.331
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.131
Then persistence for "Persistent" is active 0.750
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:330 3.626
After features/support/hooks.rb:100 0.010
Tags: @product
1:13.922
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 logged in 26.548
And the system is very low on memory 4.273
When I create a file in the Persistent directory 2.652
When I try to create a persistent partition 20.888
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.551
When I close the Persistent Storage app 2.759
And I free up some memory 2.639
And I create a persistent partition with the default settings 13.212
Then the file I created was copied to the Persistent Storage 0.395
After features/support/hooks.rb:330 2.205
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.746
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 12.775
Then Tails is running from USB drive "__internal" 0.549
And all tps features are active 2.500
And all persistent directories have safe access rights 2.683
When I disable the first tps feature 5.134
Then all tps features but the first one are active 2.282
And I shutdown Tails and wait for the computer to power off 13.766
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.229
Then all tps features but the first one are active 2.823
After features/support/hooks.rb:330 1.371
After features/support/hooks.rb:100 0.009
Tags: @product
19.983
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 10.777
Then persistence for "Persistent" is active 0.116
And I create a file in the Persistent directory 0.129
Then the file I created was copied to the Persistent Storage 0.205
When I disable the first tps feature 5.375
Then persistence for "Persistent" is not active 0.068
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.085
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 1.294
After features/support/hooks.rb:100 0.000
Tags: @product
19.754
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.461
Then persistence for "Persistent" is active 0.112
When I create a file in the Persistent directory 0.176
And I disable the first tps feature 6.295
And I delete the data of the Persistent Folder feature 3.657
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:330 1.327
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.312
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.190
And the network is plugged 0.118
And Tor is ready 23.036
And I take note of which tps features are available 0.700
When I write some files expected to persist 1.573
And I shutdown Tails and wait for the computer to power off 11.523
# 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" 25.168
After features/support/hooks.rb:330 0.183
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.146
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 9.774
And the network is plugged 0.078
And Tor is ready 19.399
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.195
And I shutdown Tails and wait for the computer to power off 8.845
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.060
And I capture all network traffic 0.006
And the network is plugged 0.095
And Tor is ready 21.975
And I switch to the "persistent-con-current" NetworkManager connection 0.380
And the 1st network device has a spoofed MAC address configured 0.095
And no network device leaked the real MAC address 0.239
After features/support/hooks.rb:330 1.009
After features/support/hooks.rb:100 0.068
Tags: @product
1:15.321
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 15.490
And I enable persistence creation in Tails Greeter 1.123
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.185
Then I create a persistent partition with the default settings using the wizard that was already open 31.521
After features/support/hooks.rb:330 3.986
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.214
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 17.994
When I enable persistence 49.851
Then no persistent Greeter options were restored 14.754
When I set all Greeter options to non-default values 28.891
And I log in to a new session in German (de) after having activated the Persistent Storage 50.497
Then all Greeter options are set to non-default values 0.701
When I cold reboot the computer 7.748
And the computer reboots Tails 1:5.209
Given I enable persistence 33.194
Then persistent Greeter options were restored 0.573
When I log in to a new session after having activated the Persistent Storage 37.313
Then all Greeter options are set to non-default values 0.483
After features/support/hooks.rb:330 1.222
After features/support/hooks.rb:100 0.009
Tags: @product
4:9.415
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 12.343
# 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 36.306
And I shutdown Tails and wait for the computer to power off 15.132
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:28.216
And I change the passphrase of the Persistent Storage back to the original 37.417
After features/support/hooks.rb:330 3.539
After features/support/hooks.rb:100 0.010
Tags: @product
1:7.798
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 and stopped at Tails Greeter's login screen 17.613
And I log in to a new session without activating the Persistent Storage 22.540
Then persistence is disabled 0.370
But a Tails persistence partition exists on USB drive "__internal" 10.477
And all notifications have disappeared 9.833
When I delete the persistent partition 5.817
Then there is no persistence partition on USB drive "__internal" 1.146
After features/support/hooks.rb:330 1.224
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.295
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.162
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 8.698
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.927
Then the expected persistent dotfile is present in the filesystem 0.423
After features/support/hooks.rb:330 1.206
After features/support/hooks.rb:100 0.009
Tags: @product
1:11.815
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.353
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 1.367
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.001
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/usb.rb:1724:in `/^the Welcome Screen tells me that the Persistent Folder feature couldn't be activated$/'
features/persistence.feature:146:in `Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated'
When I log in to a new session after having activated the Persistent Storage 0.000
And all notifications have disappeared 0.000
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 0.000
And all tps features are enabled 0.000
And all tps features but the first one are active 0.000
After features/support/hooks.rb:330 7.743

SCENARIO FAILED: 'Feature activation fails' (at time 04:44:23)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/23/artifact/build-artifacts/04:44:23_Feature_activation_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/23/artifact/build-artifacts/04:44:23_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/23/artifact/build-artifacts/04:44:23_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/23/artifact/build-artifacts/04:44:23_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
8:10.754
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6:39.333
And I enable persistence 38.253
And I log in to a new session after having activated the Persistent Storage 49.078
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.216
And persistence is enabled 2.873
After features/support/hooks.rb:330 1.502
After features/support/hooks.rb:100 0.000
Tags: @product
36.490
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 12.957
And I enable persistence but something goes wrong during the LUKS header upgrade 22.792
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.740
After features/support/hooks.rb:330 0.654
After features/support/hooks.rb:100 0.000
Tags: @product
46.288
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 and stopped at Tails Greeter's login screen 9.408
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.633
When I enable persistence 28.449
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.709
After features/support/hooks.rb:330 1.000
After features/support/hooks.rb:100 0.000
Tags: @product
53.151
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 8.607
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.163
When I try to enable persistence 0.447
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.568
When I repair the filesystem of the Persistent Storage 5.125
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.098
And the filesystem of the Persistent Storage was repaired 2.582
When I close the filesystem repair dialog 1.218
Then persistence is successfully enabled 1.340
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.590
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 8.952
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.266
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.130
When I repair the filesystem of the Persistent Storage 1.309
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 43.823
And all notifications have disappeared 10.424
# 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.322
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.729
When I close the "whisperback" window 1.895
Then the Tor Browser starts 18.636
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.897
After features/support/hooks.rb:330 2.379
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.693
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 and stopped at Tails Greeter's login screen 8.627
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.193
And Tails detects disk read failures on the boot device 0.434
When I try to enable persistence 0.404
Then the Welcome Screen tells me that my hardware is probably failing 22.651
When I log in to a new session 53.865
And all notifications have disappeared 8.081
Then the Tor Browser starts 18.637
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.798
After features/support/hooks.rb:330 2.105
After features/support/hooks.rb:100 0.000