Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 67 13 Dec 2024, 07:15

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 1 1 0 0 157 20 1 21 36:55.766 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.514
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.538
And I update APT using apt 13.889
And I install "python3-behave" using apt 23.246
Then the Tails Persistent Storage behave tests pass 2.840
After features/support/hooks.rb:326 3.240
After features/support/hooks.rb:100 0.000
Tags: @product
47.597
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.864
When I log in to a new session without activating the Persistent Storage 24.196
Then Tails is running from USB drive "__internal" 1.009
And persistence is disabled 0.730
But a Tails persistence partition exists on USB drive "__internal" 8.795
After features/support/hooks.rb:326 1.477
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.760
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 12.294
Then Tails is running from USB drive "__internal" 0.377
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 19.741
Then the file I created was copied to the Persistent Storage 0.567
When I shutdown Tails and wait for the computer to power off 13.243
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.614
Then persistence for "Persistent" is active 0.724
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.239
After features/support/hooks.rb:100 0.008
Tags: @product
51.443
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 11.455
And the system is very low on memory 3.402
When I create a file in the Persistent directory 1.013
When I try to create a persistent partition 18.990
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.171
When I close the Persistent Storage app 2.530
And I free up some memory 0.888
And I create a persistent partition with the default settings 12.772
Then the file I created was copied to the Persistent Storage 0.218
After features/support/hooks.rb:326 1.370
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.932
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.702
Then Tails is running from USB drive "__internal" 0.476
And all tps features are active 2.466
And all persistent directories have safe access rights 2.361
When I disable the first tps feature 5.010
Then all tps features but the first one are active 1.929
And I shutdown Tails and wait for the computer to power off 10.822
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.909
Then all tps features but the first one are active 2.253
After features/support/hooks.rb:326 0.994
After features/support/hooks.rb:100 0.044
Tags: @product
18.460
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.634
Then persistence for "Persistent" is active 0.096
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.116
When I disable the first tps feature 5.090
Then persistence for "Persistent" is not active 0.095
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.134
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.453
After features/support/hooks.rb:100 0.000
Tags: @product
18.464
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.661
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 4.858
And I delete the data of the Persistent Folder feature 3.712
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 1.170
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.212
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.370
And the network is plugged 0.073
And Tor is ready 20.869
And I take note of which tps features are available 0.688
When I write some files expected to persist 1.460
And I shutdown Tails and wait for the computer to power off 8.773
# 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" 23.975
After features/support/hooks.rb:326 0.117
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.695
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.044
And the network is plugged 0.068
And Tor is ready 19.055
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.194
And I shutdown Tails and wait for the computer to power off 8.771
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.962
And I capture all network traffic 0.015
And the network is plugged 0.085
And Tor is ready 17.864
And I switch to the "persistent-con-current" NetworkManager connection 0.389
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:326 0.617
After features/support/hooks.rb:100 0.046
Tags: @product
54.599
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.310
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.344
Then I create a persistent partition with the default settings using the wizard that was already open 17.829
After features/support/hooks.rb:326 1.475
After features/support/hooks.rb:100 0.000
Tags: @product
4:6.079
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.033
When I enable persistence 37.055
Then no persistent Greeter options were restored 14.142
When I set all Greeter options to non-default values 21.655
And I log in to a new session in German (de) after having activated the Persistent Storage 44.275
Then all Greeter options are set to non-default values 0.796
When I cold reboot the computer 9.353
And the computer reboots Tails 1:2.146
Given I enable persistence 18.396
Then persistent Greeter options were restored 0.486
When I log in to a new session after having activated the Persistent Storage 25.279
Then all Greeter options are set to non-default values 0.457
After features/support/hooks.rb:326 1.618
After features/support/hooks.rb:100 0.008
Tags: @product
3:21.312
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 10.058
# 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 33.374
And I shutdown Tails and wait for the computer to power off 10.266
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:55.705
And I change the passphrase of the Persistent Storage back to the original 31.907
After features/support/hooks.rb:326 2.286
After features/support/hooks.rb:100 0.007
Tags: @product
1:1.884
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 10.155
And I log in to a new session without activating the Persistent Storage 23.954
Then persistence is disabled 0.821
But a Tails persistence partition exists on USB drive "__internal" 7.715
And all notifications have disappeared 12.400
When I delete the persistent partition 6.467
Then there is no persistence partition on USB drive "__internal" 0.370
After features/support/hooks.rb:326 0.903
After features/support/hooks.rb:100 0.000
Tags: @product
2:15.234
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.811
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 8.649
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.372
Then the expected persistent dotfile is present in the filesystem 0.332
After features/support/hooks.rb:326 1.632
After features/support/hooks.rb:100 0.016
Tags: @product
1:21.622
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 8.760
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.071
When I try to enable persistence 0.485
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.357
When I log in to a new session after having activated the Persistent Storage 27.477
And all notifications have disappeared 7.543
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.530
And all tps features are enabled 2.133
And all tps features but the first one are active 2.262
After features/support/hooks.rb:326 1.068
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.334
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 3:50.506
And I enable persistence 36.392
And I log in to a new session after having activated the Persistent Storage 28.743
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.090
And persistence is enabled 2.601
After features/support/hooks.rb:326 1.643
After features/support/hooks.rb:100 0.000
Tags: @product
28.822
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 8.879
And I enable persistence but something goes wrong during the LUKS header upgrade 19.047
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.895
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.000
Tags: @product
46.915
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.425
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 3.715
When I enable persistence 31.054
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.632
After features/support/hooks.rb:326 1.387
After features/support/hooks.rb:100 0.000
Tags: @product
27.668
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 8.932
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.546
When I try to enable persistence 0.482
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.515
When I repair the filesystem of the Persistent Storage 1.180
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.262
And the filesystem of the Persistent Storage was repaired 0.098
When I close the filesystem repair dialog 1.219
Then persistence is successfully enabled 1.430
After features/support/hooks.rb:326 0.854
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:36.800
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.389
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.361
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.848
When I repair the filesystem of the Persistent Storage 2.017
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 28.333
And all notifications have disappeared 7.866
# 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.010
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.302
When I close the "whisperback" window 1.724
Then the Tor Browser starts 17.685
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.076
After features/support/hooks.rb:326 3.153
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.411
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.005
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.301
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 3.906
And Tails detects disk read failures on the boot device 0.589
When I try to enable persistence 0.569
Then the Welcome Screen tells me that my hardware is probably failing 4.535
When I log in to a new session 25.579
And all notifications have disappeared 6.376
Then the Tor Browser starts 28.553
cannot find TorBrowserNewTabButton.png on the screen (FindFailed)
./features/support/helpers/screen.rb:179:in `rescue in wait'
./features/support/helpers/screen.rb:163: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 6.420

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:36:01)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/67/artifact/build-artifacts/03:36:01_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/67/artifact/build-artifacts/03:36:01_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/67/artifact/build-artifacts/03:36:01_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/67/artifact/build-artifacts/03:36:01_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000