Project Number Date
test_Tails_ISO_devel 3643 10 Jan 2025, 17:52

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 45:43.738 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:20.915
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:20.915
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/common_steps.rb:708:in `/^available upgrades have been checked$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:326 4.989

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:08:52)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3643/artifact/build-artifacts/04:08:52_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3643/artifact/build-artifacts/04:08:52_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3643/artifact/build-artifacts/04:08:52_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3643/artifact/build-artifacts/04:08:52_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
49.494
Before features/support/hooks.rb:269 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 11.066
When I log in to a new session without activating the Persistent Storage 26.481
Then Tails is running from USB drive "__internal" 0.609
And persistence is disabled 0.426
But a Tails persistence partition exists on USB drive "__internal" 10.910
After features/support/hooks.rb:326 1.117
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.272
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 17.317
Then Tails is running from USB drive "__internal" 0.565
When I create a file in the Persistent directory 0.174
And I create a persistent partition with the default settings 24.491
Then the file I created was copied to the Persistent Storage 0.666
When I shutdown Tails and wait for the computer to power off 15.030
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.529
Then persistence for "Persistent" is active 0.405
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 1.117
After features/support/hooks.rb:100 0.007
Tags: @product
1:5.594
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.762
And the system is very low on memory 6.348
When I create a file in the Persistent directory 1.376
When I try to create a persistent partition 25.098
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.153
When I close the Persistent Storage app 2.735
And I free up some memory 1.999
And I create a persistent partition with the default settings 13.825
Then the file I created was copied to the Persistent Storage 0.294
After features/support/hooks.rb:326 1.502
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.195
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.935
Then Tails is running from USB drive "__internal" 0.850
And all tps features are active 2.553
And all persistent directories have safe access rights 2.571
When I disable the first tps feature 6.740
Then all tps features but the first one are active 2.252
And I shutdown Tails and wait for the computer to power off 15.380
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.685
Then all tps features but the first one are active 2.225
After features/support/hooks.rb:326 0.597
After features/support/hooks.rb:100 0.024
Tags: @product
21.760
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.115
Then persistence for "Persistent" is active 0.116
And I create a file in the Persistent directory 0.482
Then the file I created was copied to the Persistent Storage 0.073
When I disable the first tps feature 6.200
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.496
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.000
Tags: @product
21.117
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.344
Then persistence for "Persistent" is active 0.089
When I create a file in the Persistent directory 0.481
And I disable the first tps feature 6.040
And I delete the data of the Persistent Folder feature 4.065
Then the file I created does not exist on the Persistent Storage 0.094
After features/support/hooks.rb:326 1.232
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.031
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.763
And the network is plugged 0.069
And Tor is ready 25.694
And I take note of which tps features are available 0.729
When I write some files expected to persist 1.835
And I shutdown Tails and wait for the computer to power off 11.141
# 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.796
After features/support/hooks.rb:326 0.143
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.432
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.148
And the network is plugged 0.074
And Tor is ready 24.933
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.218
And I shutdown Tails and wait for the computer to power off 10.745
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.722
And I capture all network traffic 0.004
And the network is plugged 0.080
And Tor is ready 47.864
And I switch to the "persistent-con-current" NetworkManager connection 0.393
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:326 0.580
After features/support/hooks.rb:100 0.077
Tags: @product
1:0.419
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.842
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.759
Then I create a persistent partition with the default settings using the wizard that was already open 22.702
After features/support/hooks.rb:326 2.053
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.903
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.913
When I enable persistence 47.234
Then no persistent Greeter options were restored 14.664
When I set all Greeter options to non-default values 25.649
And I log in to a new session in German (de) after having activated the Persistent Storage 45.607
Then all Greeter options are set to non-default values 0.705
When I cold reboot the computer 9.510
And the computer reboots Tails 1:3.672
Given I enable persistence 18.541
Then persistent Greeter options were restored 0.604
When I log in to a new session after having activated the Persistent Storage 39.440
Then all Greeter options are set to non-default values 0.357
After features/support/hooks.rb:326 1.000
After features/support/hooks.rb:100 0.007
Tags: @product
3:55.496
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.220
# 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 39.259
And I shutdown Tails and wait for the computer to power off 12.492
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.162
And I change the passphrase of the Persistent Storage back to the original 42.361
After features/support/hooks.rb:326 1.470
After features/support/hooks.rb:100 0.006
Tags: @product
52.562
Before features/support/hooks.rb:269 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 9.309
And I log in to a new session without activating the Persistent Storage 20.411
Then persistence is disabled 0.272
But a Tails persistence partition exists on USB drive "__internal" 7.403
And all notifications have disappeared 8.310
When I delete the persistent partition 6.401
Then there is no persistence partition on USB drive "__internal" 0.452
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.790
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.078
When I write some dotfile expected to persist 0.080
And I shutdown Tails and wait for the computer to power off 9.010
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.133
Then the expected persistent dotfile is present in the filesystem 0.487
After features/support/hooks.rb:326 1.027
After features/support/hooks.rb:100 0.007
Tags: @product
1:32.517
Before features/support/hooks.rb:269 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.285
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.109
When I try to enable persistence 0.297
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.269
When I log in to a new session after having activated the Persistent Storage 34.569
And all notifications have disappeared 8.270
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.907
And all tps features are enabled 2.319
And all tps features but the first one are active 2.488
After features/support/hooks.rb:326 3.233
After features/support/hooks.rb:100 0.000
Tags: @product
5:35.825
Before features/support/hooks.rb:269 0.003
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:0.472
And I enable persistence 39.858
And I log in to a new session after having activated the Persistent Storage 48.715
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.417
And persistence is enabled 3.361
After features/support/hooks.rb:326 1.364
After features/support/hooks.rb:100 0.000
Tags: @product
32.349
Before features/support/hooks.rb:269 0.003
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.996
And I enable persistence but something goes wrong during the LUKS header upgrade 22.514
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.839
After features/support/hooks.rb:326 1.286
After features/support/hooks.rb:100 0.000
Tags: @product
53.155
Before features/support/hooks.rb:269 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.215
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.622
When I enable persistence 33.512
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.720
After features/support/hooks.rb:326 1.121
After features/support/hooks.rb:100 0.000
Tags: @product
29.630
Before features/support/hooks.rb:269 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 8.798
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.062
When I try to enable persistence 0.433
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.703
When I repair the filesystem of the Persistent Storage 1.237
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.260
And the filesystem of the Persistent Storage was repaired 0.338
When I close the filesystem repair dialog 1.257
Then persistence is successfully enabled 1.538
After features/support/hooks.rb:326 1.254
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.194
Before features/support/hooks.rb:269 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 8.783
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.281
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.935
When I repair the filesystem of the Persistent Storage 1.335
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 41.076
And all notifications have disappeared 11.232
# 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.823
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.626
When I close the "whisperback" window 1.885
Then the Tor Browser starts 17.131
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.873
After features/support/hooks.rb:326 2.400
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.079
Before features/support/hooks.rb:269 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.175
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.024
And Tails detects disk read failures on the boot device 1.600
When I try to enable persistence 1.444
Then the Welcome Screen tells me that my hardware is probably failing 6.404
When I log in to a new session 20.041
And all notifications have disappeared 7.651
Then the Tor Browser starts 19.859
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.877
After features/support/hooks.rb:326 1.465
After features/support/hooks.rb:100 0.000