Project Number Date
test_Tails_ISO_improve-cmd-logging 6 20 Jul 2025, 14:54

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 47:50.514 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:57.927
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:8.680
And I update APT using apt 15.197
And I install "python3-behave" using apt 30.592
Then the Tails Persistent Storage behave tests pass 3.457
After features/support/hooks.rb:330 0.726
After features/support/hooks.rb:100 0.000
Tags: @product
47.381
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 12.581
When I log in to a new session without activating the Persistent Storage 26.436
Then Tails is running from USB drive "__internal" 0.643
And persistence is disabled 0.665
But a Tails persistence partition exists on USB drive "__internal" 7.055
After features/support/hooks.rb:330 1.483
After features/support/hooks.rb:100 0.000
Tags: @product
3:52.629
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 logged in 15.376
Then Tails is running from USB drive "__internal" 0.384
When I create a file in the Persistent directory 0.132
And I create a persistent partition with the default settings 25.583
Then the file I created was copied to the Persistent Storage 2.608
When I shutdown Tails and wait for the computer to power off 12.578
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:55.331
Then persistence for "Persistent" is active 0.545
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:330 1.919
After features/support/hooks.rb:100 0.009
Tags: @product
1:6.451
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 12.750
And the system is very low on memory 3.653
When I create a file in the Persistent directory 0.873
When I try to create a persistent partition 26.981
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.212
When I close the Persistent Storage app 3.165
And I free up some memory 4.114
And I create a persistent partition with the default settings 14.353
Then the file I created was copied to the Persistent Storage 0.346
After features/support/hooks.rb:330 3.740
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.515
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 13.620
Then Tails is running from USB drive "__internal" 0.512
And all tps features are active 4.572
And all persistent directories have safe access rights 4.090
When I disable the first tps feature 6.193
Then all tps features but the first one are active 2.414
And I shutdown Tails and wait for the computer to power off 13.993
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.321
Then all tps features but the first one are active 2.797
After features/support/hooks.rb:330 3.120
After features/support/hooks.rb:100 0.014
Tags: @product
22.213
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 11.899
Then persistence for "Persistent" is active 0.141
And I create a file in the Persistent directory 0.171
Then the file I created was copied to the Persistent Storage 0.141
When I disable the first tps feature 6.077
Then persistence for "Persistent" is not active 0.100
And the Persistent directory does not exist 0.090
When I enable the first tps feature 3.444
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.393
After features/support/hooks.rb:100 0.000
Tags: @product
22.399
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 10.678
Then persistence for "Persistent" is active 0.174
When I create a file in the Persistent directory 0.170
And I disable the first tps feature 7.199
And I delete the data of the Persistent Folder feature 4.107
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:330 1.688
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.749
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 12.733
And the network is plugged 0.096
And Tor is ready 23.766
And I take note of which tps features are available 0.688
When I write some files expected to persist 1.937
And I shutdown Tails and wait for the computer to power off 8.680
# 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" 22.844
After features/support/hooks.rb:330 0.236
After features/support/hooks.rb:100 0.000
Tags: @product
3:44.620
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.029
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.386
And the network is plugged 0.254
And Tor is ready 24.999
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.289
And I shutdown Tails and wait for the computer to power off 7.213
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:39.578
And I capture all network traffic 0.007
And the network is plugged 0.081
And Tor is ready 22.229
And I switch to the "persistent-con-current" NetworkManager connection 0.345
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.129
After features/support/hooks.rb:330 0.697
After features/support/hooks.rb:100 0.113
Tags: @product
1:9.791
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 without a persistent partition and stopped at Tails Greeter's login screen 15.313
And I enable persistence creation in Tails Greeter 1.189
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.852
Then I create a persistent partition with the default settings using the wizard that was already open 30.436
After features/support/hooks.rb:330 4.098
After features/support/hooks.rb:100 0.000
Tags: @product
5:21.934
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 11.653
When I enable persistence 45.578
Then no persistent Greeter options were restored 15.286
When I set all Greeter options to non-default values 32.455
And I log in to a new session in German (de) after having activated the Persistent Storage 59.491
Then all Greeter options are set to non-default values 0.687
When I cold reboot the computer 9.929
And the computer reboots Tails 1:11.869
Given I enable persistence 23.365
Then persistent Greeter options were restored 0.527
When I log in to a new session after having activated the Persistent Storage 50.143
Then all Greeter options are set to non-default values 0.946
After features/support/hooks.rb:330 2.293
After features/support/hooks.rb:100 0.008
Tags: @product
4:32.818
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 12.706
# 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 42.000
And I shutdown Tails and wait for the computer to power off 17.024
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:35.675
And I change the passphrase of the Persistent Storage back to the original 45.411
After features/support/hooks.rb:330 3.395
After features/support/hooks.rb:100 0.011
Tags: @product
15.975
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
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.798
And I log in to a new session without activating the Persistent Storage 5.176
<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.072

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 04:08:47)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_improve-cmd-logging/6/artifact/build-artifacts/04:08:47_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_improve-cmd-logging/6/artifact/build-artifacts/04:08:47_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_improve-cmd-logging/6/artifact/build-artifacts/04:08:47_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_improve-cmd-logging/6/artifact/build-artifacts/04:08:47_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:56.266
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 9.885
When I write some dotfile expected to persist 0.412
And I shutdown Tails and wait for the computer to power off 8.298
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.770
Then the expected persistent dotfile is present in the filesystem 0.899
After features/support/hooks.rb:330 1.968
After features/support/hooks.rb:100 0.016
Tags: @product
2:6.091
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 9.883
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.295
When I try to enable persistence 0.529
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.570
When I log in to a new session after having activated the Persistent Storage 58.503
And all notifications have disappeared 9.733
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.984
And all tps features are enabled 2.451
And all tps features but the first one are active 2.140
After features/support/hooks.rb:330 2.031
After features/support/hooks.rb:100 0.000
Tags: @product
6:8.036
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:31.680
And I enable persistence 42.449
And I log in to a new session after having activated the Persistent Storage 47.356
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.650
And persistence is enabled 4.899
After features/support/hooks.rb:330 2.508
After features/support/hooks.rb:100 0.000
Tags: @product
38.893
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
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 9.507
And I enable persistence but something goes wrong during the LUKS header upgrade 28.353
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.032
After features/support/hooks.rb:330 0.997
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.064
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.101
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.336
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.767
When I enable persistence 39.016
Then the filesystem of the Persistent Storage was repaired 0.169
And persistence is successfully enabled 3.774
After features/support/hooks.rb:330 2.049
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.440
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 9.555
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.475
When I try to enable persistence 1.583
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.310
When I repair the filesystem of the Persistent Storage 2.427
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.807
And the filesystem of the Persistent Storage was repaired 3.461
When I close the filesystem repair dialog 1.278
Then persistence is successfully enabled 1.539
After features/support/hooks.rb:330 3.666
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:15.208
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 12.331
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.319
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 38.408
When I repair the filesystem of the Persistent Storage 2.178
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 42.020
And all notifications have disappeared 10.609
# 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.525
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.983
When I close the "whisperback" window 1.734
Then the Tor Browser starts 24.388
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.521
After features/support/hooks.rb:330 3.097
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:31.107
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 12.319
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.599
And Tails detects disk read failures on the boot device 1.747
When I try to enable persistence 0.577
Then the Welcome Screen tells me that my hardware is probably failing 28.777
When I log in to a new session 1:2.587
And all notifications have disappeared 9.687
Then the Tor Browser starts 28.390
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.419
After features/support/hooks.rb:330 3.183
After features/support/hooks.rb:100 0.000