Project Number Date
test_Tails_ISO_test-suite-options 11 27 Jun 2025, 21:32

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 55:19.444 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:8.936
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.062
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:21.898
And I update APT using apt 12.095
And I install "python3-behave" using apt 31.575
Then the Tails Persistent Storage behave tests pass 3.366
After features/support/hooks.rb:330 1.712
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.028
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.792
When I log in to a new session without activating the Persistent Storage 35.540
Then Tails is running from USB drive "__internal" 1.240
And persistence is disabled 0.782
But a Tails persistence partition exists on USB drive "__internal" 17.671
After features/support/hooks.rb:330 3.862
After features/support/hooks.rb:100 0.000
Tags: @product
4:17.191
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 16.195
Then Tails is running from USB drive "__internal" 0.706
When I create a file in the Persistent directory 0.332
And I create a persistent partition with the default settings 30.552
Then the file I created was copied to the Persistent Storage 3.848
When I shutdown Tails and wait for the computer to power off 14.753
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:8.547
Then persistence for "Persistent" is active 1.965
And the file I created in the Persistent directory exists 0.290
After features/support/hooks.rb:330 2.800
After features/support/hooks.rb:100 0.011
Tags: @product
1:23.609
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 11.091
And the system is very low on memory 5.092
When I create a file in the Persistent directory 1.901
When I try to create a persistent partition 38.401
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.378
When I close the Persistent Storage app 2.879
And I free up some memory 3.148
And I create a persistent partition with the default settings 20.453
Then the file I created was copied to the Persistent Storage 0.263
After features/support/hooks.rb:330 2.306
After features/support/hooks.rb:100 0.000
Tags: @product
3:52.909
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 18.140
Then Tails is running from USB drive "__internal" 0.748
And all tps features are active 2.947
And all persistent directories have safe access rights 8.927
When I disable the first tps feature 6.301
Then all tps features but the first one are active 2.672
And I shutdown Tails and wait for the computer to power off 18.317
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:47.827
Then all tps features but the first one are active 7.025
After features/support/hooks.rb:330 1.307
After features/support/hooks.rb:100 0.011
Tags: @product
23.410
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 10.911
Then persistence for "Persistent" is active 0.231
And I create a file in the Persistent directory 0.738
Then the file I created was copied to the Persistent Storage 0.202
When I disable the first tps feature 7.709
Then persistence for "Persistent" is not active 0.096
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.261
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.123
After features/support/hooks.rb:330 2.655
After features/support/hooks.rb:100 0.000
Tags: @product
29.545
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 16.114
Then persistence for "Persistent" is active 0.178
When I create a file in the Persistent directory 0.116
And I disable the first tps feature 5.893
And I delete the data of the Persistent Folder feature 7.161
Then the file I created does not exist on the Persistent Storage 0.081
After features/support/hooks.rb:330 3.228
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.922
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.210
And the network is plugged 1.035
And Tor is ready 28.707
And I take note of which tps features are available 0.625
When I write some files expected to persist 1.667
And I shutdown Tails and wait for the computer to power off 14.215
# 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" 39.461
After features/support/hooks.rb:330 0.238
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.613
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 12.024
And the network is plugged 0.194
And Tor is ready 26.299
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.473
And I shutdown Tails and wait for the computer to power off 9.977
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:58.663
And I capture all network traffic 0.005
And the network is plugged 0.091
And Tor is ready 31.269
And I switch to the "persistent-con-current" NetworkManager connection 0.929
And the 1st network device has a spoofed MAC address configured 0.238
And no network device leaked the real MAC address 0.445
After features/support/hooks.rb:330 0.826
After features/support/hooks.rb:100 0.066
Tags: @product
1:27.444
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.968
And I enable persistence creation in Tails Greeter 1.528
And I log in to a new session expecting no warning about the Persistent Storage not being activated 28.968
Then I create a persistent partition with the default settings using the wizard that was already open 39.979
After features/support/hooks.rb:330 2.688
After features/support/hooks.rb:100 0.000
Tags: @product
6:13.922
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 and stopped at Tails Greeter's login screen 17.292
When I enable persistence 57.383
Then no persistent Greeter options were restored 16.441
When I set all Greeter options to non-default values 32.255
And I log in to a new session in German (de) after having activated the Persistent Storage 58.922
Then all Greeter options are set to non-default values 2.684
When I cold reboot the computer 10.641
And the computer reboots Tails 1:34.001
Given I enable persistence 23.511
Then persistent Greeter options were restored 0.542
When I log in to a new session after having activated the Persistent Storage 1:0.041
Then all Greeter options are set to non-default values 0.205
After features/support/hooks.rb:330 0.774
After features/support/hooks.rb:100 0.011
Tags: @product
4:51.291
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 12.228
# 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 37.213
And I shutdown Tails and wait for the computer to power off 17.646
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:59.561
And I change the passphrase of the Persistent Storage back to the original 44.640
After features/support/hooks.rb:330 5.637
After features/support/hooks.rb:100 0.008
Tags: @product
1:11.013
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 9.690
And I log in to a new session without activating the Persistent Storage 33.939
Then persistence is disabled 0.469
But a Tails persistence partition exists on USB drive "__internal" 6.274
And all notifications have disappeared 12.169
When I delete the persistent partition 6.937
Then there is no persistence partition on USB drive "__internal" 1.532
After features/support/hooks.rb:330 3.517
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.958
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.056
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.845
When I write some dotfile expected to persist 0.107
And I shutdown Tails and wait for the computer to power off 14.862
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:9.963
Then the expected persistent dotfile is present in the filesystem 1.179
After features/support/hooks.rb:330 2.068
After features/support/hooks.rb:100 0.016
Tags: @product
1:12.530
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
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.944
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.110
When I try to enable persistence 0.398
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.076
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 11.649

