Project Number Date
test_Tails_ISO_devel 3874 18 Jun 2025, 16:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 131 4 22 0 0 157 17 4 21 57:31.934 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:20.893
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:21.468
And I update APT using apt 22.225
And I install "python3-behave" using apt 30.745
Then the Tails Persistent Storage behave tests pass 6.454
After features/support/hooks.rb:330 1.934
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.808
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.033
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 18.656
When I log in to a new session without activating the Persistent Storage 27.481
Then Tails is running from USB drive "__internal" 0.908
And persistence is disabled 0.280
But a Tails persistence partition exists on USB drive "__internal" 16.481
After features/support/hooks.rb:330 1.225
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.597
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 20.411
Then Tails is running from USB drive "__internal" 0.622
When I create a file in the Persistent directory 0.161
And I create a persistent partition with the default settings 40.145
Then the file I created was copied to the Persistent Storage 2.285
When I shutdown Tails and wait for the computer to power off 16.333
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:13.115
Then persistence for "Persistent" is active 1.342
And the file I created in the Persistent directory exists 0.180
After features/support/hooks.rb:330 2.349
After features/support/hooks.rb:100 0.011
Tags: @product
1:12.597
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 15.208
And the system is very low on memory 5.107
When I create a file in the Persistent directory 1.477
When I try to create a persistent partition 21.891
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.276
When I close the Persistent Storage app 3.148
And I free up some memory 5.507
And I create a persistent partition with the default settings 19.087
Then the file I created was copied to the Persistent Storage 0.892
After features/support/hooks.rb:330 3.391
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.196
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.064
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 21.524
Then Tails is running from USB drive "__internal" 1.610
And all tps features are active 2.614
And all persistent directories have safe access rights 3.163
When I disable the first tps feature 10.199
Then all tps features but the first one are active 4.569
And I shutdown Tails and wait for the computer to power off 17.539
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:10.879
Then all tps features but the first one are active 6.095
After features/support/hooks.rb:330 2.824
After features/support/hooks.rb:100 0.122
Tags: @product
28.740
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.065
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.063
Then persistence for "Persistent" is active 1.032
And I create a file in the Persistent directory 1.913
Then the file I created was copied to the Persistent Storage 0.884
When I disable the first tps feature 7.724
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.783
Then persistence for "Persistent" is active 0.116
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 1.559
After features/support/hooks.rb:100 0.000
Tags: @product
33.395
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 19.233
Then persistence for "Persistent" is active 0.247
When I create a file in the Persistent directory 0.112
And I disable the first tps feature 8.628
And I delete the data of the Persistent Folder feature 5.109
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:330 1.495
After features/support/hooks.rb:100 0.000
Tags: @product
1:37.722
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 13.984
And the network is plugged 0.097
And Tor is ready 24.782
And I take note of which tps features are available 0.594
When I write some files expected to persist 1.872
And I shutdown Tails and wait for the computer to power off 14.609
# 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" 41.781
After features/support/hooks.rb:330 0.165
After features/support/hooks.rb:100 0.000
Tags: @product
4:59.009
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 14.058
And the network is plugged 0.175
And Tor is ready 50.938
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.254
And I shutdown Tails and wait for the computer to power off 14.998
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:11.932
And I capture all network traffic 0.061
And the network is plugged 0.296
And Tor is ready 25.258
And I switch to the "persistent-con-current" NetworkManager connection 0.446
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.490
After features/support/hooks.rb:330 0.690
After features/support/hooks.rb:100 0.042
Tags: @product
1:26.568
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 18.564
And I enable persistence creation in Tails Greeter 1.135
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.655
Then I create a persistent partition with the default settings using the wizard that was already open 37.212
After features/support/hooks.rb:330 4.824
After features/support/hooks.rb:100 0.000
Tags: @product
6:49.648
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 16.178
When I enable persistence 1:8.068
Then no persistent Greeter options were restored 18.262
When I set all Greeter options to non-default values 34.869
And I log in to a new session in German (de) after having activated the Persistent Storage 1:15.490
Then all Greeter options are set to non-default values 0.530
When I cold reboot the computer 13.073
And the computer reboots Tails 1:28.452
Given I enable persistence 33.565
Then persistent Greeter options were restored 0.740
When I log in to a new session after having activated the Persistent Storage 1:0.080
Then all Greeter options are set to non-default values 0.335
After features/support/hooks.rb:330 1.611
After features/support/hooks.rb:100 0.013
Tags: @product
1:40.143
Scenario Changing the Persistent Storage passphrase
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 enabled and logged in 32.661
# 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 1:7.482
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:475:in `/^I change the passphrase of the Persistent Storage( back to the original)?$/'
features/persistence.feature:121:in `When I change the passphrase of the Persistent Storage'
And I shutdown Tails and wait for the computer to power off 0.000
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 0.000
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:330 13.275

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 05:05:45)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:05:45_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:05:45_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:05:45_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:25.458
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.187
And I log in to a new session without activating the Persistent Storage 32.733
Then persistence is disabled 0.287
But a Tails persistence partition exists on USB drive "__internal" 17.451
And all notifications have disappeared 10.210
When I delete the persistent partition 9.365
Then there is no persistence partition on USB drive "__internal" 0.222
After features/support/hooks.rb:330 1.138
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.097
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 26.608
When I write some dotfile expected to persist 0.417
And I shutdown Tails and wait for the computer to power off 14.910
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:37.554
Then the expected persistent dotfile is present in the filesystem 0.607
After features/support/hooks.rb:330 2.214
After features/support/hooks.rb:100 0.035
Tags: @product
1:21.644
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 21.188
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.358
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.003
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 14.870

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:13:13_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:13:13_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:13:13_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
8:43.281
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6:2.760
And I enable persistence 1:16.126
And I log in to a new session after having activated the Persistent Storage 1:15.991
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.801
And persistence is enabled 3.600
After features/support/hooks.rb:330 2.246
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.637
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 19.480
And I enable persistence but something goes wrong during the LUKS header upgrade 45.526
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 3.630
After features/support/hooks.rb:330 1.902
After features/support/hooks.rb:100 0.000
Tags: @product
1:48.075
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.716
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 13.330
When I enable persistence 1:17.757
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 4.181
After features/support/hooks.rb:330 7.813
After features/support/hooks.rb:100 0.000
Tags: @product
1:28.300
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.558
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.284
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.554
When I try to enable persistence 0.458
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 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:1732:in `/^the Welcome Screen tells me that filesystem errors were found on the Persistent Storage$/'
features/persistence.feature:176:in `Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage'
When I repair the filesystem of the Persistent Storage 0.000
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.000
And the filesystem of the Persistent Storage was repaired 0.000
When I close the filesystem repair dialog 0.000
Then persistence is successfully enabled 0.000
After features/support/hooks.rb:330 15.212

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 05:26:45)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:26:45_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:26:45_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:26:45_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.180
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.136
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.139
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 2.212
When I try to enable persistence 2.820
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.008
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:1732:in `/^the Welcome Screen tells me that filesystem errors were found on the Persistent Storage$/'
features/persistence.feature:188:in `Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage'
When I repair the filesystem of the Persistent Storage 0.000
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.000
When I log in to a new session 0.000
And all notifications have disappeared 0.000
# 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.000
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.000
When I close the "whisperback" window 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 16.473

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 05:28:20)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:28:20_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:28:20_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3874/artifact/build-artifacts/05:28:20_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:54.935
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.104
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.887
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 16.884
And Tails detects disk read failures on the boot device 2.376
When I try to enable persistence 3.103
Then the Welcome Screen tells me that my hardware is probably failing 52.580
When I log in to a new session 1:22.471
And all notifications have disappeared 17.151
Then the Tor Browser starts 43.173
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.308
After features/support/hooks.rb:330 9.833
After features/support/hooks.rb:100 0.000