Project Number Date
test_Tails_ISO_improve-cmd-logging 3 17 Jul 2025, 16:58

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 147 1 9 0 0 157 20 1 21 55:38.869 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:51.330
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 1:55.893
And I update APT using apt 15.847
And I install "python3-behave" using apt 34.208
Then the Tails Persistent Storage behave tests pass 5.380
After features/support/hooks.rb:330 3.698
After features/support/hooks.rb:100 0.000
Tags: @product
1:27.205
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.040
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.604
When I log in to a new session without activating the Persistent Storage 47.254
Then Tails is running from USB drive "__internal" 1.233
And persistence is disabled 1.162
But a Tails persistence partition exists on USB drive "__internal" 21.950
After features/support/hooks.rb:330 2.744
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.633
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 logged in 22.651
Then Tails is running from USB drive "__internal" 0.583
When I create a file in the Persistent directory 0.219
And I create a persistent partition with the default settings 44.779
Then the file I created was copied to the Persistent Storage 3.037
When I shutdown Tails and wait for the computer to power off 15.463
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:15.373
Then persistence for "Persistent" is active 0.445
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:330 2.453
After features/support/hooks.rb:100 0.026
Tags: @product
1:13.569
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 without a persistent partition and logged in 14.395
And the system is very low on memory 3.816
When I create a file in the Persistent directory 1.797
When I try to create a persistent partition 26.331
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.365
When I close the Persistent Storage app 2.820
And I free up some memory 2.982
And I create a persistent partition with the default settings 20.647
Then the file I created was copied to the Persistent Storage 0.410
After features/support/hooks.rb:330 1.872
After features/support/hooks.rb:100 0.000
Tags: @product
3:57.382
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 18.158
Then Tails is running from USB drive "__internal" 1.063
And all tps features are active 3.201
And all persistent directories have safe access rights 6.035
When I disable the first tps feature 7.535
Then all tps features but the first one are active 2.581
And I shutdown Tails and wait for the computer to power off 19.872
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:55.816
Then all tps features but the first one are active 3.117
After features/support/hooks.rb:330 1.701
After features/support/hooks.rb:100 0.047
Tags: @product
29.456
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.044
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.099
Then persistence for "Persistent" is active 0.181
And I create a file in the Persistent directory 0.104
Then the file I created was copied to the Persistent Storage 0.090
When I disable the first tps feature 7.106
Then persistence for "Persistent" is not active 0.097
And the Persistent directory does not exist 0.064
When I enable the first tps feature 5.494
Then persistence for "Persistent" is active 0.100
And the file I created in the Persistent directory exists 0.117
After features/support/hooks.rb:330 1.905
After features/support/hooks.rb:100 0.000
Tags: @product
27.499
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.625
Then persistence for "Persistent" is active 0.308
When I create a file in the Persistent directory 0.694
And I disable the first tps feature 9.383
And I delete the data of the Persistent Folder feature 4.412
Then the file I created does not exist on the Persistent Storage 0.074
After features/support/hooks.rb:330 2.179
After features/support/hooks.rb:100 0.000
Tags: @product
1:37.698
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 15.100
And the network is plugged 0.107
And Tor is ready 27.550
And I take note of which tps features are available 1.913
When I write some files expected to persist 4.544
And I shutdown Tails and wait for the computer to power off 11.542
# 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" 36.940
After features/support/hooks.rb:330 0.112
After features/support/hooks.rb:100 0.000
Tags: @product
4:43.267
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 14.627
And the network is plugged 0.183
And Tor is ready 54.773
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.502
And I shutdown Tails and wait for the computer to power off 9.326
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:58.594
And I capture all network traffic 0.005
And the network is plugged 0.080
And Tor is ready 24.122
And I switch to the "persistent-con-current" NetworkManager connection 0.718
And the 1st network device has a spoofed MAC address configured 0.129
And no network device leaked the real MAC address 0.203
After features/support/hooks.rb:330 4.739
After features/support/hooks.rb:100 0.066
Tags: @product
1:21.985
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 without a persistent partition and stopped at Tails Greeter's login screen 14.674
And I enable persistence creation in Tails Greeter 1.226
And I log in to a new session expecting no warning about the Persistent Storage not being activated 33.894
Then I create a persistent partition with the default settings using the wizard that was already open 32.189
After features/support/hooks.rb:330 3.940
After features/support/hooks.rb:100 0.000
Tags: @product
6:19.752
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 16.691
When I enable persistence 1:4.520
Then no persistent Greeter options were restored 16.056
When I set all Greeter options to non-default values 32.647
And I log in to a new session in German (de) after having activated the Persistent Storage 1:11.247
Then all Greeter options are set to non-default values 0.395
When I cold reboot the computer 12.124
And the computer reboots Tails 1:21.200
Given I enable persistence 26.902
Then persistent Greeter options were restored 0.713
When I log in to a new session after having activated the Persistent Storage 56.537
Then all Greeter options are set to non-default values 0.715
After features/support/hooks.rb:330 2.454
After features/support/hooks.rb:100 0.006
Tags: @product
4:56.331
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 14.435
# 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.203
And I shutdown Tails and wait for the computer to power off 19.575
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:59.835
And I change the passphrase of the Persistent Storage back to the original 39.281
After features/support/hooks.rb:330 3.352
After features/support/hooks.rb:100 0.006
Tags: @product
1:5.449
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.998
And I log in to a new session without activating the Persistent Storage 27.087
Then persistence is disabled 0.441
But a Tails persistence partition exists on USB drive "__internal" 7.199
And all notifications have disappeared 10.928
When I delete the persistent partition 7.805
Then there is no persistence partition on USB drive "__internal" 0.987
After features/support/hooks.rb:330 1.483
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.238
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 14.363
When I write some dotfile expected to persist 0.093
And I shutdown Tails and wait for the computer to power off 12.918
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:45.914
Then the expected persistent dotfile is present in the filesystem 0.949
After features/support/hooks.rb:330 1.827
After features/support/hooks.rb:100 0.008
Tags: @product
2:14.666
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.297
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.327
When I try to enable persistence 0.320
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 40.237
When I log in to a new session after having activated the Persistent Storage 53.423
And all notifications have disappeared 13.596
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.344
And all tps features are enabled 5.104
And all tps features but the first one are active 4.015
After features/support/hooks.rb:330 1.988
After features/support/hooks.rb:100 0.000
Tags: @product
6:9.072
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
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:15.749
And I enable persistence 50.233
And I log in to a new session after having activated the Persistent Storage 57.483
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.582
And persistence is enabled 3.022
After features/support/hooks.rb:330 3.258
After features/support/hooks.rb:100 0.000
Tags: @product
47.374
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.041
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.407
And I enable persistence but something goes wrong during the LUKS header upgrade 33.824
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.143
After features/support/hooks.rb:330 0.899
After features/support/hooks.rb:100 0.000
Tags: @product
1:21.282
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.824
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.958
When I enable persistence 54.720
Then the filesystem of the Persistent Storage was repaired 0.254
And persistence is successfully enabled 3.525
After features/support/hooks.rb:330 1.688
After features/support/hooks.rb:100 0.000
Tags: @product
2:7.888
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 44.956
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.433
When I try to enable persistence 0.435
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 53.293
When I repair the filesystem of the Persistent Storage 1.527
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.109
And the filesystem of the Persistent Storage was repaired 4.300
When I close the filesystem repair dialog 1.225
Then persistence is successfully enabled 3.606
After features/support/hooks.rb:330 5.624
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.264
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.008
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.526
When I try to enable persistence 1.638
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.090
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.593

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 05:28:51)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_improve-cmd-logging/3/artifact/build-artifacts/05:28:51_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_improve-cmd-logging/3/artifact/build-artifacts/05:28:51_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_improve-cmd-logging/3/artifact/build-artifacts/05:28:51_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:16.520
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 14.470
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.836
And Tails detects disk read failures on the boot device 1.784
When I try to enable persistence 0.647
Then the Welcome Screen tells me that my hardware is probably failing 47.517
When I log in to a new session 1:8.014
And all notifications have disappeared 15.345
Then the Tor Browser starts 39.741
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.163
After features/support/hooks.rb:330 4.174
After features/support/hooks.rb:100 0.000