Project Number Date
test_Tails_ISO_devel 3659 23 Jan 2025, 17:50

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 42:58.538 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:13.146
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:13.146
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 5.141

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:09:59)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3659/artifact/build-artifacts/04:09:59_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3659/artifact/build-artifacts/04:09:59_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3659/artifact/build-artifacts/04:09:59_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3659/artifact/build-artifacts/04:09:59_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
41.343
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 10.173
When I log in to a new session without activating the Persistent Storage 21.648
Then Tails is running from USB drive "__internal" 0.819
And persistence is disabled 0.295
But a Tails persistence partition exists on USB drive "__internal" 8.407
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.945
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 11.277
Then Tails is running from USB drive "__internal" 0.483
When I create a file in the Persistent directory 0.126
And I create a persistent partition with the default settings 23.796
Then the file I created was copied to the Persistent Storage 0.556
When I shutdown Tails and wait for the computer to power off 12.570
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.179
Then persistence for "Persistent" is active 0.879
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 1.473
After features/support/hooks.rb:100 0.005
Tags: @product
58.501
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 10.403
And the system is very low on memory 3.053
When I create a file in the Persistent directory 0.976
When I try to create a persistent partition 25.198
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.473
When I close the Persistent Storage app 2.640
And I free up some memory 3.129
And I create a persistent partition with the default settings 12.389
Then the file I created was copied to the Persistent Storage 0.237
After features/support/hooks.rb:326 1.565
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.937
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 12.822
Then Tails is running from USB drive "__internal" 1.807
And all tps features are active 2.321
And all persistent directories have safe access rights 2.612
When I disable the first tps feature 7.638
Then all tps features but the first one are active 2.120
And I shutdown Tails and wait for the computer to power off 12.568
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.838
Then all tps features but the first one are active 2.206
After features/support/hooks.rb:326 0.577
After features/support/hooks.rb:100 0.006
Tags: @product
24.474
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.252
Then persistence for "Persistent" is active 0.118
And I create a file in the Persistent directory 0.963
Then the file I created was copied to the Persistent Storage 0.067
When I disable the first tps feature 7.472
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.054
When I enable the first tps feature 4.263
Then persistence for "Persistent" is active 0.120
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.954
After features/support/hooks.rb:100 0.000
Tags: @product
22.789
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.538
Then persistence for "Persistent" is active 0.664
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 7.740
And I delete the data of the Persistent Folder feature 3.710
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 1.097
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.403
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.247
And the network is plugged 0.109
And Tor is ready 22.416
And I take note of which tps features are available 0.657
When I write some files expected to persist 2.272
And I shutdown Tails and wait for the computer to power off 8.318
# 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.383
After features/support/hooks.rb:326 0.122
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.585
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.628
And the network is plugged 0.253
And Tor is ready 21.777
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.224
And I shutdown Tails and wait for the computer to power off 8.574
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.731
And I capture all network traffic 0.004
And the network is plugged 0.100
And Tor is ready 21.526
And I switch to the "persistent-con-current" NetworkManager connection 0.428
And the 1st network device has a spoofed MAC address configured 0.209
And no network device leaked the real MAC address 0.125
After features/support/hooks.rb:326 0.817
After features/support/hooks.rb:100 0.048
Tags: @product
53.540
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 12.389
And I enable persistence creation in Tails Greeter 1.095
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.415
Then I create a persistent partition with the default settings using the wizard that was already open 20.640
After features/support/hooks.rb:326 1.494
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.455
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.161
When I enable persistence 33.148
Then no persistent Greeter options were restored 14.135
When I set all Greeter options to non-default values 30.680
And I log in to a new session in German (de) after having activated the Persistent Storage 49.812
Then all Greeter options are set to non-default values 0.351
When I cold reboot the computer 5.868
And the computer reboots Tails 1:1.721
Given I enable persistence 17.774
Then persistent Greeter options were restored 0.555
When I log in to a new session after having activated the Persistent Storage 37.741
Then all Greeter options are set to non-default values 0.503
After features/support/hooks.rb:326 1.226
After features/support/hooks.rb:100 0.006
Tags: @product
3:33.681
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.102
# 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 35.868
And I shutdown Tails and wait for the computer to power off 12.205
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.571
And I change the passphrase of the Persistent Storage back to the original 33.934
After features/support/hooks.rb:326 1.580
After features/support/hooks.rb:100 0.006
Tags: @product
56.594
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.464
And I log in to a new session without activating the Persistent Storage 19.913
Then persistence is disabled 0.546
But a Tails persistence partition exists on USB drive "__internal" 9.346
And all notifications have disappeared 10.823
When I delete the persistent partition 6.064
Then there is no persistence partition on USB drive "__internal" 0.436
After features/support/hooks.rb:326 0.823
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.238
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 10.452
When I write some dotfile expected to persist 0.053
And I shutdown Tails and wait for the computer to power off 8.594
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.786
Then the expected persistent dotfile is present in the filesystem 0.351
After features/support/hooks.rb:326 0.932
After features/support/hooks.rb:100 0.005
Tags: @product
1:35.705
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.077
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.068
When I try to enable persistence 0.254
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.348
When I log in to a new session after having activated the Persistent Storage 40.269
And all notifications have disappeared 8.935
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.170
And all tps features are enabled 2.370
And all tps features but the first one are active 2.210
After features/support/hooks.rb:326 1.040
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.401
Before features/support/hooks.rb:269 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:23.363
And I enable persistence 39.644
And I log in to a new session after having activated the Persistent Storage 46.927
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.780
And persistence is enabled 3.685
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.000
Tags: @product
28.309
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.458
And I enable persistence but something goes wrong during the LUKS header upgrade 19.070
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.780
After features/support/hooks.rb:326 0.709
After features/support/hooks.rb:100 0.000
Tags: @product
48.895
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 9.062
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.903
When I enable persistence 30.539
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 3.303
After features/support/hooks.rb:326 2.057
After features/support/hooks.rb:100 0.000
Tags: @product
44.382
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.649
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.625
When I try to enable persistence 0.415
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.416
When I repair the filesystem of the Persistent Storage 1.262
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.985
And the filesystem of the Persistent Storage was repaired 1.300
When I close the filesystem repair dialog 1.361
Then persistence is successfully enabled 1.365
After features/support/hooks.rb:326 0.771
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:37.185
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.819
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.097
When I try to enable persistence 0.253
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.985
When I repair the filesystem of the Persistent Storage 1.238
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 33.290
And all notifications have disappeared 7.301
# 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.693
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.227
When I close the "whisperback" window 1.763
Then the Tor Browser starts 13.461
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.975
After features/support/hooks.rb:326 2.318
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:45.017
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.279
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.749
And Tails detects disk read failures on the boot device 1.594
When I try to enable persistence 0.528
Then the Welcome Screen tells me that my hardware is probably failing 18.132
When I log in to a new session 45.776
And all notifications have disappeared 8.660
Then the Tor Browser starts 15.544
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.752
After features/support/hooks.rb:326 2.745
After features/support/hooks.rb:100 0.000