Project Number Date
test_Tails_ISO_devel 3682 04 Feb 2025, 17:56

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

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

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

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

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

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

After features/support/hooks.rb:100 0.000
Tags: @product
54.971
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 12.280
When I log in to a new session without activating the Persistent Storage 28.898
Then Tails is running from USB drive "__internal" 0.886
And persistence is disabled 0.466
But a Tails persistence partition exists on USB drive "__internal" 12.438
After features/support/hooks.rb:326 1.728
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.231
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 12.065
Then Tails is running from USB drive "__internal" 0.352
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 23.940
Then the file I created was copied to the Persistent Storage 0.656
When I shutdown Tails and wait for the computer to power off 12.423
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.223
Then persistence for "Persistent" is active 0.371
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 1.666
After features/support/hooks.rb:100 0.005
Tags: @product
1:14.608
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 12.048
And the system is very low on memory 7.782
When I create a file in the Persistent directory 2.195
When I try to create a persistent partition 34.312
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.434
When I close the Persistent Storage app 2.736
And I free up some memory 1.680
And I create a persistent partition with the default settings 13.158
Then the file I created was copied to the Persistent Storage 0.259
After features/support/hooks.rb:326 1.372
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.456
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.274
Then Tails is running from USB drive "__internal" 0.945
And all tps features are active 2.248
And all persistent directories have safe access rights 2.330
When I disable the first tps feature 7.184
Then all tps features but the first one are active 2.159
And I shutdown Tails and wait for the computer to power off 13.060
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.954
Then all tps features but the first one are active 2.298
After features/support/hooks.rb:326 1.227
After features/support/hooks.rb:100 0.006
Tags: @product
22.339
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.938
Then persistence for "Persistent" is active 0.089
And I create a file in the Persistent directory 0.654
Then the file I created was copied to the Persistent Storage 0.063
When I disable the first tps feature 6.596
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.695
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.922
After features/support/hooks.rb:100 0.000
Tags: @product
21.645
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.866
Then persistence for "Persistent" is active 0.077
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 6.987
And I delete the data of the Persistent Folder feature 3.573
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.050
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.248
And the network is plugged 0.166
And Tor is ready 21.803
And I take note of which tps features are available 0.680
When I write some files expected to persist 1.834
And I shutdown Tails and wait for the computer to power off 8.766
# 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.550
After features/support/hooks.rb:326 0.172
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.779
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.392
And the network is plugged 0.084
And Tor is ready 18.206
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 8.369
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.916
And I capture all network traffic 0.004
And the network is plugged 0.071
And Tor is ready 20.789
And I switch to the "persistent-con-current" NetworkManager connection 0.489
And the 1st network device has a spoofed MAC address configured 0.121
And no network device leaked the real MAC address 0.132
After features/support/hooks.rb:326 0.822
After features/support/hooks.rb:100 0.037
Tags: @product
54.249
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 11.279
And I enable persistence creation in Tails Greeter 1.113
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.170
Then I create a persistent partition with the default settings using the wizard that was already open 22.685
After features/support/hooks.rb:326 1.283
After features/support/hooks.rb:100 0.000
Tags: @product
4:22.327
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.933
When I enable persistence 38.529
Then no persistent Greeter options were restored 14.107
When I set all Greeter options to non-default values 26.104
And I log in to a new session in German (de) after having activated the Persistent Storage 44.351
Then all Greeter options are set to non-default values 0.630
When I cold reboot the computer 9.321
And the computer reboots Tails 59.178
Given I enable persistence 18.547
Then persistent Greeter options were restored 0.483
When I log in to a new session after having activated the Persistent Storage 36.568
Then all Greeter options are set to non-default values 0.570
After features/support/hooks.rb:326 1.262
After features/support/hooks.rb:100 0.025
Tags: @product
3:48.996
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.680
# 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 36.385
And I shutdown Tails and wait for the computer to power off 12.422
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.344
And I change the passphrase of the Persistent Storage back to the original 35.163
After features/support/hooks.rb:326 1.198
After features/support/hooks.rb:100 0.006
Tags: @product
56.051
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.872
And I log in to a new session without activating the Persistent Storage 19.752
Then persistence is disabled 0.414
But a Tails persistence partition exists on USB drive "__internal" 9.697
And all notifications have disappeared 9.995
When I delete the persistent partition 5.887
Then there is no persistence partition on USB drive "__internal" 0.430
After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.750
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 12.316
When I write some dotfile expected to persist 0.090
And I shutdown Tails and wait for the computer to power off 8.737
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.266
Then the expected persistent dotfile is present in the filesystem 0.339
After features/support/hooks.rb:326 1.143
After features/support/hooks.rb:100 0.006
Tags: @product
1:36.626
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.442
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.434
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.727
When I log in to a new session after having activated the Persistent Storage 34.234
And all notifications have disappeared 8.117
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.942
And all tps features are enabled 2.233
And all tps features but the first one are active 2.398
After features/support/hooks.rb:326 1.102
After features/support/hooks.rb:100 0.000
Tags: @product
7:1.560
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 5:35.541
And I enable persistence 33.952
And I log in to a new session after having activated the Persistent Storage 47.616
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.204
And persistence is enabled 3.245
After features/support/hooks.rb:326 0.862
After features/support/hooks.rb:100 0.000
Tags: @product
35.894
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 9.450
And I enable persistence but something goes wrong during the LUKS header upgrade 25.610
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.833
After features/support/hooks.rb:326 0.825
After features/support/hooks.rb:100 0.000
Tags: @product
57.580
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.589
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.048
When I enable persistence 38.680
Then the filesystem of the Persistent Storage was repaired 0.112
And persistence is successfully enabled 3.148
After features/support/hooks.rb:326 1.517
After features/support/hooks.rb:100 0.000
Tags: @product
53.176
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.480
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.677
When I try to enable persistence 0.380
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.570
When I repair the filesystem of the Persistent Storage 2.522
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.374
And the filesystem of the Persistent Storage was repaired 1.540
When I close the filesystem repair dialog 1.967
Then persistence is successfully enabled 1.664
After features/support/hooks.rb:326 1.505
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.284
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 8.855
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.376
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.619
When I repair the filesystem of the Persistent Storage 1.302
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 42.426
And all notifications have disappeared 11.409
# 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.487
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.562
When I close the "whisperback" window 1.342
Then the Tor Browser starts 12.566
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.146
After features/support/hooks.rb:326 1.914
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.543
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.161
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.163
And Tails detects disk read failures on the boot device 1.705
When I try to enable persistence 0.383
Then the Welcome Screen tells me that my hardware is probably failing 21.456
When I log in to a new session 47.601
And all notifications have disappeared 8.568
Then the Tor Browser starts 19.757
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.746
After features/support/hooks.rb:326 1.474
After features/support/hooks.rb:100 0.000