SCENARIO FAILED: 'Feature activation fails' (at time 05:12:26)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/11/artifact/build-artifacts/05:12:26_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/11/artifact/build-artifacts/05:12:26_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/11/artifact/build-artifacts/05:12:26_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
7:8.455
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:8.326
And I enable persistence 53.207
And I log in to a new session after having activated the Persistent Storage 1:2.184
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.261
And persistence is enabled 3.476
After features/support/hooks.rb:330 6.588
After features/support/hooks.rb:100 0.000
Tags: @product
44.270
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.061
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 10.622
And I enable persistence but something goes wrong during the LUKS header upgrade 32.689
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.958
After features/support/hooks.rb:330 0.902
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.606
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.680
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.001
When I enable persistence 48.394
Then the filesystem of the Persistent Storage was repaired 0.159
And persistence is successfully enabled 6.370
After features/support/hooks.rb:330 4.174
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.685
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.452
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.096
When I try to enable persistence 0.676
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 42.619
When I repair the filesystem of the Persistent Storage 2.002
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.808
And the filesystem of the Persistent Storage was repaired 5.387
When I close the filesystem repair dialog 2.557
Then persistence is successfully enabled 4.084
After features/support/hooks.rb:330 3.530
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:43.808
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 9.699
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.706
When I try to enable persistence 1.063
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 41.342
When I repair the filesystem of the Persistent Storage 5.700
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.109
When I log in to a new session 1:3.768
And all notifications have disappeared 10.201
# 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" 2.815
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.713
When I close the "whisperback" window 1.695
Then the Tor Browser starts 23.994
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.997
After features/support/hooks.rb:330 3.953
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:51.289
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 14.913
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.156
And Tails detects disk read failures on the boot device 2.419
When I try to enable persistence 0.613
Then the Welcome Screen tells me that my hardware is probably failing 34.014
When I log in to a new session 1:13.341
And all notifications have disappeared 7.301
Then the Tor Browser starts 28.557
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.971
After features/support/hooks.rb:330 3.750
After features/support/hooks.rb:100 0.000