Project Number Date
test_Tails_ISO_feature-arti 99 27 Jun 2025, 18:54

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 137 3 17 0 0 157 18 3 21 54:8.377 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:32.524
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:11.866
And I update APT using apt 45.407
And I install "python3-behave" using apt 31.671
Then the Tails Persistent Storage behave tests pass 3.578
After features/support/hooks.rb:330 3.106
After features/support/hooks.rb:100 0.000
Tags: @product
20.055
Scenario Booting Tails from a USB drive with a disabled persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.253
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.947
When I log in to a new session without activating the Persistent Storage 5.108
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:530: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:14:in `When I log in to a new session without activating the Persistent Storage'
Then Tails is running from USB drive "__internal" 0.000
And persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
After features/support/hooks.rb:330 5.685

SCENARIO FAILED: 'Booting Tails from a USB drive with a disabled persistent partition' (at time 04:48:19)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/04:48:19_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/04:48:19_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/04:48:19_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/04:48:19_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:46.351
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 32.280
Then Tails is running from USB drive "__internal" 4.553
When I create a file in the Persistent directory 0.520
And I create a persistent partition with the default settings 34.030
Then the file I created was copied to the Persistent Storage 5.025
When I shutdown Tails and wait for the computer to power off 18.259
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:10.690
Then persistence for "Persistent" is active 0.901
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 2.101
After features/support/hooks.rb:100 0.010
Tags: @product
1:18.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 without a persistent partition and logged in 17.041
And the system is very low on memory 6.037
When I create a file in the Persistent directory 3.003
When I try to create a persistent partition 27.164
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.155
When I close the Persistent Storage app 2.575
And I free up some memory 2.356
And I create a persistent partition with the default settings 19.771
Then the file I created was copied to the Persistent Storage 0.500
After features/support/hooks.rb:330 2.564
After features/support/hooks.rb:100 0.000
Tags: @product
4:15.864
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 18.678
Then Tails is running from USB drive "__internal" 0.537
And all tps features are active 6.001
And all persistent directories have safe access rights 6.542
When I disable the first tps feature 6.615
Then all tps features but the first one are active 3.736
And I shutdown Tails and wait for the computer to power off 19.446
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:11.889
Then all tps features but the first one are active 2.414
After features/support/hooks.rb:330 1.862
After features/support/hooks.rb:100 0.022
Tags: @product
29.577
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 15.627
Then persistence for "Persistent" is active 0.095
And I create a file in the Persistent directory 0.139
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 5.862
Then persistence for "Persistent" is not active 0.117
And the Persistent directory does not exist 0.051
When I enable the first tps feature 5.746
Then persistence for "Persistent" is active 0.915
And the file I created in the Persistent directory exists 0.928
After features/support/hooks.rb:330 2.945
After features/support/hooks.rb:100 0.000
Tags: @product
24.614
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.909
Then persistence for "Persistent" is active 0.408
When I create a file in the Persistent directory 0.156
And I disable the first tps feature 10.270
And I delete the data of the Persistent Folder feature 3.812
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 2.276
After features/support/hooks.rb:100 0.000
Tags: @product
1:43.339
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 enabled and logged in 25.645
And the network is plugged 2.234
And Tor is ready 27.008
And I take note of which tps features are available 0.667
When I write some files expected to persist 1.657
And I shutdown Tails and wait for the computer to power off 12.933
# 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" 33.191
After features/support/hooks.rb:330 1.402
After features/support/hooks.rb:100 0.000
Tags: @product
4:8.705
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.212
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.887
And the network is plugged 0.243
And Tor is ready 30.408
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.519
And I shutdown Tails and wait for the computer to power off 9.852
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:42.527
And I capture all network traffic 0.026
And the network is plugged 1.549
And Tor is ready 27.549
And I switch to the "persistent-con-current" NetworkManager connection 0.580
And the 1st network device has a spoofed MAC address configured 0.205
And no network device leaked the real MAC address 0.355
After features/support/hooks.rb:330 0.917
After features/support/hooks.rb:100 0.065
Tags: @product
1:23.296
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 stopped at Tails Greeter's login screen 19.697
And I enable persistence creation in Tails Greeter 1.118
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.926
Then I create a persistent partition with the default settings using the wizard that was already open 35.553
After features/support/hooks.rb:330 3.817
After features/support/hooks.rb:100 0.000
Tags: @product
6:12.339
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 17.692
When I enable persistence 57.629
Then no persistent Greeter options were restored 17.337
When I set all Greeter options to non-default values 37.117
And I log in to a new session in German (de) after having activated the Persistent Storage 1:5.574
Then all Greeter options are set to non-default values 0.721
When I cold reboot the computer 15.409
And the computer reboots Tails 1:23.231
Given I enable persistence 22.574
Then persistent Greeter options were restored 0.711
When I log in to a new session after having activated the Persistent Storage 53.687
Then all Greeter options are set to non-default values 0.651
After features/support/hooks.rb:330 1.973
After features/support/hooks.rb:100 0.010
Tags: @product
5:18.887
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 14.865
# 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.953
And I shutdown Tails and wait for the computer to power off 17.694
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:12.490
And I change the passphrase of the Persistent Storage back to the original 52.883
After features/support/hooks.rb:330 3.677
After features/support/hooks.rb:100 0.023
Tags: @product
29.582
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 23.666
And I log in to a new session without activating the Persistent Storage 5.916
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:530: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:128:in `And I log in to a new session without activating the Persistent Storage'
Then persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
And all notifications have disappeared 0.000
When I delete the persistent partition 0.000
Then there is no persistence partition on USB drive "__internal" 0.000
After features/support/hooks.rb:330 5.429

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 05:19:21)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/05:19:21_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/05:19:21_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/05:19:21_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/05:19:21_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:7.365
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 10.274
When I write some dotfile expected to persist 0.624
And I shutdown Tails and wait for the computer to power off 12.351
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.726
Then the expected persistent dotfile is present in the filesystem 0.389
After features/support/hooks.rb:330 1.894
After features/support/hooks.rb:100 0.028
Tags: @product
2:30.936
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 and stopped at Tails Greeter's login screen 14.691
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.359
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 50.588
When I log in to a new session after having activated the Persistent Storage 1:2.213
And all notifications have disappeared 8.626
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 6.304
And all tps features are enabled 5.327
And all tps features but the first one are active 2.722
After features/support/hooks.rb:330 5.101
After features/support/hooks.rb:100 0.000
Tags: @product
6:24.695
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 4:18.761
And I enable persistence 58.753
And I log in to a new session after having activated the Persistent Storage 1:0.480
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.081
And persistence is enabled 4.618
After features/support/hooks.rb:330 3.853
After features/support/hooks.rb:100 0.000
Tags: @product
46.530
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
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.469
And I enable persistence but something goes wrong during the LUKS header upgrade 33.270
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.790
After features/support/hooks.rb:330 0.747
After features/support/hooks.rb:100 0.000
Tags: @product
1:26.009
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 14.555
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.437
When I enable persistence 1:0.331
Then the filesystem of the Persistent Storage was repaired 0.106
And persistence is successfully enabled 3.578
After features/support/hooks.rb:330 4.065
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.503
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.032
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.327
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.998
When I try to enable persistence 0.478
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 38.548
When I repair the filesystem of the Persistent Storage 1.535
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.961
And the filesystem of the Persistent Storage was repaired 3.126
When I close the filesystem repair dialog 1.202
Then persistence is successfully enabled 2.322
After features/support/hooks.rb:330 2.219
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.032
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.130
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.458
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.143
When I try to enable persistence 0.427
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.002
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 11.284

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 05:36:34)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/05:36:34_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/05:36:34_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/99/artifact/build-artifacts/05:36:34_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:55.558
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 10.306
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.472
And Tails detects disk read failures on the boot device 2.364
When I try to enable persistence 0.801
Then the Welcome Screen tells me that my hardware is probably failing 38.674
When I log in to a new session 1:1.831
And all notifications have disappeared 15.755
Then the Tor Browser starts 30.916
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.434
After features/support/hooks.rb:330 5.445
After features/support/hooks.rb:100 0.000