Project Number Date
test_Tails_ISO_test-suite-options 20 06 Jul 2025, 21: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 54:30.649 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:16.749
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:20.101
And I update APT using apt 21.864
And I install "python3-behave" using apt 31.778
Then the Tails Persistent Storage behave tests pass 3.005
After features/support/hooks.rb:330 0.995
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.892
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 16.677
When I log in to a new session without activating the Persistent Storage 42.034
Then Tails is running from USB drive "__internal" 1.080
And persistence is disabled 0.447
But a Tails persistence partition exists on USB drive "__internal" 15.651
After features/support/hooks.rb:330 1.940
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.156
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 19.235
Then Tails is running from USB drive "__internal" 0.954
When I create a file in the Persistent directory 0.184
And I create a persistent partition with the default settings 38.682
Then the file I created was copied to the Persistent Storage 2.423
When I shutdown Tails and wait for the computer to power off 15.755
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:8.107
Then persistence for "Persistent" is active 0.971
And the file I created in the Persistent directory exists 0.841
After features/support/hooks.rb:330 3.332
After features/support/hooks.rb:100 0.083
Tags: @product
1:12.906
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 without a persistent partition and logged in 12.224
And the system is very low on memory 7.536
When I create a file in the Persistent directory 2.203
When I try to create a persistent partition 23.069
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.485
When I close the Persistent Storage app 2.700
And I free up some memory 2.521
And I create a persistent partition with the default settings 21.380
Then the file I created was copied to the Persistent Storage 0.782
After features/support/hooks.rb:330 1.896
After features/support/hooks.rb:100 0.000
Tags: @product
4:6.316
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.075
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 21.417
Then Tails is running from USB drive "__internal" 4.125
And all tps features are active 4.139
And all persistent directories have safe access rights 2.861
When I disable the first tps feature 6.104
Then all tps features but the first one are active 5.437
And I shutdown Tails and wait for the computer to power off 15.785
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:1.061
Then all tps features but the first one are active 5.381
After features/support/hooks.rb:330 3.718
After features/support/hooks.rb:100 0.028
Tags: @product
25.667
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.008
Then persistence for "Persistent" is active 0.894
And I create a file in the Persistent directory 0.566
Then the file I created was copied to the Persistent Storage 0.272
When I disable the first tps feature 8.401
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.192
Then persistence for "Persistent" is active 0.123
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.712
After features/support/hooks.rb:100 0.000
Tags: @product
27.906
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 14.291
Then persistence for "Persistent" is active 0.200
When I create a file in the Persistent directory 0.123
And I disable the first tps feature 6.399
And I delete the data of the Persistent Folder feature 6.786
Then the file I created does not exist on the Persistent Storage 0.106
After features/support/hooks.rb:330 1.932
After features/support/hooks.rb:100 0.000
Tags: @product
1:30.668
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.435
And the network is plugged 0.142
And Tor is ready 30.974
And I take note of which tps features are available 0.647
When I write some files expected to persist 1.790
And I shutdown Tails and wait for the computer to power off 11.695
# 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" 34.982
After features/support/hooks.rb:330 0.128
After features/support/hooks.rb:100 0.000
Tags: @product
4:9.293
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 16.071
And the network is plugged 0.067
And Tor is ready 29.945
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.594
And I shutdown Tails and wait for the computer to power off 9.815
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:47.091
And I capture all network traffic 0.314
And the network is plugged 0.746
And Tor is ready 23.756
And I switch to the "persistent-con-current" NetworkManager connection 0.467
And the 1st network device has a spoofed MAC address configured 0.135
And no network device leaked the real MAC address 0.286
After features/support/hooks.rb:330 0.994
After features/support/hooks.rb:100 0.075
Tags: @product
1:24.560
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 12.563
And I enable persistence creation in Tails Greeter 1.494
And I log in to a new session expecting no warning about the Persistent Storage not being activated 32.009
Then I create a persistent partition with the default settings using the wizard that was already open 38.493
After features/support/hooks.rb:330 3.467
After features/support/hooks.rb:100 0.000
Tags: @product
6:4.308
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 16.793
When I enable persistence 54.622
Then no persistent Greeter options were restored 15.694
When I set all Greeter options to non-default values 40.001
And I log in to a new session in German (de) after having activated the Persistent Storage 1:0.025
Then all Greeter options are set to non-default values 1.606
When I cold reboot the computer 10.221
And the computer reboots Tails 1:20.321
Given I enable persistence 29.742
Then persistent Greeter options were restored 0.754
When I log in to a new session after having activated the Persistent Storage 53.563
Then all Greeter options are set to non-default values 0.960
After features/support/hooks.rb:330 4.720
After features/support/hooks.rb:100 0.025
Tags: @product
5:13.357
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 with a persistent partition enabled and logged in 11.693
# 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 50.647
And I shutdown Tails and wait for the computer to power off 15.569
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:0.374
And I change the passphrase of the Persistent Storage back to the original 55.073
After features/support/hooks.rb:330 6.242
After features/support/hooks.rb:100 0.019
Tags: @product
17.799
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
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.703
And I log in to a new session without activating the Persistent Storage 6.095
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:519: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.717

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 04:38:24)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/20/artifact/build-artifacts/04:38:24_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/20/artifact/build-artifacts/04:38:24_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/20/artifact/build-artifacts/04:38:24_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/20/artifact/build-artifacts/04:38:24_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:23.833
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.022
When I write some dotfile expected to persist 0.908
And I shutdown Tails and wait for the computer to power off 11.513
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:57.814
Then the expected persistent dotfile is present in the filesystem 0.573
After features/support/hooks.rb:330 2.039
After features/support/hooks.rb:100 0.023
Tags: @product
2:34.628
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 15.611
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.697
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 47.327
When I log in to a new session after having activated the Persistent Storage 1:11.716
And all notifications have disappeared 5.390
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 6.620
And all tps features are enabled 4.153
And all tps features but the first one are active 3.015
After features/support/hooks.rb:330 1.943
After features/support/hooks.rb:100 0.000
Tags: @product
5:58.786
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:16.837
And I enable persistence 40.524
And I log in to a new session after having activated the Persistent Storage 50.120
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 6.402
And persistence is enabled 4.900
After features/support/hooks.rb:330 2.372
After features/support/hooks.rb:100 0.000
Tags: @product
43.303
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 16.224
And I enable persistence but something goes wrong during the LUKS header upgrade 26.193
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.885
After features/support/hooks.rb:330 1.080
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.464
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.052
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.867
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 14.174
When I enable persistence 41.283
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 3.058
After features/support/hooks.rb:330 3.542
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.479
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.031
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.098
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.390
When I try to enable persistence 1.013
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.298
When I repair the filesystem of the Persistent Storage 5.531
Then the Welcome Screen tells me that the filesystem was repaired successfully 5.024
And the filesystem of the Persistent Storage was repaired 3.393
When I close the filesystem repair dialog 1.227
Then persistence is successfully enabled 1.502
After features/support/hooks.rb:330 3.449
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:44.201
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 and stopped at Tails Greeter's login screen 14.264
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.198
When I try to enable persistence 0.385
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 48.205
When I repair the filesystem of the Persistent Storage 2.806
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.758
When I log in to a new session 49.768
And all notifications have disappeared 18.850
# 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.484
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.890
When I close the "whisperback" window 1.639
Then the Tor Browser starts 22.938
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.010
After features/support/hooks.rb:330 6.926
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:40.368
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.760
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.771
And Tails detects disk read failures on the boot device 1.631
When I try to enable persistence 0.377
Then the Welcome Screen tells me that my hardware is probably failing 30.519
When I log in to a new session 1:5.981
And all notifications have disappeared 7.553
Then the Tor Browser starts 31.782
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.989
After features/support/hooks.rb:330 2.814
After features/support/hooks.rb:100 0.000