Project Number Date
test_Tails_ISO_feature-arti 101 29 Jun 2025, 17:41

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 54:5.003 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:32.233
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:11.743
And I update APT using apt 46.497
And I install "python3-behave" using apt 31.004
Then the Tails Persistent Storage behave tests pass 2.987
After features/support/hooks.rb:330 0.895
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.648
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.747
When I log in to a new session without activating the Persistent Storage 29.774
Then Tails is running from USB drive "__internal" 4.254
And persistence is disabled 0.346
But a Tails persistence partition exists on USB drive "__internal" 10.525
After features/support/hooks.rb:330 2.440
After features/support/hooks.rb:100 0.000
Tags: @product
4:4.084
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.802
Then Tails is running from USB drive "__internal" 0.401
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 33.451
Then the file I created was copied to the Persistent Storage 2.650
When I shutdown Tails and wait for the computer to power off 16.063
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:54.067
Then persistence for "Persistent" is active 1.156
And the file I created in the Persistent directory exists 0.348
After features/support/hooks.rb:330 4.722
After features/support/hooks.rb:100 0.008
Tags: @product
1:29.003
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 without a persistent partition and logged in 12.178
And the system is very low on memory 7.809
When I create a file in the Persistent directory 1.872
When I try to create a persistent partition 39.200
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.514
When I close the Persistent Storage app 3.092
And I free up some memory 3.556
And I create a persistent partition with the default settings 20.355
Then the file I created was copied to the Persistent Storage 0.425
After features/support/hooks.rb:330 2.578
After features/support/hooks.rb:100 0.000
Tags: @product
3:58.742
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.352
Then Tails is running from USB drive "__internal" 0.738
And all tps features are active 4.562
And all persistent directories have safe access rights 8.614
When I disable the first tps feature 6.352
Then all tps features but the first one are active 2.579
And I shutdown Tails and wait for the computer to power off 24.227
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:50.343
Then all tps features but the first one are active 2.971
After features/support/hooks.rb:330 1.893
After features/support/hooks.rb:100 0.011
Tags: @product
34.591
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 18.471
Then persistence for "Persistent" is active 0.088
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.116
When I disable the first tps feature 12.170
Then persistence for "Persistent" is not active 0.104
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.310
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:330 1.656
After features/support/hooks.rb:100 0.000
Tags: @product
27.641
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.756
Then persistence for "Persistent" is active 0.131
When I create a file in the Persistent directory 0.261
And I disable the first tps feature 6.437
And I delete the data of the Persistent Folder feature 6.308
Then the file I created does not exist on the Persistent Storage 0.746
After features/support/hooks.rb:330 5.019
After features/support/hooks.rb:100 0.000
Tags: @product
1:28.877
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.849
And the network is plugged 0.100
And Tor is ready 29.067
And I take note of which tps features are available 1.058
When I write some files expected to persist 2.402
And I shutdown Tails and wait for the computer to power off 8.777
# 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" 37.621
After features/support/hooks.rb:330 0.170
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.193
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 15.857
And the network is plugged 0.112
And Tor is ready 25.968
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.212
And I shutdown Tails and wait for the computer to power off 12.525
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:5.943
And I capture all network traffic 0.055
And the network is plugged 0.099
And Tor is ready 32.587
And I switch to the "persistent-con-current" NetworkManager connection 0.490
And the 1st network device has a spoofed MAC address configured 0.109
And no network device leaked the real MAC address 0.230
After features/support/hooks.rb:330 0.640
After features/support/hooks.rb:100 0.086
Tags: @product
1:21.308
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.039
And I enable persistence creation in Tails Greeter 1.631
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.779
Then I create a persistent partition with the default settings using the wizard that was already open 34.858
After features/support/hooks.rb:330 3.329
After features/support/hooks.rb:100 0.000
Tags: @product
5:55.630
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 17.146
When I enable persistence 58.410
Then no persistent Greeter options were restored 15.414
When I set all Greeter options to non-default values 37.796
And I log in to a new session in German (de) after having activated the Persistent Storage 52.690
Then all Greeter options are set to non-default values 0.806
When I cold reboot the computer 13.747
And the computer reboots Tails 1:25.474
Given I enable persistence 33.260
Then persistent Greeter options were restored 0.649
When I log in to a new session after having activated the Persistent Storage 39.917
Then all Greeter options are set to non-default values 0.316
After features/support/hooks.rb:330 0.811
After features/support/hooks.rb:100 0.012
Tags: @product
4:48.107
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 14.831
# 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 43.650
And I shutdown Tails and wait for the computer to power off 18.005
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:49.030
And I change the passphrase of the Persistent Storage back to the original 42.590
After features/support/hooks.rb:330 7.156
After features/support/hooks.rb:100 0.009
Tags: @product
19.567
Scenario Deleting a Tails persistent partition
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.308
And I log in to a new session without activating the Persistent Storage 9.258
<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.092

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 04:40:30)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/101/artifact/build-artifacts/04:40:30_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/101/artifact/build-artifacts/04:40:30_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/101/artifact/build-artifacts/04:40:30_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/101/artifact/build-artifacts/04:40:30_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:17.848
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 14.477
When I write some dotfile expected to persist 0.111
And I shutdown Tails and wait for the computer to power off 9.079
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:52.997
Then the expected persistent dotfile is present in the filesystem 1.182
After features/support/hooks.rb:330 1.655
After features/support/hooks.rb:100 0.010
Tags: @product
2:31.176
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.769
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.167
When I try to enable persistence 0.521
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 45.933
When I log in to a new session after having activated the Persistent Storage 1:6.016
And all notifications have disappeared 11.279
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.029
And all tps features are enabled 2.600
And all tps features but the first one are active 4.858
After features/support/hooks.rb:330 2.840
After features/support/hooks.rb:100 0.000
Tags: @product
6:5.974
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:11.188
And I enable persistence 51.444
And I log in to a new session after having activated the Persistent Storage 55.798
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.599
And persistence is enabled 2.943
After features/support/hooks.rb:330 2.095
After features/support/hooks.rb:100 0.000
Tags: @product
35.062
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 11.175
And I enable persistence but something goes wrong during the LUKS header upgrade 22.952
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.934
After features/support/hooks.rb:330 0.953
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.725
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 and stopped at Tails Greeter's login screen 10.994
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.324
When I enable persistence 44.102
Then the filesystem of the Persistent Storage was repaired 0.114
And persistence is successfully enabled 3.189
After features/support/hooks.rb:330 3.965
After features/support/hooks.rb:100 0.000
Tags: @product
1:21.543
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.094
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.460
When I try to enable persistence 0.847
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.924
When I repair the filesystem of the Persistent Storage 5.471
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.068
And the filesystem of the Persistent Storage was repaired 3.256
When I close the filesystem repair dialog 1.280
Then persistence is successfully enabled 4.139
After features/support/hooks.rb:330 3.843
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:45.411
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 12.648
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 2.031
When I try to enable persistence 2.172
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 45.594
When I repair the filesystem of the Persistent Storage 1.296
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 56.581
And all notifications have disappeared 7.988
# 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.349
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.235
When I close the "whisperback" window 1.700
Then the Tor Browser starts 33.567
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.164
After features/support/hooks.rb:330 4.166
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:43.629
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.381
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.740
And Tails detects disk read failures on the boot device 2.363
When I try to enable persistence 2.846
Then the Welcome Screen tells me that my hardware is probably failing 31.695
When I log in to a new session 1:2.014
And all notifications have disappeared 13.372
Then the Tor Browser starts 27.874
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.340
After features/support/hooks.rb:330 6.569
After features/support/hooks.rb:100 0.000