Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 13 31 Oct 2024, 19:15

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 152 2 3 0 0 157 19 2 21 1:3:44.138 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:31.114
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:48.273
And I update APT using apt 14.190
And I install "python3-behave" using apt 25.893
Then the Tails Persistent Storage behave tests pass 2.756
After features/support/hooks.rb:326 0.647
After features/support/hooks.rb:100 0.000
Tags: @product
55.546
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 16.614
When I log in to a new session without activating the Persistent Storage 27.489
Then Tails is running from USB drive "__internal" 0.746
And persistence is disabled 0.616
But a Tails persistence partition exists on USB drive "__internal" 10.079
After features/support/hooks.rb:326 1.385
After features/support/hooks.rb:100 0.000
Tags: @product
23:36.664
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 33.082
Then Tails is running from USB drive "__internal" 0.685
When I create a file in the Persistent directory 0.270
And I create a persistent partition with the default settings 21.172
Then the file I created was copied to the Persistent Storage 0.510
When I shutdown Tails and wait for the computer to power off 12.846
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:28.096
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:26:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then persistence for "Persistent" is active 0.000
And the file I created in the Persistent directory exists 0.000
After features/support/hooks.rb:326 10.951

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 03:24:50)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/13/artifact/build-artifacts/03:24:50_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/13/artifact/build-artifacts/03:24:50_Creating_a_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/13/artifact/build-artifacts/03:24:50_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:100 0.009
Tags: @product
57.312
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 9.835
And the system is very low on memory 6.945
When I create a file in the Persistent directory 0.966
When I try to create a persistent partition 20.294
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.328
When I close the Persistent Storage app 2.930
And I free up some memory 1.363
And I create a persistent partition with the default settings 14.379
Then the file I created was copied to the Persistent Storage 0.269
After features/support/hooks.rb:326 1.295
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.976
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.474
Then Tails is running from USB drive "__internal" 1.032
And all tps features are active 2.781
And all persistent directories have safe access rights 3.047
When I disable the first tps feature 5.985
Then all tps features but the first one are active 2.413
And I shutdown Tails and wait for the computer to power off 10.789
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.709
Then all tps features but the first one are active 2.741
After features/support/hooks.rb:326 1.095
After features/support/hooks.rb:100 0.011
Tags: @product
19.329
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.718
Then persistence for "Persistent" is active 0.087
And I create a file in the Persistent directory 0.108
Then the file I created was copied to the Persistent Storage 0.131
When I disable the first tps feature 5.795
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.173
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:326 1.068
After features/support/hooks.rb:100 0.000
Tags: @product
20.828
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 9.832
Then persistence for "Persistent" is active 0.119
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 6.990
And I delete the data of the Persistent Folder feature 3.698
Then the file I created does not exist on the Persistent Storage 0.109
After features/support/hooks.rb:326 1.361
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.313
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 9.509
And the network is plugged 0.075
And Tor is ready 21.145
And I take note of which tps features are available 0.634
When I write some files expected to persist 1.652
And I shutdown Tails and wait for the computer to power off 8.436
# 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.859
After features/support/hooks.rb:326 0.102
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.643
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.363
And the network is plugged 0.096
And Tor is ready 20.801
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.279
And I shutdown Tails and wait for the computer to power off 8.313
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.139
And I capture all network traffic 0.004
And the network is plugged 0.080
And Tor is ready 20.920
And I switch to the "persistent-con-current" NetworkManager connection 0.359
And the 1st network device has a spoofed MAC address configured 0.122
And no network device leaked the real MAC address 0.161
After features/support/hooks.rb:326 0.697
After features/support/hooks.rb:100 0.047
Tags: @product
1:10.420
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 17.241
And I enable persistence creation in Tails Greeter 1.143
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.743
Then I create a persistent partition with the default settings using the wizard that was already open 24.291
After features/support/hooks.rb:326 1.639
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.859
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.709
When I enable persistence 39.646
Then no persistent Greeter options were restored 14.393
When I set all Greeter options to non-default values 26.824
And I log in to a new session in German (de) after having activated the Persistent Storage 41.390
Then all Greeter options are set to non-default values 0.804
When I cold reboot the computer 9.928
And the computer reboots Tails 1:6.646
Given I enable persistence 19.604
Then persistent Greeter options were restored 0.544
When I log in to a new session after having activated the Persistent Storage 29.794
Then all Greeter options are set to non-default values 0.572
After features/support/hooks.rb:326 1.295
After features/support/hooks.rb:100 0.008
Tags: @product
4:28.848
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.192
# 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 46.409
And I shutdown Tails and wait for the computer to power off 11.629
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:43.521
And I change the passphrase of the Persistent Storage back to the original 36.095
After features/support/hooks.rb:326 1.399
After features/support/hooks.rb:100 0.006
Tags: @product
1:6.654
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 12.932
And I log in to a new session without activating the Persistent Storage 28.011
Then persistence is disabled 0.818
But a Tails persistence partition exists on USB drive "__internal" 7.621
And all notifications have disappeared 9.509
When I delete the persistent partition 7.349
Then there is no persistence partition on USB drive "__internal" 0.411
After features/support/hooks.rb:326 0.969
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.554
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.810
When I write some dotfile expected to persist 0.088
And I shutdown Tails and wait for the computer to power off 10.889
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.302
Then the expected persistent dotfile is present in the filesystem 0.463
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.009
Tags: @product
1:31.971
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.897
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.094
When I try to enable persistence 0.332
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.770
When I log in to a new session after having activated the Persistent Storage 30.809
And all notifications have disappeared 7.178
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.466
And all tps features are enabled 2.758
And all tps features but the first one are active 2.663
After features/support/hooks.rb:326 1.385
After features/support/hooks.rb:100 0.000
Tags: @product
7:38.989
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 6:27.701
And I enable persistence 39.373
And I log in to a new session after having activated the Persistent Storage 27.045
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.274
And persistence is enabled 2.594
After features/support/hooks.rb:326 1.190
After features/support/hooks.rb:100 0.000
Tags: @product
34.315
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 10.319
And I enable persistence but something goes wrong during the LUKS header upgrade 23.050
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.944
After features/support/hooks.rb:326 0.827
After features/support/hooks.rb:100 0.000
Tags: @product
55.752
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.786
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.186
When I enable persistence 32.844
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.839
After features/support/hooks.rb:326 1.153
After features/support/hooks.rb:100 0.000
Tags: @product
23.929
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.727
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.408
When I try to enable persistence 0.918
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.592
When I repair the filesystem of the Persistent Storage 1.288
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.299
And the filesystem of the Persistent Storage was repaired 0.074
When I close the filesystem repair dialog 1.232
Then persistence is successfully enabled 1.387
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:36.554
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.801
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.372
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.083
When I repair the filesystem of the Persistent Storage 2.431
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.095
When I log in to a new session 28.914
And all notifications have disappeared 8.689
# 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.091
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.448
When I close the "whisperback" window 2.057
Then the Tor Browser starts 15.609
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.316
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:21.558
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.016
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.496
And Tails detects disk read failures on the boot device 1.579
When I try to enable persistence 1.767
Then the Welcome Screen tells me that my hardware is probably failing 5.094
When I log in to a new session 23.783
And all notifications have disappeared 5.360
Then the Tor Browser starts 29.460
cannot find TorBrowserNewTabButton.png on the screen (FindFailed)
./features/support/helpers/screen.rb:173:in `rescue in wait'
./features/support/helpers/screen.rb:157:in `wait'
./features/step_definitions/browser.rb:465:in `/^the Tor Browser (?:has started|starts)$/'
features/persistence.feature:213:in `Then the Tor Browser starts'
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:326 5.872

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 04:02:02)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/13/artifact/build-artifacts/04:02:02_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/13/artifact/build-artifacts/04:02:02_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/13/artifact/build-artifacts/04:02:02_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/13/artifact/build-artifacts/04:02:02_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000