Project Number Date
test_Tails_ISO_devel 3642 09 Jan 2025, 23:00

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 46:56.301 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:20.055
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:20.055
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.338

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

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

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

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

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

After features/support/hooks.rb:100 0.000
Tags: @product
43.478
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 12.429
When I log in to a new session without activating the Persistent Storage 22.445
Then Tails is running from USB drive "__internal" 0.477
And persistence is disabled 0.439
But a Tails persistence partition exists on USB drive "__internal" 7.687
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.926
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 14.332
Then Tails is running from USB drive "__internal" 0.395
When I create a file in the Persistent directory 0.160
And I create a persistent partition with the default settings 29.790
Then the file I created was copied to the Persistent Storage 0.580
When I shutdown Tails and wait for the computer to power off 15.079
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.168
Then persistence for "Persistent" is active 0.342
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 0.740
After features/support/hooks.rb:100 0.011
Tags: @product
59.361
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.217
And the system is very low on memory 4.248
When I create a file in the Persistent directory 1.425
When I try to create a persistent partition 22.580
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.373
When I close the Persistent Storage app 2.659
And I free up some memory 1.611
And I create a persistent partition with the default settings 14.969
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:326 1.820
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.646
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 13.572
Then Tails is running from USB drive "__internal" 0.797
And all tps features are active 2.399
And all persistent directories have safe access rights 2.709
When I disable the first tps feature 6.396
Then all tps features but the first one are active 2.107
And I shutdown Tails and wait for the computer to power off 13.112
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.418
Then all tps features but the first one are active 2.132
After features/support/hooks.rb:326 1.076
After features/support/hooks.rb:100 0.007
Tags: @product
20.678
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.444
Then persistence for "Persistent" is active 0.088
And I create a file in the Persistent directory 0.106
Then the file I created was copied to the Persistent Storage 0.092
When I disable the first tps feature 6.505
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.076
When I enable the first tps feature 3.112
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:326 0.824
After features/support/hooks.rb:100 0.000
Tags: @product
20.389
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.551
Then persistence for "Persistent" is active 0.241
When I create a file in the Persistent directory 0.067
And I disable the first tps feature 5.723
And I delete the data of the Persistent Folder feature 3.740
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 1.267
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.791
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.268
And the network is plugged 0.087
And Tor is ready 21.983
And I take note of which tps features are available 0.688
When I write some files expected to persist 4.228
And I shutdown Tails and wait for the computer to power off 10.696
# 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.838
After features/support/hooks.rb:326 0.155
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.209
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.463
And the network is plugged 0.180
And Tor is ready 17.660
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.228
And I shutdown Tails and wait for the computer to power off 8.201
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.246
And I capture all network traffic 0.015
And the network is plugged 0.096
And Tor is ready 17.383
And I switch to the "persistent-con-current" NetworkManager connection 0.430
And the 1st network device has a spoofed MAC address configured 0.170
And no network device leaked the real MAC address 0.133
After features/support/hooks.rb:326 1.730
After features/support/hooks.rb:100 0.041
Tags: @product
1:6.445
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 17.969
And I enable persistence creation in Tails Greeter 1.400
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.832
Then I create a persistent partition with the default settings using the wizard that was already open 24.243
After features/support/hooks.rb:326 1.784
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.616
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 11.946
When I enable persistence 41.292
Then no persistent Greeter options were restored 14.176
When I set all Greeter options to non-default values 27.792
And I log in to a new session in German (de) after having activated the Persistent Storage 42.938
Then all Greeter options are set to non-default values 0.786
When I cold reboot the computer 7.771
And the computer reboots Tails 1:6.735
Given I enable persistence 19.571
Then persistent Greeter options were restored 0.515
When I log in to a new session after having activated the Persistent Storage 42.704
Then all Greeter options are set to non-default values 0.384
After features/support/hooks.rb:326 1.309
After features/support/hooks.rb:100 0.008
Tags: @product
4:19.661
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 23.858
# 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.061
And I shutdown Tails and wait for the computer to power off 12.612
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:25.243
And I change the passphrase of the Persistent Storage back to the original 38.887
After features/support/hooks.rb:326 2.370
After features/support/hooks.rb:100 0.006
Tags: @product
57.021
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.561
And I log in to a new session without activating the Persistent Storage 20.875
Then persistence is disabled 0.471
But a Tails persistence partition exists on USB drive "__internal" 8.482
And all notifications have disappeared 10.648
When I delete the persistent partition 6.546
Then there is no persistence partition on USB drive "__internal" 0.436
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.180
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.607
When I write some dotfile expected to persist 0.187
And I shutdown Tails and wait for the computer to power off 8.693
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.199
Then the expected persistent dotfile is present in the filesystem 0.492
After features/support/hooks.rb:326 0.729
After features/support/hooks.rb:100 0.006
Tags: @product
1:47.049
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.023
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 1.351
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 41.411
When I log in to a new session after having activated the Persistent Storage 36.555
And all notifications have disappeared 8.439
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.917
And all tps features are enabled 2.778
And all tps features but the first one are active 2.483
After features/support/hooks.rb:326 3.235
After features/support/hooks.rb:100 0.000
Tags: @product
7:15.416
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:50.302
And I enable persistence 37.031
And I log in to a new session after having activated the Persistent Storage 42.367
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.770
And persistence is enabled 3.944
After features/support/hooks.rb:326 1.245
After features/support/hooks.rb:100 0.000
Tags: @product
31.726
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 8.394
And I enable persistence but something goes wrong during the LUKS header upgrade 22.582
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.749
After features/support/hooks.rb:326 0.721
After features/support/hooks.rb:100 0.000
Tags: @product
48.664
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.341
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.161
When I enable persistence 29.163
Then the filesystem of the Persistent Storage was repaired 0.093
And persistence is successfully enabled 2.905
After features/support/hooks.rb:326 2.515
After features/support/hooks.rb:100 0.000
Tags: @product
28.000
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.020
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.499
When I try to enable persistence 0.439
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.770
When I repair the filesystem of the Persistent Storage 1.302
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.198
And the filesystem of the Persistent Storage was repaired 0.084
When I close the filesystem repair dialog 1.182
Then persistence is successfully enabled 1.503
After features/support/hooks.rb:326 0.785
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.800
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.566
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.368
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.115
When I repair the filesystem of the Persistent Storage 2.215
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.107
When I log in to a new session 30.948
And all notifications have disappeared 8.305
# 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.640
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.308
When I close the "whisperback" window 1.960
Then the Tor Browser starts 17.363
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.800
After features/support/hooks.rb:326 1.776
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.178
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.379
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.239
And Tails detects disk read failures on the boot device 0.827
When I try to enable persistence 0.547
Then the Welcome Screen tells me that my hardware is probably failing 5.674
When I log in to a new session 20.978
And all notifications have disappeared 9.141
Then the Tor Browser starts 19.697
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.693
After features/support/hooks.rb:326 1.485
After features/support/hooks.rb:100 0.000