Project Number Date
test_Tails_ISO_stable 5541 01 Apr 2025, 20:41

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:16:7.952 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:42.475
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.461
And I update APT using apt 35:0.014
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/misc_helpers.rb:180:in `new'
./features/support/helpers/misc_helpers.rb:180:in `force_new_tor_circuit'
./features/support/helpers/misc_helpers.rb:192:in `block in retry_tor'
./features/support/helpers/misc_helpers.rb:222:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:209:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:208:in `loop'
./features/support/helpers/misc_helpers.rb:208:in `retry_action'
./features/support/helpers/misc_helpers.rb:196:in `retry_tor'
./features/step_definitions/apt.rb:59:in `/^I update APT using apt$/'
features/persistence.feature:8:in `And I update APT using apt'
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:330 10.789

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:55:37)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5541/artifact/build-artifacts/03:55:37_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5541/artifact/build-artifacts/03:55:37_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5541/artifact/build-artifacts/03:55:37_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
42.713
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 13.724
When I log in to a new session without activating the Persistent Storage 22.265
Then Tails is running from USB drive "__internal" 0.474
And persistence is disabled 0.351
But a Tails persistence partition exists on USB drive "__internal" 5.898
After features/support/hooks.rb:330 1.034
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.373
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 14.913
Then Tails is running from USB drive "__internal" 1.279
When I create a file in the Persistent directory 0.154
And I create a persistent partition with the default settings 23.943
Then the file I created was copied to the Persistent Storage 2.742
When I shutdown Tails and wait for the computer to power off 13.066
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.722
Then persistence for "Persistent" is active 0.450
And the file I created in the Persistent directory exists 0.100
After features/support/hooks.rb:330 2.147
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.823
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 without a persistent partition and logged in 13.100
And the system is very low on memory 3.312
When I create a file in the Persistent directory 0.814
When I try to create a persistent partition 26.252
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.173
When I close the Persistent Storage app 2.735
And I free up some memory 3.485
And I create a persistent partition with the default settings 12.682
Then the file I created was copied to the Persistent Storage 0.267
After features/support/hooks.rb:330 1.908
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.836
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 13.661
Then Tails is running from USB drive "__internal" 1.308
And all tps features are active 2.694
And all persistent directories have safe access rights 2.531
When I disable the first tps feature 7.361
Then all tps features but the first one are active 2.103
And I shutdown Tails and wait for the computer to power off 18.012
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.463
Then all tps features but the first one are active 2.700
After features/support/hooks.rb:330 1.370
After features/support/hooks.rb:100 0.009
Tags: @product
22.845
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.439
Then persistence for "Persistent" is active 0.084
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 6.469
Then persistence for "Persistent" is not active 0.128
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.360
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.608
After features/support/hooks.rb:100 0.000
Tags: @product
21.098
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 9.953
Then persistence for "Persistent" is active 0.078
When I create a file in the Persistent directory 0.100
And I disable the first tps feature 6.680
And I delete the data of the Persistent Folder feature 4.219
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 1.646
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.453
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 9.667
And the network is plugged 0.095
And Tor is ready 26.485
And I take note of which tps features are available 0.667
When I write some files expected to persist 1.617
And I shutdown Tails and wait for the computer to power off 9.157
# 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" 24.761
After features/support/hooks.rb:330 0.157
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.055
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 9.295
And the network is plugged 0.075
And Tor is ready 24.110
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.199
And I shutdown Tails and wait for the computer to power off 8.725
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.107
And I capture all network traffic 0.008
And the network is plugged 0.079
And Tor is ready 48.676
And I switch to the "persistent-con-current" NetworkManager connection 0.434
And the 1st network device has a spoofed MAC address configured 0.123
And no network device leaked the real MAC address 0.219
After features/support/hooks.rb:330 0.785
After features/support/hooks.rb:100 0.060
Tags: @product
1:0.939
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 stopped at Tails Greeter's login screen 13.256
And I enable persistence creation in Tails Greeter 1.154
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.049
Then I create a persistent partition with the default settings using the wizard that was already open 23.479
After features/support/hooks.rb:330 2.945
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.834
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 11.963
When I enable persistence 42.278
Then no persistent Greeter options were restored 14.552
When I set all Greeter options to non-default values 26.063
And I log in to a new session in German (de) after having activated the Persistent Storage 45.540
Then all Greeter options are set to non-default values 0.593
When I cold reboot the computer 7.344
And the computer reboots Tails 1:1.289
Given I enable persistence 19.069
Then persistent Greeter options were restored 0.601
When I log in to a new session after having activated the Persistent Storage 39.040
Then all Greeter options are set to non-default values 0.495
After features/support/hooks.rb:330 2.257
After features/support/hooks.rb:100 0.040
Tags: @product
3:52.346
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 9.995
# 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 40.049
And I shutdown Tails and wait for the computer to power off 14.496
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.246
And I change the passphrase of the Persistent Storage back to the original 29.557
After features/support/hooks.rb:330 3.051
After features/support/hooks.rb:100 0.009
Tags: @product
55.896
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 10.195
And I log in to a new session without activating the Persistent Storage 21.049
Then persistence is disabled 0.309
But a Tails persistence partition exists on USB drive "__internal" 7.370
And all notifications have disappeared 9.815
When I delete the persistent partition 6.266
Then there is no persistence partition on USB drive "__internal" 0.888
After features/support/hooks.rb:330 1.013
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.785
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 9.667
When I write some dotfile expected to persist 0.152
And I shutdown Tails and wait for the computer to power off 9.368
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.165
Then the expected persistent dotfile is present in the filesystem 0.431
After features/support/hooks.rb:330 1.352
After features/support/hooks.rb:100 0.011
Tags: @product
1:39.251
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 8.876
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.266
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.863
When I log in to a new session after having activated the Persistent Storage 42.467
And all notifications have disappeared 8.984
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.349
And all tps features are enabled 3.265
And all tps features but the first one are active 2.086
After features/support/hooks.rb:330 2.716
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.743
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 3:51.983
And I enable persistence 31.138
And I log in to a new session after having activated the Persistent Storage 48.240
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.584
And persistence is enabled 2.797
After features/support/hooks.rb:330 2.322
After features/support/hooks.rb:100 0.000
Tags: @product
31.641
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 9.164
And I enable persistence but something goes wrong during the LUKS header upgrade 21.741
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.735
After features/support/hooks.rb:330 0.602
After features/support/hooks.rb:100 0.000
Tags: @product
45.992
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.300
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.939
When I enable persistence 29.086
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.575
After features/support/hooks.rb:330 2.275
After features/support/hooks.rb:100 0.000
Tags: @product
47.106
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 8.401
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.354
When I try to enable persistence 0.488
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.299
When I repair the filesystem of the Persistent Storage 5.115
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.165
And the filesystem of the Persistent Storage was repaired 2.682
When I close the filesystem repair dialog 1.185
Then persistence is successfully enabled 1.413
After features/support/hooks.rb:330 1.004
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.185
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 8.799
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.092
When I try to enable persistence 0.304
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.350
When I repair the filesystem of the Persistent Storage 1.208
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 36.960
And all notifications have disappeared 7.097
# 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.518
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.255
When I close the "whisperback" window 1.813
Then the Tor Browser starts 18.732
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.978
After features/support/hooks.rb:330 3.738
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.552
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 8.886
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.277
And Tails detects disk read failures on the boot device 1.537
When I try to enable persistence 0.706
Then the Welcome Screen tells me that my hardware is probably failing 17.002
When I log in to a new session 49.977
And all notifications have disappeared 7.725
Then the Tor Browser starts 21.454
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.984
After features/support/hooks.rb:330 2.341
After features/support/hooks.rb:100 0.000