Project Number Date
test_Tails_ISO_devel 3673 30 Jan 2025, 17:49

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:41.380 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:25.263
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:25.263
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.064

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:13:11)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3673/artifact/build-artifacts/04:13:11_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3673/artifact/build-artifacts/04:13:11_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3673/artifact/build-artifacts/04:13:11_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3673/artifact/build-artifacts/04:13:11_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
45.780
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.408
When I log in to a new session without activating the Persistent Storage 22.654
Then Tails is running from USB drive "__internal" 0.865
And persistence is disabled 0.334
But a Tails persistence partition exists on USB drive "__internal" 10.517
After features/support/hooks.rb:326 1.288
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.604
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 15.990
Then Tails is running from USB drive "__internal" 0.445
When I create a file in the Persistent directory 0.148
And I create a persistent partition with the default settings 31.703
Then the file I created was copied to the Persistent Storage 0.661
When I shutdown Tails and wait for the computer to power off 13.690
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.534
Then persistence for "Persistent" is active 0.355
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.888
After features/support/hooks.rb:100 0.040
Tags: @product
1:5.666
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.951
And the system is very low on memory 3.982
When I create a file in the Persistent directory 1.045
When I try to create a persistent partition 30.255
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.264
When I close the Persistent Storage app 2.662
And I free up some memory 1.732
And I create a persistent partition with the default settings 14.509
Then the file I created was copied to the Persistent Storage 0.262
After features/support/hooks.rb:326 1.745
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.194
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 17.332
Then Tails is running from USB drive "__internal" 0.469
And all tps features are active 2.447
And all persistent directories have safe access rights 3.095
When I disable the first tps feature 6.823
Then all tps features but the first one are active 2.180
And I shutdown Tails and wait for the computer to power off 15.006
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.502
Then all tps features but the first one are active 2.335
After features/support/hooks.rb:326 0.849
After features/support/hooks.rb:100 0.007
Tags: @product
21.301
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.969
Then persistence for "Persistent" is active 0.143
And I create a file in the Persistent directory 0.355
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 6.269
Then persistence for "Persistent" is not active 0.087
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.173
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.881
After features/support/hooks.rb:100 0.000
Tags: @product
23.531
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 13.124
Then persistence for "Persistent" is active 0.371
When I create a file in the Persistent directory 0.069
And I disable the first tps feature 6.084
And I delete the data of the Persistent Folder feature 3.824
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:326 1.598
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.377
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.354
And the network is plugged 0.083
And Tor is ready 22.058
And I take note of which tps features are available 0.716
When I write some files expected to persist 2.132
And I shutdown Tails and wait for the computer to power off 10.644
# 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" 25.386
After features/support/hooks.rb:326 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.648
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.330
And the network is plugged 0.077
And Tor is ready 21.515
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.272
And I shutdown Tails and wait for the computer to power off 8.730
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.351
And I capture all network traffic 0.011
And the network is plugged 0.094
And Tor is ready 19.502
And I switch to the "persistent-con-current" NetworkManager connection 0.410
And the 1st network device has a spoofed MAC address configured 0.224
And no network device leaked the real MAC address 0.126
After features/support/hooks.rb:326 0.947
After features/support/hooks.rb:100 0.066
Tags: @product
1:17.201
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 29.663
And I enable persistence creation in Tails Greeter 1.101
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.972
Then I create a persistent partition with the default settings using the wizard that was already open 23.463
After features/support/hooks.rb:326 1.559
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.921
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.232
When I enable persistence 36.710
Then no persistent Greeter options were restored 14.451
When I set all Greeter options to non-default values 26.708
And I log in to a new session in German (de) after having activated the Persistent Storage 43.293
Then all Greeter options are set to non-default values 0.496
When I cold reboot the computer 7.452
And the computer reboots Tails 58.925
Given I enable persistence 20.006
Then persistent Greeter options were restored 0.547
When I log in to a new session after having activated the Persistent Storage 42.680
Then all Greeter options are set to non-default values 0.417
After features/support/hooks.rb:326 0.744
After features/support/hooks.rb:100 0.007
Tags: @product
3:46.934
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.651
# 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.731
And I shutdown Tails and wait for the computer to power off 14.685
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.524
And I change the passphrase of the Persistent Storage back to the original 36.341
After features/support/hooks.rb:326 2.239
After features/support/hooks.rb:100 0.006
Tags: @product
58.457
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.740
And I log in to a new session without activating the Persistent Storage 21.440
Then persistence is disabled 0.668
But a Tails persistence partition exists on USB drive "__internal" 10.463
And all notifications have disappeared 8.619
When I delete the persistent partition 6.088
Then there is no persistence partition on USB drive "__internal" 0.436
After features/support/hooks.rb:326 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.463
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.842
When I write some dotfile expected to persist 0.312
And I shutdown Tails and wait for the computer to power off 10.844
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.005
Then the expected persistent dotfile is present in the filesystem 0.458
After features/support/hooks.rb:326 0.900
After features/support/hooks.rb:100 0.014
Tags: @product
1:52.512
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.678
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.194
When I try to enable persistence 0.269
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.339
When I log in to a new session after having activated the Persistent Storage 50.215
And all notifications have disappeared 8.594
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.427
And all tps features are enabled 2.286
And all tps features but the first one are active 2.505
After features/support/hooks.rb:326 1.927
After features/support/hooks.rb:100 0.000
Tags: @product
6:31.196
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:6.519
And I enable persistence 38.895
And I log in to a new session after having activated the Persistent Storage 35.439
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 7.596
And persistence is enabled 2.745
After features/support/hooks.rb:326 1.091
After features/support/hooks.rb:100 0.000
Tags: @product
47.152
Before features/support/hooks.rb:269 0.002
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 22.336
And I enable persistence but something goes wrong during the LUKS header upgrade 23.993
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.821
After features/support/hooks.rb:326 0.930
After features/support/hooks.rb:100 0.000
Tags: @product
49.831
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.458
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.051
When I enable persistence 31.373
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 2.841
After features/support/hooks.rb:326 0.715
After features/support/hooks.rb:100 0.000
Tags: @product
49.651
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.325
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.026
When I try to enable persistence 0.444
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.571
When I repair the filesystem of the Persistent Storage 1.558
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.843
And the filesystem of the Persistent Storage was repaired 2.785
When I close the filesystem repair dialog 1.399
Then persistence is successfully enabled 1.697
After features/support/hooks.rb:326 1.572
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.787
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.788
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.276
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.716
When I repair the filesystem of the Persistent Storage 1.309
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.139
When I log in to a new session 45.999
And all notifications have disappeared 9.069
# 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.787
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.973
When I close the "whisperback" window 1.442
Then the Tor Browser starts 17.195
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.662
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.901
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.408
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.839
And Tails detects disk read failures on the boot device 0.552
When I try to enable persistence 0.521
Then the Welcome Screen tells me that my hardware is probably failing 20.382
When I log in to a new session 48.304
And all notifications have disappeared 8.261
Then the Tor Browser starts 19.801
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.829
After features/support/hooks.rb:326 2.142
After features/support/hooks.rb:100 0.000