Project Number Date
test_Tails_ISO_devel 3853 03 Jun 2025, 20:16

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 154 1 2 0 0 157 20 1 21 1:10:17.024 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:39.710
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 1:50.260
And I update APT using apt 16.466
And I install "python3-behave" using apt 30.409
Then the Tails Persistent Storage behave tests pass 2.574
After features/support/hooks.rb:330 1.521
After features/support/hooks.rb:100 0.000
Tags: @product
59.066
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 17.587
When I log in to a new session without activating the Persistent Storage 28.564
Then Tails is running from USB drive "__internal" 0.735
And persistence is disabled 0.581
But a Tails persistence partition exists on USB drive "__internal" 11.597
After features/support/hooks.rb:330 1.724
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.360
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.470
Then Tails is running from USB drive "__internal" 0.575
When I create a file in the Persistent directory 0.140
And I create a persistent partition with the default settings 27.752
Then the file I created was copied to the Persistent Storage 3.968
When I shutdown Tails and wait for the computer to power off 16.020
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:41.878
Then persistence for "Persistent" is active 0.477
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 2.242
After features/support/hooks.rb:100 0.009
Tags: @product
1:19.097
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 12.788
And the system is very low on memory 5.503
When I create a file in the Persistent directory 2.262
When I try to create a persistent partition 34.030
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.606
When I close the Persistent Storage app 3.214
And I free up some memory 4.070
And I create a persistent partition with the default settings 16.221
Then the file I created was copied to the Persistent Storage 0.400
After features/support/hooks.rb:330 2.778
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.942
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.244
Then Tails is running from USB drive "__internal" 1.281
And all tps features are active 6.448
And all persistent directories have safe access rights 3.039
When I disable the first tps feature 6.767
Then all tps features but the first one are active 2.954
And I shutdown Tails and wait for the computer to power off 16.007
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.660
Then all tps features but the first one are active 2.537
After features/support/hooks.rb:330 1.584
After features/support/hooks.rb:100 0.011
Tags: @product
39.874
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 29.140
Then persistence for "Persistent" is active 0.141
And I create a file in the Persistent directory 0.141
Then the file I created was copied to the Persistent Storage 0.122
When I disable the first tps feature 6.857
Then persistence for "Persistent" is not active 0.087
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.144
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:330 1.474
After features/support/hooks.rb:100 0.000
Tags: @product
23.005
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.791
Then persistence for "Persistent" is active 0.115
When I create a file in the Persistent directory 0.119
And I disable the first tps feature 7.077
And I delete the data of the Persistent Folder feature 3.833
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 2.362
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.613
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 with a persistent partition enabled and logged in 12.341
And the network is plugged 0.141
And Tor is ready 23.757
And I take note of which tps features are available 0.817
When I write some files expected to persist 2.557
And I shutdown Tails and wait for the computer to power off 10.034
# 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" 32.964
After features/support/hooks.rb:330 0.623
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.601
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 enabled and logged in 13.112
And the network is plugged 0.117
And Tor is ready 25.623
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 9.708
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:10.559
And I capture all network traffic 0.022
And the network is plugged 0.126
And Tor is ready 26.327
And I switch to the "persistent-con-current" NetworkManager connection 0.408
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.202
After features/support/hooks.rb:330 0.784
After features/support/hooks.rb:100 0.058
Tags: @product
1:37.527
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 25.395
And I enable persistence creation in Tails Greeter 1.280
And I log in to a new session expecting no warning about the Persistent Storage not being activated 31.708
Then I create a persistent partition with the default settings using the wizard that was already open 39.143
After features/support/hooks.rb:330 4.379
After features/support/hooks.rb:100 0.000
Tags: @product
5:29.404
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 and stopped at Tails Greeter's login screen 25.771
When I enable persistence 45.761
Then no persistent Greeter options were restored 14.484
When I set all Greeter options to non-default values 32.686
And I log in to a new session in German (de) after having activated the Persistent Storage 55.554
Then all Greeter options are set to non-default values 0.654
When I cold reboot the computer 10.628
And the computer reboots Tails 1:12.228
Given I enable persistence 21.521
Then persistent Greeter options were restored 0.604
When I log in to a new session after having activated the Persistent Storage 49.055
Then all Greeter options are set to non-default values 0.453
After features/support/hooks.rb:330 1.489
After features/support/hooks.rb:100 0.009
Tags: @product
4:26.479
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.274
# 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.109
And I shutdown Tails and wait for the computer to power off 13.728
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:44.297
And I change the passphrase of the Persistent Storage back to the original 33.069
After features/support/hooks.rb:330 2.829
After features/support/hooks.rb:100 0.012
Tags: @product
1:1.584
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.807
And I log in to a new session without activating the Persistent Storage 24.625
Then persistence is disabled 0.301
But a Tails persistence partition exists on USB drive "__internal" 5.947
And all notifications have disappeared 10.597
When I delete the persistent partition 8.244
Then there is no persistence partition on USB drive "__internal" 1.060
After features/support/hooks.rb:330 0.956
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.739
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 11.100
When I write some dotfile expected to persist 0.153
And I shutdown Tails and wait for the computer to power off 10.907
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.249
Then the expected persistent dotfile is present in the filesystem 1.328
After features/support/hooks.rb:330 2.100
After features/support/hooks.rb:100 0.017
Tags: @product
2:10.011
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.611
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.300
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 47.497
When I log in to a new session after having activated the Persistent Storage 52.351
And all notifications have disappeared 8.875
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.690
And all tps features are enabled 3.027
And all tps features but the first one are active 2.553
After features/support/hooks.rb:330 2.143
After features/support/hooks.rb:100 0.000
Tags: @product
6:37.917
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:56.611
And I enable persistence 39.549
And I log in to a new session after having activated the Persistent Storage 53.376
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.729
And persistence is enabled 3.652
After features/support/hooks.rb:330 1.702
After features/support/hooks.rb:100 0.000
Tags: @product
48.126
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 14.237
And I enable persistence but something goes wrong during the LUKS header upgrade 32.292
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.596
After features/support/hooks.rb:330 1.048
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.044
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 13.753
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.277
When I enable persistence 54.589
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 3.319
After features/support/hooks.rb:330 2.192
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.731
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 9.619
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.968
When I try to enable persistence 0.484
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.832
When I repair the filesystem of the Persistent Storage 3.573
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.823
And the filesystem of the Persistent Storage was repaired 4.444
When I close the filesystem repair dialog 1.270
Then persistence is successfully enabled 1.714
After features/support/hooks.rb:330 2.197
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:32.752
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 13.546
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.113
When I try to enable persistence 0.318
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 46.125
When I repair the filesystem of the Persistent Storage 1.761
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.081
When I log in to a new session 49.858
And all notifications have disappeared 13.327
# 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.720
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.734
When I close the "whisperback" window 1.862
Then the Tor Browser starts 23.377
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.923
After features/support/hooks.rb:330 3.465
After features/support/hooks.rb:100 0.000
Tags: @product @doc
21:36.435
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
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.074
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.496
And Tails detects disk read failures on the boot device 2.806
When I try to enable persistence 1.584
Then the Welcome Screen tells me that my hardware is probably failing 26.308
When I log in to a new session 49.021
And all notifications have disappeared 20:0.144
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:719:in `new'
./features/step_definitions/common_steps.rb:719:in `/^all notifications have disappeared$/'
features/persistence.feature:212:in `And all notifications have disappeared'
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.143

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 04:31:32)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3853/artifact/build-artifacts/04:31:32_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3853/artifact/build-artifacts/04:31:32_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3853/artifact/build-artifacts/04:31:32_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000