Project Number Date
test_Tails_ISO_devel 3661 25 Jan 2025, 17:36

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

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:10:26)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3661/artifact/build-artifacts/04:10:26_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3661/artifact/build-artifacts/04:10:26_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3661/artifact/build-artifacts/04:10:26_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3661/artifact/build-artifacts/04:10:26_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
42.680
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 10.271
When I log in to a new session without activating the Persistent Storage 21.620
Then Tails is running from USB drive "__internal" 0.548
And persistence is disabled 0.443
But a Tails persistence partition exists on USB drive "__internal" 9.795
After features/support/hooks.rb:326 1.258
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.989
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.687
Then Tails is running from USB drive "__internal" 0.442
When I create a file in the Persistent directory 0.203
And I create a persistent partition with the default settings 23.675
Then the file I created was copied to the Persistent Storage 0.636
When I shutdown Tails and wait for the computer to power off 12.374
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.478
Then persistence for "Persistent" is active 0.427
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 0.940
After features/support/hooks.rb:100 0.006
Tags: @product
1:4.354
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 10.623
And the system is very low on memory 3.729
When I create a file in the Persistent directory 1.306
When I try to create a persistent partition 29.537
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.275
When I close the Persistent Storage app 2.837
And I free up some memory 1.463
And I create a persistent partition with the default settings 14.289
Then the file I created was copied to the Persistent Storage 0.291
After features/support/hooks.rb:326 1.852
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.000
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.166
Then Tails is running from USB drive "__internal" 0.929
And all tps features are active 2.791
And all persistent directories have safe access rights 2.509
When I disable the first tps feature 7.616
Then all tps features but the first one are active 2.088
And I shutdown Tails and wait for the computer to power off 14.891
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.839
Then all tps features but the first one are active 2.168
After features/support/hooks.rb:326 0.717
After features/support/hooks.rb:100 0.007
Tags: @product
19.825
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.231
Then persistence for "Persistent" is active 0.137
And I create a file in the Persistent directory 0.064
Then the file I created was copied to the Persistent Storage 0.065
When I disable the first tps feature 5.840
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.186
Then persistence for "Persistent" is active 0.118
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.000
Tags: @product
19.552
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 9.704
Then persistence for "Persistent" is active 0.133
When I create a file in the Persistent directory 0.113
And I disable the first tps feature 5.754
And I delete the data of the Persistent Folder feature 3.756
Then the file I created does not exist on the Persistent Storage 0.089
After features/support/hooks.rb:326 0.927
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.105
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 9.486
And the network is plugged 0.092
And Tor is ready 18.040
And I take note of which tps features are available 0.731
When I write some files expected to persist 2.313
And I shutdown Tails and wait for the computer to power off 10.499
# 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" 23.940
After features/support/hooks.rb:326 0.090
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.279
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 9.666
And the network is plugged 0.105
And Tor is ready 15.725
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.196
And I shutdown Tails and wait for the computer to power off 8.481
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.212
And I capture all network traffic 0.004
And the network is plugged 0.077
And Tor is ready 20.020
And I switch to the "persistent-con-current" NetworkManager connection 0.552
And the 1st network device has a spoofed MAC address configured 0.122
And no network device leaked the real MAC address 0.112
After features/support/hooks.rb:326 0.665
After features/support/hooks.rb:100 0.038
Tags: @product
57.668
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.118
And I enable persistence creation in Tails Greeter 1.118
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.692
Then I create a persistent partition with the default settings using the wizard that was already open 22.738
After features/support/hooks.rb:326 1.367
After features/support/hooks.rb:100 0.000
Tags: @product
4:12.173
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 10.839
When I enable persistence 33.649
Then no persistent Greeter options were restored 14.160
When I set all Greeter options to non-default values 23.887
And I log in to a new session in German (de) after having activated the Persistent Storage 44.144
Then all Greeter options are set to non-default values 0.531
When I cold reboot the computer 7.190
And the computer reboots Tails 56.341
Given I enable persistence 18.668
Then persistent Greeter options were restored 0.552
When I log in to a new session after having activated the Persistent Storage 41.704
Then all Greeter options are set to non-default values 0.502
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.007
Tags: @product
3:39.130
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.013
# 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 33.917
And I shutdown Tails and wait for the computer to power off 12.600
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.130
And I change the passphrase of the Persistent Storage back to the original 35.468
After features/support/hooks.rb:326 2.189
After features/support/hooks.rb:100 0.006
Tags: @product
55.180
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 9.292
And I log in to a new session without activating the Persistent Storage 18.727
Then persistence is disabled 0.372
But a Tails persistence partition exists on USB drive "__internal" 9.320
And all notifications have disappeared 10.973
When I delete the persistent partition 6.026
Then there is no persistence partition on USB drive "__internal" 0.466
After features/support/hooks.rb:326 0.991
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.514
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 9.542
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 8.632
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.928
Then the expected persistent dotfile is present in the filesystem 0.334
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.006
Tags: @product
1:34.474
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.107
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.269
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.962
When I log in to a new session after having activated the Persistent Storage 41.281
And all notifications have disappeared 8.479
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.003
And all tps features are enabled 2.144
And all tps features but the first one are active 2.134
After features/support/hooks.rb:326 1.847
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.131
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 3:25.867
And I enable persistence 30.541
And I log in to a new session after having activated the Persistent Storage 41.872
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.011
And persistence is enabled 4.838
After features/support/hooks.rb:326 1.217
After features/support/hooks.rb:100 0.000
Tags: @product
28.373
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.863
And I enable persistence but something goes wrong during the LUKS header upgrade 18.722
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.787
After features/support/hooks.rb:326 0.951
After features/support/hooks.rb:100 0.000
Tags: @product
44.223
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.308
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.754
When I enable persistence 27.531
Then the filesystem of the Persistent Storage was repaired 0.077
And persistence is successfully enabled 2.550
After features/support/hooks.rb:326 0.892
After features/support/hooks.rb:100 0.000
Tags: @product
45.151
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.748
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.658
When I try to enable persistence 0.422
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.419
When I repair the filesystem of the Persistent Storage 1.276
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.798
And the filesystem of the Persistent Storage was repaired 0.926
When I close the filesystem repair dialog 1.439
Then persistence is successfully enabled 1.460
After features/support/hooks.rb:326 1.675
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:45.106
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.236
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.121
When I try to enable persistence 0.261
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.463
When I repair the filesystem of the Persistent Storage 1.245
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 36.838
And all notifications have disappeared 8.276
# 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.555
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.260
When I close the "whisperback" window 1.754
Then the Tor Browser starts 20.007
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.013
After features/support/hooks.rb:326 2.892
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.309
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.109
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.829
And Tails detects disk read failures on the boot device 0.555
When I try to enable persistence 0.403
Then the Welcome Screen tells me that my hardware is probably failing 17.250
When I log in to a new session 47.028
And all notifications have disappeared 7.234
Then the Tor Browser starts 18.167
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.732
After features/support/hooks.rb:326 1.966
After features/support/hooks.rb:100 0.000