Project Number Date
test_Tails_ISO_devel 3658 22 Jan 2025, 20:37

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

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:34:20)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3658/artifact/build-artifacts/04:34:20_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3658/artifact/build-artifacts/04:34:20_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3658/artifact/build-artifacts/04:34:20_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3658/artifact/build-artifacts/04:34:20_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
52.399
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 14.388
When I log in to a new session without activating the Persistent Storage 23.076
Then Tails is running from USB drive "__internal" 0.624
And persistence is disabled 0.363
But a Tails persistence partition exists on USB drive "__internal" 13.946
After features/support/hooks.rb:326 2.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.660
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.663
Then Tails is running from USB drive "__internal" 0.379
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 23.150
Then the file I created was copied to the Persistent Storage 2.214
When I shutdown Tails and wait for the computer to power off 14.896
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.779
Then persistence for "Persistent" is active 0.353
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 1.079
After features/support/hooks.rb:100 0.006
Tags: @product
1:7.707
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 11.568
And the system is very low on memory 4.014
When I create a file in the Persistent directory 1.739
When I try to create a persistent partition 30.215
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.727
When I close the Persistent Storage app 2.713
And I free up some memory 2.030
And I create a persistent partition with the default settings 14.449
Then the file I created was copied to the Persistent Storage 0.247
After features/support/hooks.rb:326 1.736
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.168
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 14.290
Then Tails is running from USB drive "__internal" 1.920
And all tps features are active 2.247
And all persistent directories have safe access rights 2.706
When I disable the first tps feature 6.816
Then all tps features but the first one are active 2.221
And I shutdown Tails and wait for the computer to power off 13.136
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.351
Then all tps features but the first one are active 2.478
After features/support/hooks.rb:326 0.804
After features/support/hooks.rb:100 0.031
Tags: @product
20.675
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.186
Then persistence for "Persistent" is active 0.112
And I create a file in the Persistent directory 0.144
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 6.490
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.323
Then persistence for "Persistent" is active 0.123
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 0.961
After features/support/hooks.rb:100 0.000
Tags: @product
20.870
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.097
Then persistence for "Persistent" is active 0.169
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 6.402
And I delete the data of the Persistent Folder feature 4.045
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:326 1.029
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.616
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.222
And the network is plugged 0.105
And Tor is ready 22.743
And I take note of which tps features are available 0.653
When I write some files expected to persist 1.992
And I shutdown Tails and wait for the computer to power off 10.882
# 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.016
After features/support/hooks.rb:326 0.125
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.733
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.840
And the network is plugged 0.090
And Tor is ready 19.972
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.255
And I shutdown Tails and wait for the computer to power off 11.222
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.304
And I capture all network traffic 0.004
And the network is plugged 0.092
And Tor is ready 19.266
And I switch to the "persistent-con-current" NetworkManager connection 0.353
And the 1st network device has a spoofed MAC address configured 0.201
And no network device leaked the real MAC address 0.129
After features/support/hooks.rb:326 0.751
After features/support/hooks.rb:100 0.054
Tags: @product
59.088
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 14.114
And I enable persistence creation in Tails Greeter 1.111
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.995
Then I create a persistent partition with the default settings using the wizard that was already open 22.866
After features/support/hooks.rb:326 1.226
After features/support/hooks.rb:100 0.000
Tags: @product
4:36.548
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.693
When I enable persistence 39.010
Then no persistent Greeter options were restored 14.338
When I set all Greeter options to non-default values 27.143
And I log in to a new session in German (de) after having activated the Persistent Storage 43.979
Then all Greeter options are set to non-default values 0.572
When I cold reboot the computer 10.058
And the computer reboots Tails 1:5.455
Given I enable persistence 18.449
Then persistent Greeter options were restored 0.519
When I log in to a new session after having activated the Persistent Storage 45.092
Then all Greeter options are set to non-default values 0.234
After features/support/hooks.rb:326 1.060
After features/support/hooks.rb:100 0.008
Tags: @product
3:55.709
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 10.035
# 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.800
And I shutdown Tails and wait for the computer to power off 12.493
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.770
And I change the passphrase of the Persistent Storage back to the original 42.610
After features/support/hooks.rb:326 2.362
After features/support/hooks.rb:100 0.008
Tags: @product
59.728
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.992
And I log in to a new session without activating the Persistent Storage 20.741
Then persistence is disabled 0.318
But a Tails persistence partition exists on USB drive "__internal" 10.742
And all notifications have disappeared 11.731
When I delete the persistent partition 5.751
Then there is no persistence partition on USB drive "__internal" 0.448
After features/support/hooks.rb:326 0.860
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.330
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.793
When I write some dotfile expected to persist 0.080
And I shutdown Tails and wait for the computer to power off 10.622
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.327
Then the expected persistent dotfile is present in the filesystem 0.506
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.007
Tags: @product
1:36.944
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.820
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.264
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.046
When I log in to a new session after having activated the Persistent Storage 38.677
And all notifications have disappeared 7.992
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.303
And all tps features are enabled 2.639
And all tps features but the first one are active 2.121
After features/support/hooks.rb:326 1.301
After features/support/hooks.rb:100 0.000
Tags: @product
5:41.136
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 4:12.211
And I enable persistence 36.124
And I log in to a new session after having activated the Persistent Storage 47.396
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.516
And persistence is enabled 2.887
After features/support/hooks.rb:326 1.110
After features/support/hooks.rb:100 0.000
Tags: @product
32.462
Before features/support/hooks.rb:269 0.004
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.125
And I enable persistence but something goes wrong during the LUKS header upgrade 22.539
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.798
After features/support/hooks.rb:326 0.841
After features/support/hooks.rb:100 0.000
Tags: @product
51.532
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 12.277
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.529
When I enable persistence 29.736
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 2.888
After features/support/hooks.rb:326 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
49.840
Before features/support/hooks.rb:269 0.025
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.687
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.076
When I try to enable persistence 0.465
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.604
When I repair the filesystem of the Persistent Storage 2.078
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.529
And the filesystem of the Persistent Storage was repaired 1.545
When I close the filesystem repair dialog 1.277
Then persistence is successfully enabled 1.575
After features/support/hooks.rb:326 1.151
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.508
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.145
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.255
When I try to enable persistence 0.287
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.407
When I repair the filesystem of the Persistent Storage 1.301
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.096
When I log in to a new session 34.515
And all notifications have disappeared 10.444
# 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" 1.180
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.863
When I close the "whisperback" window 1.596
Then the Tor Browser starts 18.698
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.717
After features/support/hooks.rb:326 2.566
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.394
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 9.069
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.398
And Tails detects disk read failures on the boot device 1.648
When I try to enable persistence 0.389
Then the Welcome Screen tells me that my hardware is probably failing 19.796
When I log in to a new session 49.582
And all notifications have disappeared 8.196
Then the Tor Browser starts 19.356
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.955
After features/support/hooks.rb:326 2.209
After features/support/hooks.rb:100 0.000