Project Number Date
test_Tails_ISO_feature-arti 106 04 Jul 2025, 17:26

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:36.047 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:48.169
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 2:30.921
And I update APT using apt 44.601
And I install "python3-behave" using apt 27.598
Then the Tails Persistent Storage behave tests pass 5.048
After features/support/hooks.rb:330 1.133
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.525
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 11.961
When I log in to a new session without activating the Persistent Storage 32.882
Then Tails is running from USB drive "__internal" 0.723
And persistence is disabled 0.498
But a Tails persistence partition exists on USB drive "__internal" 18.459
After features/support/hooks.rb:330 1.822
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.734
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.887
Then Tails is running from USB drive "__internal" 0.700
When I create a file in the Persistent directory 0.140
And I create a persistent partition with the default settings 37.474
Then the file I created was copied to the Persistent Storage 2.309
When I shutdown Tails and wait for the computer to power off 16.965
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:1.610
Then persistence for "Persistent" is active 0.570
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 2.077
After features/support/hooks.rb:100 0.009
Tags: @product
1:18.701
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 without a persistent partition and logged in 16.136
And the system is very low on memory 3.738
When I create a file in the Persistent directory 0.950
When I try to create a persistent partition 25.211
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.290
When I close the Persistent Storage app 6.468
And I free up some memory 4.695
And I create a persistent partition with the default settings 20.903
Then the file I created was copied to the Persistent Storage 0.308
After features/support/hooks.rb:330 2.248
After features/support/hooks.rb:100 0.000
Tags: @product
4:0.226
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 19.338
Then Tails is running from USB drive "__internal" 0.613
And all tps features are active 3.229
And all persistent directories have safe access rights 7.779
When I disable the first tps feature 7.596
Then all tps features but the first one are active 2.277
And I shutdown Tails and wait for the computer to power off 19.357
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:57.211
Then all tps features but the first one are active 2.823
After features/support/hooks.rb:330 0.881
After features/support/hooks.rb:100 0.010
Tags: @product
30.519
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.731
Then persistence for "Persistent" is active 0.220
And I create a file in the Persistent directory 0.128
Then the file I created was copied to the Persistent Storage 0.115
When I disable the first tps feature 6.007
Then persistence for "Persistent" is not active 0.090
And the Persistent directory does not exist 0.063
When I enable the first tps feature 6.924
Then persistence for "Persistent" is active 0.133
And the file I created in the Persistent directory exists 0.103
After features/support/hooks.rb:330 1.656
After features/support/hooks.rb:100 0.000
Tags: @product
23.686
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.366
Then persistence for "Persistent" is active 0.095
When I create a file in the Persistent directory 0.062
And I disable the first tps feature 8.791
And I delete the data of the Persistent Folder feature 4.316
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.159
After features/support/hooks.rb:100 0.000
Tags: @product
1:37.548
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.107
And the network is plugged 0.093
And Tor is ready 29.691
And I take note of which tps features are available 0.656
When I write some files expected to persist 2.170
And I shutdown Tails and wait for the computer to power off 13.336
# 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" 38.493
After features/support/hooks.rb:330 0.139
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.683
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 15.226
And the network is plugged 0.133
And Tor is ready 54.331
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.675
And I shutdown Tails and wait for the computer to power off 13.715
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:50.196
And I capture all network traffic 0.146
And the network is plugged 0.807
And Tor is ready 25.738
And I switch to the "persistent-con-current" NetworkManager connection 0.410
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.211
After features/support/hooks.rb:330 0.693
After features/support/hooks.rb:100 0.065
Tags: @product
1:23.355
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 stopped at Tails Greeter's login screen 15.478
And I enable persistence creation in Tails Greeter 1.579
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.155
Then I create a persistent partition with the default settings using the wizard that was already open 37.140
After features/support/hooks.rb:330 3.600
After features/support/hooks.rb:100 0.000
Tags: @product
6:12.849
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.113
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.819
When I enable persistence 59.710
Then no persistent Greeter options were restored 17.361
When I set all Greeter options to non-default values 37.660
And I log in to a new session in German (de) after having activated the Persistent Storage 1:4.838
Then all Greeter options are set to non-default values 0.848
When I cold reboot the computer 12.335
And the computer reboots Tails 1:24.500
Given I enable persistence 26.025
Then persistent Greeter options were restored 4.178
When I log in to a new session after having activated the Persistent Storage 47.357
Then all Greeter options are set to non-default values 0.212
After features/support/hooks.rb:330 2.696
After features/support/hooks.rb:100 0.028
Tags: @product
5:6.797
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 15.341
# 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 41.184
And I shutdown Tails and wait for the computer to power off 17.958
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:17.207
And I change the passphrase of the Persistent Storage back to the original 35.105
After features/support/hooks.rb:330 4.506
After features/support/hooks.rb:100 0.014
Tags: @product
16.924
Scenario Deleting a Tails persistent partition
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 11.325
And I log in to a new session without activating the Persistent Storage 5.598
<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.258

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 04:43:57)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/106/artifact/build-artifacts/04:43:57_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/106/artifact/build-artifacts/04:43:57_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/106/artifact/build-artifacts/04:43:57_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/106/artifact/build-artifacts/04:43:57_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:26.207
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 9.947
When I write some dotfile expected to persist 0.178
And I shutdown Tails and wait for the computer to power off 13.820
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:1.246
Then the expected persistent dotfile is present in the filesystem 1.014
After features/support/hooks.rb:330 2.069
After features/support/hooks.rb:100 0.104
Tags: @product
2:22.630
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.086
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 16.638
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.282
When I try to enable persistence 0.366
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 48.659
When I log in to a new session after having activated the Persistent Storage 53.081
And all notifications have disappeared 12.845
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.356
And all tps features are enabled 3.427
And all tps features but the first one are active 2.973
After features/support/hooks.rb:330 4.630
After features/support/hooks.rb:100 0.000
Tags: @product
6:8.462
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:8.835
And I enable persistence 52.286
And I log in to a new session after having activated the Persistent Storage 1:3.355
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.354
And persistence is enabled 2.630
After features/support/hooks.rb:330 4.295
After features/support/hooks.rb:100 0.000
Tags: @product
41.246
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
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.908
And I enable persistence but something goes wrong during the LUKS header upgrade 27.500
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.837
After features/support/hooks.rb:330 3.609
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.318
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.066
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.835
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 12.622
When I enable persistence 46.071
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 3.680
After features/support/hooks.rb:330 5.877
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.790
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.077
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.797
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.254
When I try to enable persistence 0.475
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.061
When I repair the filesystem of the Persistent Storage 5.166
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.772
And the filesystem of the Persistent Storage was repaired 5.132
When I close the filesystem repair dialog 1.382
Then persistence is successfully enabled 1.747
After features/support/hooks.rb:330 1.215
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:51.230
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 15.738
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.438
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 46.477
When I repair the filesystem of the Persistent Storage 3.784
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 1:6.610
And all notifications have disappeared 9.583
# 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" 3.681
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.306
When I close the "whisperback" window 2.555
Then the Tor Browser starts 19.777
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.077
After features/support/hooks.rb:330 3.598
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:55.437
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.618
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.497
And Tails detects disk read failures on the boot device 1.690
When I try to enable persistence 0.444
Then the Welcome Screen tells me that my hardware is probably failing 43.854
When I log in to a new session 1:10.591
And all notifications have disappeared 6.577
Then the Tor Browser starts 31.995
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.167
After features/support/hooks.rb:330 2.582
After features/support/hooks.rb:100 0.000