Project Number Date
test_Tails_ISO_stable 5192 17 Oct 2024, 15:08

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 40:27.929 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
52.126
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 52.126
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:89:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:137: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.922

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 02:49:52)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5192/artifact/build-artifacts/02:49:52_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5192/artifact/build-artifacts/02:49:52_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5192/artifact/build-artifacts/02:49:52_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5192/artifact/build-artifacts/02:49:52_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
45.724
Before features/support/hooks.rb:269 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 11.794
When I log in to a new session without activating the Persistent Storage 23.511
Then Tails is running from USB drive "__internal" 0.600
And persistence is disabled 0.332
But a Tails persistence partition exists on USB drive "__internal" 9.484
After features/support/hooks.rb:326 1.375
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.272
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.525
Then Tails is running from USB drive "__internal" 0.469
When I create a file in the Persistent directory 0.154
And I create a persistent partition with the default settings 22.903
Then the file I created was copied to the Persistent Storage 0.694
When I shutdown Tails and wait for the computer to power off 14.798
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.220
Then persistence for "Persistent" is active 0.353
And the file I created in the Persistent directory exists 0.153
After features/support/hooks.rb:326 1.028
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.069
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.045
And the system is very low on memory 5.385
When I create a file in the Persistent directory 1.309
When I try to create a persistent partition 26.634
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.197
When I close the Persistent Storage app 2.658
And I free up some memory 1.604
And I create a persistent partition with the default settings 12.775
Then the file I created was copied to the Persistent Storage 0.457
After features/support/hooks.rb:326 1.335
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.675
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.661
Then Tails is running from USB drive "__internal" 0.428
And all tps features are active 2.277
And all persistent directories have safe access rights 2.479
When I disable the first tps feature 5.589
Then all tps features but the first one are active 2.032
And I shutdown Tails and wait for the computer to power off 10.936
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.026
Then all tps features but the first one are active 2.243
After features/support/hooks.rb:326 0.816
After features/support/hooks.rb:100 0.009
Tags: @product
33.115
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 23.138
Then persistence for "Persistent" is active 0.193
And I create a file in the Persistent directory 0.172
Then the file I created was copied to the Persistent Storage 0.098
When I disable the first tps feature 6.091
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.124
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.740
After features/support/hooks.rb:100 0.000
Tags: @product
20.272
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.437
Then persistence for "Persistent" is active 0.079
When I create a file in the Persistent directory 0.109
And I disable the first tps feature 6.933
And I delete the data of the Persistent Folder feature 3.651
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 0.771
After features/support/hooks.rb:100 0.000
Tags: @product
59.241
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 9.290
And the network is plugged 0.083
And Tor is ready 15.155
And I take note of which tps features are available 0.638
When I write some files expected to persist 1.592
And I shutdown Tails and wait for the computer to power off 8.193
# 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.286
After features/support/hooks.rb:326 0.146
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.162
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.334
And the network is plugged 0.081
And Tor is ready 53.771
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.205
And I shutdown Tails and wait for the computer to power off 8.448
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.641
And I capture all network traffic 0.007
And the network is plugged 0.424
And Tor is ready 19.674
And I switch to the "persistent-con-current" NetworkManager connection 0.335
And the 1st network device has a spoofed MAC address configured 0.104
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:326 0.669
After features/support/hooks.rb:100 0.059
Tags: @product
1:32.799
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 46.271
And I enable persistence creation in Tails Greeter 1.309
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.810
Then I create a persistent partition with the default settings using the wizard that was already open 21.408
After features/support/hooks.rb:326 1.847
After features/support/hooks.rb:100 0.000
Tags: @product
5:23.651
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 32.623
When I enable persistence 39.326
Then no persistent Greeter options were restored 14.636
When I set all Greeter options to non-default values 26.089
And I log in to a new session in German (de) after having activated the Persistent Storage 53.800
Then all Greeter options are set to non-default values 0.309
When I cold reboot the computer 7.331
And the computer reboots Tails 1:1.878
Given I enable persistence 32.823
Then persistent Greeter options were restored 14.759
When I log in to a new session after having activated the Persistent Storage 39.482
Then all Greeter options are set to non-default values 0.590
After features/support/hooks.rb:326 1.483
After features/support/hooks.rb:100 0.008
Tags: @product
4:8.877
Before features/support/hooks.rb:269 0.005
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.062
And I shutdown Tails and wait for the computer to power off 12.725
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.229
And I change the passphrase of the Persistent Storage back to the original 47.639
After features/support/hooks.rb:326 1.363
After features/support/hooks.rb:100 0.017
Tags: @product
1:8.654
Before features/support/hooks.rb:269 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.463
And I log in to a new session without activating the Persistent Storage 22.838
Then persistence is disabled 0.525
But a Tails persistence partition exists on USB drive "__internal" 11.531
And all notifications have disappeared 12.606
When I delete the persistent partition 6.288
Then there is no persistence partition on USB drive "__internal" 0.401
After features/support/hooks.rb:326 0.756
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.144
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 11.793
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 8.768
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.098
Then the expected persistent dotfile is present in the filesystem 0.397
After features/support/hooks.rb:326 0.652
After features/support/hooks.rb:100 0.009
Tags: @product
1:39.705
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.204
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.441
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.450
When I log in to a new session after having activated the Persistent Storage 40.686
And all notifications have disappeared 9.147
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.985
And all tps features are enabled 2.654
And all tps features but the first one are active 2.045
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
5:20.763
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 4:6.205
And I enable persistence 33.917
And I log in to a new session after having activated the Persistent Storage 38.495
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.015
And persistence is enabled 0.129
After features/support/hooks.rb:326 1.316
After features/support/hooks.rb:100 0.000
Tags: @product
29.775
Before features/support/hooks.rb:269 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.078
And I enable persistence but something goes wrong during the LUKS header upgrade 18.923
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.773
After features/support/hooks.rb:326 0.714
After features/support/hooks.rb:100 0.000
Tags: @product
46.261
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.839
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.417
When I enable persistence 30.502
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 0.404
After features/support/hooks.rb:326 1.316
After features/support/hooks.rb:100 0.000
Tags: @product
27.557
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.404
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.960
When I try to enable persistence 0.451
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.155
When I repair the filesystem of the Persistent Storage 1.195
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.259
And the filesystem of the Persistent Storage was repaired 0.144
When I close the filesystem repair dialog 1.580
Then persistence is successfully enabled 0.406
After features/support/hooks.rb:326 0.758
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.680
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 8.843
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.119
When I try to enable persistence 0.409
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.973
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 43.037
And all notifications have disappeared 9.155
# 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.559
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.543
When I close the "whisperback" window 1.431
Then the Tor Browser starts 15.444
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.781
After features/support/hooks.rb:326 2.022
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.395
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.707
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.977
And Tails detects disk read failures on the boot device 1.693
When I try to enable persistence 0.391
Then the Welcome Screen tells me that my hardware is probably failing 5.126
When I log in to a new session 20.279
And all notifications have disappeared 8.706
Then the Tor Browser starts 19.913
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.599
After features/support/hooks.rb:326 1.705
After features/support/hooks.rb:100 0.000