Project Number Date
test_Tails_ISO_devel 3677 02 Feb 2025, 17:34

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 45:25.932 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:20.048
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.048
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.159

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:05:37)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3677/artifact/build-artifacts/04:05:37_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3677/artifact/build-artifacts/04:05:37_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3677/artifact/build-artifacts/04:05:37_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3677/artifact/build-artifacts/04:05:37_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
54.114
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 10.459
When I log in to a new session without activating the Persistent Storage 32.098
Then Tails is running from USB drive "__internal" 0.656
And persistence is disabled 0.454
But a Tails persistence partition exists on USB drive "__internal" 10.445
After features/support/hooks.rb:326 1.457
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.094
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 13.596
Then Tails is running from USB drive "__internal" 0.492
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 23.986
Then the file I created was copied to the Persistent Storage 0.495
When I shutdown Tails and wait for the computer to power off 14.862
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.998
Then persistence for "Persistent" is active 0.443
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.007
Tags: @product
58.896
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.772
And the system is very low on memory 7.192
When I create a file in the Persistent directory 2.933
When I try to create a persistent partition 20.534
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.232
When I close the Persistent Storage app 2.618
And I free up some memory 1.677
And I create a persistent partition with the default settings 11.701
Then the file I created was copied to the Persistent Storage 0.233
After features/support/hooks.rb:326 1.225
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.996
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.125
Then Tails is running from USB drive "__internal" 0.574
And all tps features are active 3.700
And all persistent directories have safe access rights 2.605
When I disable the first tps feature 6.520
Then all tps features but the first one are active 2.084
And I shutdown Tails and wait for the computer to power off 12.572
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.553
Then all tps features but the first one are active 2.260
After features/support/hooks.rb:326 0.793
After features/support/hooks.rb:100 0.010
Tags: @product
18.664
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.407
Then persistence for "Persistent" is active 0.101
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.089
When I disable the first tps feature 5.538
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.099
Then persistence for "Persistent" is active 0.094
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:326 0.998
After features/support/hooks.rb:100 0.000
Tags: @product
19.867
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.812
Then persistence for "Persistent" is active 0.179
When I create a file in the Persistent directory 0.131
And I disable the first tps feature 5.958
And I delete the data of the Persistent Folder feature 3.692
Then the file I created does not exist on the Persistent Storage 0.091
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.000
Tags: @product
1:32.910
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.049
And the network is plugged 0.138
And Tor is ready 48.446
And I take note of which tps features are available 0.611
When I write some files expected to persist 1.359
And I shutdown Tails and wait for the computer to power off 8.407
# 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.897
After features/support/hooks.rb:326 0.088
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.406
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.280
And the network is plugged 0.073
And Tor is ready 21.933
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.280
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.842
And I capture all network traffic 0.004
And the network is plugged 0.088
And Tor is ready 19.944
And I switch to the "persistent-con-current" NetworkManager connection 0.464
And the 1st network device has a spoofed MAC address configured 0.100
And no network device leaked the real MAC address 0.121
After features/support/hooks.rb:326 0.878
After features/support/hooks.rb:100 0.050
Tags: @product
1:12.575
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 28.096
And I enable persistence creation in Tails Greeter 1.106
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.203
Then I create a persistent partition with the default settings using the wizard that was already open 23.168
After features/support/hooks.rb:326 1.597
After features/support/hooks.rb:100 0.000
Tags: @product
4:35.222
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 13.915
When I enable persistence 38.680
Then no persistent Greeter options were restored 14.238
When I set all Greeter options to non-default values 25.840
And I log in to a new session in German (de) after having activated the Persistent Storage 47.453
Then all Greeter options are set to non-default values 0.794
When I cold reboot the computer 9.472
And the computer reboots Tails 1:5.822
Given I enable persistence 19.047
Then persistent Greeter options were restored 0.613
When I log in to a new session after having activated the Persistent Storage 38.782
Then all Greeter options are set to non-default values 0.560
After features/support/hooks.rb:326 1.086
After features/support/hooks.rb:100 0.006
Tags: @product
3:33.808
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.754
# 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 30.822
And I shutdown Tails and wait for the computer to power off 14.481
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.909
And I change the passphrase of the Persistent Storage back to the original 34.839
After features/support/hooks.rb:326 3.045
After features/support/hooks.rb:100 0.006
Tags: @product
58.179
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.641
And I log in to a new session without activating the Persistent Storage 23.197
Then persistence is disabled 0.285
But a Tails persistence partition exists on USB drive "__internal" 9.090
And all notifications have disappeared 9.131
When I delete the persistent partition 6.420
Then there is no persistence partition on USB drive "__internal" 0.412
After features/support/hooks.rb:326 0.782
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.746
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.879
When I write some dotfile expected to persist 0.060
And I shutdown Tails and wait for the computer to power off 8.659
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.660
Then the expected persistent dotfile is present in the filesystem 0.485
After features/support/hooks.rb:326 0.718
After features/support/hooks.rb:100 0.007
Tags: @product
1:31.615
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.639
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.278
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.535
When I log in to a new session after having activated the Persistent Storage 32.452
And all notifications have disappeared 8.226
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.089
And all tps features are enabled 2.710
And all tps features but the first one are active 2.591
After features/support/hooks.rb:326 1.244
After features/support/hooks.rb:100 0.000
Tags: @product
5:23.596
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 4:2.511
And I enable persistence 34.643
And I log in to a new session after having activated the Persistent Storage 41.242
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.692
And persistence is enabled 3.506
After features/support/hooks.rb:326 0.867
After features/support/hooks.rb:100 0.000
Tags: @product
29.979
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 8.863
And I enable persistence but something goes wrong during the LUKS header upgrade 20.307
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.808
After features/support/hooks.rb:326 0.760
After features/support/hooks.rb:100 0.000
Tags: @product
53.500
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.588
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.415
When I enable persistence 34.804
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.601
After features/support/hooks.rb:326 1.203
After features/support/hooks.rb:100 0.000
Tags: @product
43.483
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 8.471
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.656
When I try to enable persistence 0.402
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.311
When I repair the filesystem of the Persistent Storage 1.721
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.208
And the filesystem of the Persistent Storage was repaired 0.990
When I close the filesystem repair dialog 1.187
Then persistence is successfully enabled 1.533
After features/support/hooks.rb:326 1.051
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.511
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 8.501
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.307
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.726
When I repair the filesystem of the Persistent Storage 1.297
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 42.903
And all notifications have disappeared 7.786
# 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.459
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.165
When I close the "whisperback" window 1.817
Then the Tor Browser starts 19.616
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.747
After features/support/hooks.rb:326 1.970
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.715
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.106
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.503
And Tails detects disk read failures on the boot device 0.507
When I try to enable persistence 1.359
Then the Welcome Screen tells me that my hardware is probably failing 19.662
When I log in to a new session 49.277
And all notifications have disappeared 8.063
Then the Tor Browser starts 16.356
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.879
After features/support/hooks.rb:326 2.575
After features/support/hooks.rb:100 0.000