Project Number Date
test_Tails_ISO_18215-update-chutney-force-all-tests 16 29 Mar 2025, 14:09

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

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:51:05)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_18215-update-chutney-force-all-tests/16/artifact/build-artifacts/04:51:05_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_18215-update-chutney-force-all-tests/16/artifact/build-artifacts/04:51:05_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_18215-update-chutney-force-all-tests/16/artifact/build-artifacts/04:51:05_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
57.540
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 14.048
When I log in to a new session without activating the Persistent Storage 25.087
Then Tails is running from USB drive "__internal" 0.699
And persistence is disabled 0.646
But a Tails persistence partition exists on USB drive "__internal" 17.058
After features/support/hooks.rb:330 1.887
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.391
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 16.002
Then Tails is running from USB drive "__internal" 0.686
When I create a file in the Persistent directory 0.215
And I create a persistent partition with the default settings 26.809
Then the file I created was copied to the Persistent Storage 2.437
When I shutdown Tails and wait for the computer to power off 15.725
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.005
Then persistence for "Persistent" is active 0.399
And the file I created in the Persistent directory exists 0.108
After features/support/hooks.rb:330 2.591
After features/support/hooks.rb:100 0.011
Tags: @product
1:6.734
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 13.576
And the system is very low on memory 3.773
When I create a file in the Persistent directory 3.726
When I try to create a persistent partition 25.678
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.156
When I close the Persistent Storage app 2.595
And I free up some memory 3.076
And I create a persistent partition with the default settings 13.833
Then the file I created was copied to the Persistent Storage 0.317
After features/support/hooks.rb:330 2.454
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.813
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 16.616
Then Tails is running from USB drive "__internal" 0.592
And all tps features are active 2.718
And all persistent directories have safe access rights 2.777
When I disable the first tps feature 6.430
Then all tps features but the first one are active 2.667
And I shutdown Tails and wait for the computer to power off 14.602
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.873
Then all tps features but the first one are active 2.534
After features/support/hooks.rb:330 1.825
After features/support/hooks.rb:100 0.019
Tags: @product
23.217
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 11.767
Then persistence for "Persistent" is active 0.134
And I create a file in the Persistent directory 0.136
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 6.953
Then persistence for "Persistent" is not active 0.101
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.867
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:330 1.326
After features/support/hooks.rb:100 0.000
Tags: @product
35.791
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 24.911
Then persistence for "Persistent" is active 0.101
When I create a file in the Persistent directory 0.126
And I disable the first tps feature 6.560
And I delete the data of the Persistent Folder feature 4.033
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:330 1.110
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.192
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 9.907
And the network is plugged 0.070
And Tor is ready 22.745
And I take note of which tps features are available 0.769
When I write some files expected to persist 2.158
And I shutdown Tails and wait for the computer to power off 9.066
# 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" 29.474
After features/support/hooks.rb:330 0.160
After features/support/hooks.rb:100 0.003
Tags: @product
3:31.622
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.035
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.781
And the network is plugged 0.077
And Tor is ready 18.505
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.248
And I shutdown Tails and wait for the computer to power off 11.693
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.004
And I capture all network traffic 0.010
And the network is plugged 0.085
And Tor is ready 21.615
And I switch to the "persistent-con-current" NetworkManager connection 0.367
And the 1st network device has a spoofed MAC address configured 0.097
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:330 0.637
After features/support/hooks.rb:100 0.067
Tags: @product
1:10.995
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 stopped at Tails Greeter's login screen 13.670
And I enable persistence creation in Tails Greeter 1.237
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.769
Then I create a persistent partition with the default settings using the wizard that was already open 30.318
After features/support/hooks.rb:330 3.579
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.892
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.034
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.124
When I enable persistence 47.186
Then no persistent Greeter options were restored 15.105
When I set all Greeter options to non-default values 28.324
And I log in to a new session in German (de) after having activated the Persistent Storage 49.465
Then all Greeter options are set to non-default values 0.396
When I cold reboot the computer 7.715
And the computer reboots Tails 1:10.797
Given I enable persistence 25.514
Then persistent Greeter options were restored 0.531
When I log in to a new session after having activated the Persistent Storage 45.343
Then all Greeter options are set to non-default values 0.386
After features/support/hooks.rb:330 1.671
After features/support/hooks.rb:100 0.012
Tags: @product
4:27.471
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.321
# 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 47.209
And I shutdown Tails and wait for the computer to power off 13.662
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.630
And I change the passphrase of the Persistent Storage back to the original 45.647
After features/support/hooks.rb:330 2.984
After features/support/hooks.rb:100 0.011
Tags: @product
1:8.540
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 12.500
And I log in to a new session without activating the Persistent Storage 23.961
Then persistence is disabled 0.455
But a Tails persistence partition exists on USB drive "__internal" 11.273
And all notifications have disappeared 12.665
When I delete the persistent partition 6.842
Then there is no persistence partition on USB drive "__internal" 0.841
After features/support/hooks.rb:330 1.468
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.997
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 13.253
When I write some dotfile expected to persist 0.305
And I shutdown Tails and wait for the computer to power off 9.415
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.497
Then the expected persistent dotfile is present in the filesystem 0.527
After features/support/hooks.rb:330 1.708
After features/support/hooks.rb:100 0.062
Tags: @product
1:51.301
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.112
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.182
When I try to enable persistence 0.304
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.440
When I log in to a new session after having activated the Persistent Storage 45.852
And all notifications have disappeared 7.926
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.065
And all tps features are enabled 3.123
And all tps features but the first one are active 2.294
After features/support/hooks.rb:330 2.129
After features/support/hooks.rb:100 0.000
Tags: @product
6:32.772
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 4:55.856
And I enable persistence 45.172
And I log in to a new session after having activated the Persistent Storage 44.766
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.071
And persistence is enabled 2.903
After features/support/hooks.rb:330 1.399
After features/support/hooks.rb:100 0.000
Tags: @product
33.080
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 10.495
And I enable persistence but something goes wrong during the LUKS header upgrade 21.746
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.839
After features/support/hooks.rb:330 1.127
After features/support/hooks.rb:100 0.000
Tags: @product
51.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 and stopped at Tails Greeter's login screen 9.443
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.802
When I enable persistence 31.576
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 3.307
After features/support/hooks.rb:330 2.573
After features/support/hooks.rb:100 0.000
Tags: @product
58.229
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.775
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.826
When I try to enable persistence 0.588
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.736
When I repair the filesystem of the Persistent Storage 1.286
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.868
And the filesystem of the Persistent Storage was repaired 5.122
When I close the filesystem repair dialog 1.281
Then persistence is successfully enabled 1.744
After features/support/hooks.rb:330 2.746
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.448
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 10.753
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.676
When I try to enable persistence 0.467
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.818
When I repair the filesystem of the Persistent Storage 2.276
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 48.718
And all notifications have disappeared 10.543
# 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.572
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.636
When I close the "whisperback" window 1.509
Then the Tor Browser starts 12.666
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.729
After features/support/hooks.rb:330 2.530
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.560
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.009
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.885
And Tails detects disk read failures on the boot device 1.654
When I try to enable persistence 0.472
Then the Welcome Screen tells me that my hardware is probably failing 21.175
When I log in to a new session 53.132
And all notifications have disappeared 8.753
Then the Tor Browser starts 19.579
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.896
After features/support/hooks.rb:330 2.209
After features/support/hooks.rb:100 0.000