Project Number Date
test_Tails_ISO_20263-test-suite-without-spice 21 28 Mar 2025, 03:11

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:14:24.049 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:31.779
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:31.764
And I update APT using apt 35:0.015
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.766

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:40:15)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/21/artifact/build-artifacts/03:40:15_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/21/artifact/build-artifacts/03:40:15_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/21/artifact/build-artifacts/03:40:15_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
56.780
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.131
When I log in to a new session without activating the Persistent Storage 32.188
Then Tails is running from USB drive "__internal" 0.737
And persistence is disabled 0.266
But a Tails persistence partition exists on USB drive "__internal" 11.456
After features/support/hooks.rb:330 1.914
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.330
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 without a persistent partition and logged in 11.248
Then Tails is running from USB drive "__internal" 1.431
When I create a file in the Persistent directory 0.111
And I create a persistent partition with the default settings 26.069
Then the file I created was copied to the Persistent Storage 1.973
When I shutdown Tails and wait for the computer to power off 10.829
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.242
Then persistence for "Persistent" is active 0.356
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:330 1.592
After features/support/hooks.rb:100 0.015
Tags: @product
58.840
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 11.075
And the system is very low on memory 3.610
When I create a file in the Persistent directory 1.420
When I try to create a persistent partition 22.694
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.291
When I close the Persistent Storage app 2.516
And I free up some memory 3.338
And I create a persistent partition with the default settings 13.638
Then the file I created was copied to the Persistent Storage 0.254
After features/support/hooks.rb:330 2.408
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.451
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.071
Then Tails is running from USB drive "__internal" 0.609
And all tps features are active 2.348
And all persistent directories have safe access rights 2.514
When I disable the first tps feature 6.115
Then all tps features but the first one are active 2.062
And I shutdown Tails and wait for the computer to power off 13.234
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.013
Then all tps features but the first one are active 2.481
After features/support/hooks.rb:330 1.490
After features/support/hooks.rb:100 0.009
Tags: @product
20.802
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.962
Then persistence for "Persistent" is active 0.142
And I create a file in the Persistent directory 0.335
Then the file I created was copied to the Persistent Storage 0.175
When I disable the first tps feature 6.778
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.123
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.265
After features/support/hooks.rb:100 0.000
Tags: @product
19.758
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.134
Then persistence for "Persistent" is active 0.145
When I create a file in the Persistent directory 0.151
And I disable the first tps feature 6.657
And I delete the data of the Persistent Folder feature 3.611
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:330 1.318
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.229
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.375
And the network is plugged 0.119
And Tor is ready 24.010
And I take note of which tps features are available 0.719
When I write some files expected to persist 1.524
And I shutdown Tails and wait for the computer to power off 8.484
# 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.995
After features/support/hooks.rb:330 0.106
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.271
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.497
And the network is plugged 0.134
And Tor is ready 20.162
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.212
And I shutdown Tails and wait for the computer to power off 9.139
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.765
And I capture all network traffic 0.006
And the network is plugged 0.068
And Tor is ready 19.723
And I switch to the "persistent-con-current" NetworkManager connection 0.357
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.124
After features/support/hooks.rb:330 0.591
After features/support/hooks.rb:100 0.043
Tags: @product
1:1.968
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 without a persistent partition and stopped at Tails Greeter's login screen 14.971
And I enable persistence creation in Tails Greeter 1.587
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.131
Then I create a persistent partition with the default settings using the wizard that was already open 22.279
After features/support/hooks.rb:330 3.663
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.041
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.370
When I enable persistence 38.149
Then no persistent Greeter options were restored 14.072
When I set all Greeter options to non-default values 30.245
And I log in to a new session in German (de) after having activated the Persistent Storage 50.544
Then all Greeter options are set to non-default values 0.286
When I cold reboot the computer 7.520
And the computer reboots Tails 1:1.006
Given I enable persistence 20.431
Then persistent Greeter options were restored 0.509
When I log in to a new session after having activated the Persistent Storage 38.482
Then all Greeter options are set to non-default values 0.419
After features/support/hooks.rb:330 1.835
After features/support/hooks.rb:100 0.008
Tags: @product
3:36.871
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.209
# 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 37.150
And I shutdown Tails and wait for the computer to power off 13.261
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.271
And I change the passphrase of the Persistent Storage back to the original 31.977
After features/support/hooks.rb:330 2.125
After features/support/hooks.rb:100 0.009
Tags: @product
55.664
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.586
And I log in to a new session without activating the Persistent Storage 21.103
Then persistence is disabled 0.316
But a Tails persistence partition exists on USB drive "__internal" 7.283
And all notifications have disappeared 9.174
When I delete the persistent partition 7.390
Then there is no persistence partition on USB drive "__internal" 0.808
After features/support/hooks.rb:330 1.500
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.948
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.572
When I write some dotfile expected to persist 0.161
And I shutdown Tails and wait for the computer to power off 8.634
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.187
Then the expected persistent dotfile is present in the filesystem 0.392
After features/support/hooks.rb:330 1.176
After features/support/hooks.rb:100 0.009
Tags: @product
1:40.010
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.702
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.344
When I try to enable persistence 0.313
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.856
When I log in to a new session after having activated the Persistent Storage 47.740
And all notifications have disappeared 6.490
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.092
And all tps features are enabled 2.378
And all tps features but the first one are active 2.091
After features/support/hooks.rb:330 1.586
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.097
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 3:29.483
And I enable persistence 31.016
And I log in to a new session after having activated the Persistent Storage 46.971
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.202
And persistence is enabled 2.423
After features/support/hooks.rb:330 2.182
After features/support/hooks.rb:100 0.000
Tags: @product
29.015
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 8.157
And I enable persistence but something goes wrong during the LUKS header upgrade 20.072
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.785
After features/support/hooks.rb:330 0.810
After features/support/hooks.rb:100 0.000
Tags: @product
41.117
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.191
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.233
When I enable persistence 24.089
Then the filesystem of the Persistent Storage was repaired 0.078
And persistence is successfully enabled 2.524
After features/support/hooks.rb:330 3.166
After features/support/hooks.rb:100 0.000
Tags: @product
49.395
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 9.078
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.002
When I try to enable persistence 0.434
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.704
When I repair the filesystem of the Persistent Storage 5.892
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.182
And the filesystem of the Persistent Storage was repaired 3.509
When I close the filesystem repair dialog 1.230
Then persistence is successfully enabled 1.360
After features/support/hooks.rb:330 3.222
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.868
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.899
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.276
When I try to enable persistence 0.357
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.312
When I repair the filesystem of the Persistent Storage 2.377
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 47.099
And all notifications have disappeared 7.968
# 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.505
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.397
When I close the "whisperback" window 1.836
Then the Tor Browser starts 15.726
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.039
After features/support/hooks.rb:330 3.727
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.804
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.640
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.095
And Tails detects disk read failures on the boot device 1.644
When I try to enable persistence 0.414
Then the Welcome Screen tells me that my hardware is probably failing 17.507
When I log in to a new session 50.991
And all notifications have disappeared 8.072
Then the Tor Browser starts 19.567
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.870
After features/support/hooks.rb:330 2.182
After features/support/hooks.rb:100 0.000