Project Number Date
test_Tails_ISO_feature-arti 25 10 Dec 2024, 17:11

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:23:33.858 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
20:33.875
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 20:33.875
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:723:in `new'
./features/step_definitions/common_steps.rb:723:in `/^all notifications have disappeared$/'
./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:137: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 10.850

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:59:48)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/25/artifact/build-artifacts/03:59:48_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/25/artifact/build-artifacts/03:59:48_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/25/artifact/build-artifacts/03:59:48_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
49.509
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 12.452
When I log in to a new session without activating the Persistent Storage 25.209
Then Tails is running from USB drive "__internal" 0.512
And persistence is disabled 0.297
But a Tails persistence partition exists on USB drive "__internal" 11.037
After features/support/hooks.rb:326 1.048
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.772
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.482
Then Tails is running from USB drive "__internal" 0.422
When I create a file in the Persistent directory 0.134
And I create a persistent partition with the default settings 38.132
Then the file I created was copied to the Persistent Storage 0.688
When I shutdown Tails and wait for the computer to power off 13.225
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.986
Then persistence for "Persistent" is active 0.634
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 0.684
After features/support/hooks.rb:100 0.008
Tags: @product
1:3.888
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.953
And the system is very low on memory 6.454
When I create a file in the Persistent directory 1.322
When I try to create a persistent partition 26.342
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.258
When I close the Persistent Storage app 2.693
And I free up some memory 1.877
And I create a persistent partition with the default settings 12.746
Then the file I created was copied to the Persistent Storage 0.239
After features/support/hooks.rb:326 1.674
After features/support/hooks.rb:100 0.000
Tags: @product
22:33.363
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.226
Then Tails is running from USB drive "__internal" 0.326
And all tps features are active 2.251
And all persistent directories have safe access rights 2.602
When I disable the first tps feature 6.556
Then all tps features but the first one are active 2.016
And I shutdown Tails and wait for the computer to power off 10.836
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:54.546
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:723:in `new'
./features/step_definitions/common_steps.rb:723:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:309: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.834

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/25/artifact/build-artifacts/04:28:01_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_feature-arti/25/artifact/build-artifacts/04:28:01_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_feature-arti/25/artifact/build-artifacts/04:28:01_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.008
Tags: @product
21.801
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.081
Then persistence for "Persistent" is active 0.095
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.074
When I disable the first tps feature 6.181
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.074
When I enable the first tps feature 4.000
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.831
After features/support/hooks.rb:100 0.000
Tags: @product
23.274
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.523
Then persistence for "Persistent" is active 0.074
When I create a file in the Persistent directory 0.084
And I disable the first tps feature 6.448
And I delete the data of the Persistent Folder feature 5.091
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 0.896
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.685
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.612
And the network is plugged 0.153
And Tor is ready 22.356
And I take note of which tps features are available 0.729
When I write some files expected to persist 1.740
And I shutdown Tails and wait for the computer to power off 8.710
# 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.382
After features/support/hooks.rb:326 0.128
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.558
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.098
And the network is plugged 0.102
And Tor is ready 21.492
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.247
And I shutdown Tails and wait for the computer to power off 8.680
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.368
And I capture all network traffic 0.009
And the network is plugged 0.100
And Tor is ready 21.647
And I switch to the "persistent-con-current" NetworkManager connection 0.404
And the 1st network device has a spoofed MAC address configured 0.151
And no network device leaked the real MAC address 0.254
After features/support/hooks.rb:326 0.750
After features/support/hooks.rb:100 0.065
Tags: @product
1:54.882
Before features/support/hooks.rb:269 0.026
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 1:3.562
And I enable persistence creation in Tails Greeter 1.259
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.103
Then I create a persistent partition with the default settings using the wizard that was already open 24.956
After features/support/hooks.rb:326 2.232
After features/support/hooks.rb:100 0.000
Tags: @product
5:43.156
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 33.438
When I enable persistence 54.841
Then no persistent Greeter options were restored 18.407
When I set all Greeter options to non-default values 26.948
And I log in to a new session in German (de) after having activated the Persistent Storage 47.048
Then all Greeter options are set to non-default values 0.744
When I cold reboot the computer 10.241
And the computer reboots Tails 1:5.553
Given I enable persistence 43.609
Then persistent Greeter options were restored 0.591
When I log in to a new session after having activated the Persistent Storage 41.306
Then all Greeter options are set to non-default values 0.425
After features/support/hooks.rb:326 1.662
After features/support/hooks.rb:100 0.008
Tags: @product
4:13.176
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.671
# 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 45.654
And I shutdown Tails and wait for the computer to power off 13.532
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:25.579
And I change the passphrase of the Persistent Storage back to the original 35.738
After features/support/hooks.rb:326 2.374
After features/support/hooks.rb:100 0.010
Tags: @product
1:4.284
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 10.369
And I log in to a new session without activating the Persistent Storage 24.165
Then persistence is disabled 0.356
But a Tails persistence partition exists on USB drive "__internal" 9.919
And all notifications have disappeared 13.143
When I delete the persistent partition 5.832
Then there is no persistence partition on USB drive "__internal" 0.497
After features/support/hooks.rb:326 1.205
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.298
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.301
When I write some dotfile expected to persist 0.075
And I shutdown Tails and wait for the computer to power off 11.302
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.238
Then the expected persistent dotfile is present in the filesystem 0.381
After features/support/hooks.rb:326 1.051
After features/support/hooks.rb:100 0.009
Tags: @product
1:47.542
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.303
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.352
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.914
When I log in to a new session after having activated the Persistent Storage 43.655
And all notifications have disappeared 8.620
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.858
And all tps features are enabled 2.651
And all tps features but the first one are active 2.098
After features/support/hooks.rb:326 1.269
After features/support/hooks.rb:100 0.000
Tags: @product
6:26.420
Before features/support/hooks.rb:269 0.005
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:0.408
And I enable persistence 32.702
And I log in to a new session after having activated the Persistent Storage 46.227
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.126
And persistence is enabled 4.955
After features/support/hooks.rb:326 1.180
After features/support/hooks.rb:100 0.000
Tags: @product
39.323
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.910
And I enable persistence but something goes wrong during the LUKS header upgrade 28.572
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.840
After features/support/hooks.rb:326 0.801
After features/support/hooks.rb:100 0.000
Tags: @product
53.773
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 10.225
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.078
When I enable persistence 32.318
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 3.045
After features/support/hooks.rb:326 2.299
After features/support/hooks.rb:100 0.000
Tags: @product
26.734
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 9.313
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.369
When I try to enable persistence 0.544
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.372
When I repair the filesystem of the Persistent Storage 1.189
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.201
And the filesystem of the Persistent Storage was repaired 0.071
When I close the filesystem repair dialog 1.255
Then persistence is successfully enabled 1.416
After features/support/hooks.rb:326 0.823
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.712
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.941
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.119
When I try to enable persistence 0.289
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.802
When I repair the filesystem of the Persistent Storage 1.282
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.147
When I log in to a new session 48.049
And all notifications have disappeared 9.458
# 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.564
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.773
When I close the "whisperback" window 1.458
Then the Tor Browser starts 19.788
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.036
After features/support/hooks.rb:326 2.894
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:21.825
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 10.962
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.753
And Tails detects disk read failures on the boot device 1.664
When I try to enable persistence 0.490
Then the Welcome Screen tells me that my hardware is probably failing 6.628
When I log in to a new session 22.285
And all notifications have disappeared 7.780
Then the Tor Browser starts 22.297
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.961
After features/support/hooks.rb:326 1.532
After features/support/hooks.rb:100 0.000