Project Number Date
test_Tails_ISO_devel 3664 27 Jan 2025, 20:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 2 4 0 0 157 19 2 21 1:8:48.329 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:33.388
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:33.388
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.922

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:17:51)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3664/artifact/build-artifacts/04:17:51_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3664/artifact/build-artifacts/04:17:51_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3664/artifact/build-artifacts/04:17:51_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3664/artifact/build-artifacts/04:17:51_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
47.954
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 16.072
When I log in to a new session without activating the Persistent Storage 23.244
Then Tails is running from USB drive "__internal" 0.446
And persistence is disabled 0.465
But a Tails persistence partition exists on USB drive "__internal" 7.725
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.774
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 13.462
Then Tails is running from USB drive "__internal" 0.642
When I create a file in the Persistent directory 0.261
And I create a persistent partition with the default settings 23.645
Then the file I created was copied to the Persistent Storage 0.657
When I shutdown Tails and wait for the computer to power off 13.390
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.606
Then persistence for "Persistent" is active 1.015
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 0.607
After features/support/hooks.rb:100 0.005
Tags: @product
1:6.808
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 12.052
And the system is very low on memory 5.666
When I create a file in the Persistent directory 0.853
When I try to create a persistent partition 29.020
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.517
When I close the Persistent Storage app 2.584
And I free up some memory 2.107
And I create a persistent partition with the default settings 13.747
Then the file I created was copied to the Persistent Storage 0.258
After features/support/hooks.rb:326 1.323
After features/support/hooks.rb:100 0.000
Tags: @product
22:48.962
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.426
Then Tails is running from USB drive "__internal" 1.168
And all tps features are active 2.382
And all persistent directories have safe access rights 2.551
When I disable the first tps feature 7.100
Then all tps features but the first one are active 2.277
And I shutdown Tails and wait for the computer to power off 12.770
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:8.284
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:712:in `new'
./features/step_definitions/common_steps.rb:712:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:49:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:326 10.908

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 04:45:50)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3664/artifact/build-artifacts/04:45:50_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3664/artifact/build-artifacts/04:45:50_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3664/artifact/build-artifacts/04:45:50_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.009
Tags: @product
25.061
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.797
Then persistence for "Persistent" is active 0.107
And I create a file in the Persistent directory 0.075
Then the file I created was copied to the Persistent Storage 0.284
When I disable the first tps feature 7.454
Then persistence for "Persistent" is not active 0.109
And the Persistent directory does not exist 0.064
When I enable the first tps feature 4.915
Then persistence for "Persistent" is active 0.158
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 0.949
After features/support/hooks.rb:100 0.000
Tags: @product
24.476
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.584
Then persistence for "Persistent" is active 0.909
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 7.241
And I delete the data of the Persistent Folder feature 4.610
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.156
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.262
And the network is plugged 0.236
And Tor is ready 23.165
And I take note of which tps features are available 0.655
When I write some files expected to persist 1.909
And I shutdown Tails and wait for the computer to power off 8.910
# 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.148
After features/support/hooks.rb:100 0.000
Tags: @product
3:33.056
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 12.577
And the network is plugged 0.084
And Tor is ready 23.927
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.318
And I shutdown Tails and wait for the computer to power off 11.543
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.177
And I capture all network traffic 0.004
And the network is plugged 0.068
And Tor is ready 19.359
And I switch to the "persistent-con-current" NetworkManager connection 0.600
And the 1st network device has a spoofed MAC address configured 0.254
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:326 0.817
After features/support/hooks.rb:100 0.045
Tags: @product
1:4.408
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 13.820
And I enable persistence creation in Tails Greeter 1.857
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.997
Then I create a persistent partition with the default settings using the wizard that was already open 27.734
After features/support/hooks.rb:326 1.780
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.401
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 13.663
When I enable persistence 38.097
Then no persistent Greeter options were restored 14.392
When I set all Greeter options to non-default values 34.281
And I log in to a new session in German (de) after having activated the Persistent Storage 54.677
Then all Greeter options are set to non-default values 0.584
When I cold reboot the computer 7.555
And the computer reboots Tails 1:5.466
Given I enable persistence 18.804
Then persistent Greeter options were restored 0.621
When I log in to a new session after having activated the Persistent Storage 37.885
Then all Greeter options are set to non-default values 0.371
After features/support/hooks.rb:326 1.267
After features/support/hooks.rb:100 0.006
Tags: @product
4:5.457
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.431
# 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 44.707
And I shutdown Tails and wait for the computer to power off 12.704
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.070
And I change the passphrase of the Persistent Storage back to the original 38.544
After features/support/hooks.rb:326 2.164
After features/support/hooks.rb:100 0.015
Tags: @product
58.422
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.555
And I log in to a new session without activating the Persistent Storage 21.270
Then persistence is disabled 0.323
But a Tails persistence partition exists on USB drive "__internal" 9.864
And all notifications have disappeared 10.777
When I delete the persistent partition 6.210
Then there is no persistence partition on USB drive "__internal" 0.420
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.387
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 11.051
When I write some dotfile expected to persist 0.832
And I shutdown Tails and wait for the computer to power off 10.870
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.130
Then the expected persistent dotfile is present in the filesystem 0.502
After features/support/hooks.rb:326 1.027
After features/support/hooks.rb:100 0.009
Tags: @product
2:21.725
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.657
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 59.063
When I log in to a new session after having activated the Persistent Storage 51.419
And all notifications have disappeared 9.297
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.530
And all tps features are enabled 2.829
And all tps features but the first one are active 2.546
After features/support/hooks.rb:326 1.351
After features/support/hooks.rb:100 0.000
Tags: @product
6:48.834
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:16.344
And I enable persistence 41.223
And I log in to a new session after having activated the Persistent Storage 45.617
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.927
And persistence is enabled 2.720
After features/support/hooks.rb:326 1.039
After features/support/hooks.rb:100 0.000
Tags: @product
32.203
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 9.833
And I enable persistence but something goes wrong during the LUKS header upgrade 21.518
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.852
After features/support/hooks.rb:326 1.343
After features/support/hooks.rb:100 0.000
Tags: @product
48.711
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.916
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.776
When I enable persistence 31.199
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.726
After features/support/hooks.rb:326 0.987
After features/support/hooks.rb:100 0.000
Tags: @product
49.261
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.418
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.695
When I try to enable persistence 0.440
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.164
When I repair the filesystem of the Persistent Storage 1.307
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.557
And the filesystem of the Persistent Storage was repaired 0.948
When I close the filesystem repair dialog 1.278
Then persistence is successfully enabled 1.450
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.529
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.042
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.287
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.950
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.106
When I log in to a new session 33.019
And all notifications have disappeared 10.028
# 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.395
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.821
When I close the "whisperback" window 1.703
Then the Tor Browser starts 19.963
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.851
After features/support/hooks.rb:326 2.812
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.344
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.924
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.386
And Tails detects disk read failures on the boot device 1.604
When I try to enable persistence 0.425
Then the Welcome Screen tells me that my hardware is probably failing 18.433
When I log in to a new session 47.248
And all notifications have disappeared 9.654
Then the Tor Browser starts 17.822
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.844
After features/support/hooks.rb:326 1.931
After features/support/hooks.rb:100 0.000