Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 72 18 Dec 2024, 07:30

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 37:15.920 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.132
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:34.701
And I update APT using apt 13.314
And I install "python3-behave" using apt 22.547
Then the Tails Persistent Storage behave tests pass 2.568
After features/support/hooks.rb:326 1.068
After features/support/hooks.rb:100 0.000
Tags: @product
42.263
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.031
When I log in to a new session without activating the Persistent Storage 20.591
Then Tails is running from USB drive "__internal" 0.958
And persistence is disabled 0.403
But a Tails persistence partition exists on USB drive "__internal" 7.279
After features/support/hooks.rb:326 1.167
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.689
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.558
Then Tails is running from USB drive "__internal" 0.395
When I create a file in the Persistent directory 0.119
And I create a persistent partition with the default settings 18.705
Then the file I created was copied to the Persistent Storage 0.458
When I shutdown Tails and wait for the computer to power off 12.385
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.436
Then persistence for "Persistent" is active 0.527
And the file I created in the Persistent directory exists 0.102
After features/support/hooks.rb:326 1.140
After features/support/hooks.rb:100 0.008
Tags: @product
54.805
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.246
And the system is very low on memory 4.113
When I create a file in the Persistent directory 1.685
When I try to create a persistent partition 20.125
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.949
When I close the Persistent Storage app 2.861
And I free up some memory 1.298
And I create a persistent partition with the default settings 12.300
Then the file I created was copied to the Persistent Storage 0.224
After features/support/hooks.rb:326 1.267
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.821
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.094
Then Tails is running from USB drive "__internal" 0.565
And all tps features are active 2.031
And all persistent directories have safe access rights 2.289
When I disable the first tps feature 5.068
Then all tps features but the first one are active 1.998
And I shutdown Tails and wait for the computer to power off 10.736
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.733
Then all tps features but the first one are active 2.303
After features/support/hooks.rb:326 0.805
After features/support/hooks.rb:100 0.008
Tags: @product
18.462
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.713
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.124
Then the file I created was copied to the Persistent Storage 0.098
When I disable the first tps feature 4.980
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.167
Then persistence for "Persistent" is active 0.064
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.476
After features/support/hooks.rb:100 0.000
Tags: @product
18.607
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.546
Then persistence for "Persistent" is active 0.126
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 5.187
And I delete the data of the Persistent Folder feature 3.604
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 1.872
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.008
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.033
And the network is plugged 0.083
And Tor is ready 20.714
And I take note of which tps features are available 0.621
When I write some files expected to persist 1.409
And I shutdown Tails and wait for the computer to power off 8.480
# 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.665
After features/support/hooks.rb:326 0.113
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.833
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.256
And the network is plugged 0.094
And Tor is ready 48.928
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.262
And I shutdown Tails and wait for the computer to power off 8.566
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.250
And I capture all network traffic 0.014
And the network is plugged 0.090
And Tor is ready 17.756
And I switch to the "persistent-con-current" NetworkManager connection 0.377
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.143
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.065
Tags: @product
53.337
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 12.131
And I enable persistence creation in Tails Greeter 1.135
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.833
Then I create a persistent partition with the default settings using the wizard that was already open 19.237
After features/support/hooks.rb:326 1.729
After features/support/hooks.rb:100 0.000
Tags: @product
4:5.986
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.609
When I enable persistence 35.584
Then no persistent Greeter options were restored 14.031
When I set all Greeter options to non-default values 22.947
And I log in to a new session in German (de) after having activated the Persistent Storage 44.402
Then all Greeter options are set to non-default values 0.197
When I cold reboot the computer 7.488
And the computer reboots Tails 1:5.781
Given I enable persistence 17.516
Then persistent Greeter options were restored 0.558
When I log in to a new session after having activated the Persistent Storage 24.431
Then all Greeter options are set to non-default values 1.439
After features/support/hooks.rb:326 1.963
After features/support/hooks.rb:100 0.008
Tags: @product
3:43.296
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.211
# 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 38.790
And I shutdown Tails and wait for the computer to power off 10.643
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.897
And I change the passphrase of the Persistent Storage back to the original 35.753
After features/support/hooks.rb:326 1.745
After features/support/hooks.rb:100 0.007
Tags: @product
54.303
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.106
And I log in to a new session without activating the Persistent Storage 20.890
Then persistence is disabled 0.439
But a Tails persistence partition exists on USB drive "__internal" 8.041
And all notifications have disappeared 9.324
When I delete the persistent partition 5.150
Then there is no persistence partition on USB drive "__internal" 0.351
After features/support/hooks.rb:326 0.841
After features/support/hooks.rb:100 0.000
Tags: @product
2:14.091
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 8.927
When I write some dotfile expected to persist 0.086
And I shutdown Tails and wait for the computer to power off 10.518
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.144
Then the expected persistent dotfile is present in the filesystem 0.414
After features/support/hooks.rb:326 1.383
After features/support/hooks.rb:100 0.008
Tags: @product
1:27.314
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.911
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.362
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.216
When I log in to a new session after having activated the Persistent Storage 32.951
And all notifications have disappeared 7.062
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.476
And all tps features are enabled 2.401
And all tps features but the first one are active 1.853
After features/support/hooks.rb:326 1.365
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.925
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:54.352
And I enable persistence 33.240
And I log in to a new session after having activated the Persistent Storage 29.511
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.244
And persistence is enabled 2.576
After features/support/hooks.rb:326 2.461
After features/support/hooks.rb:100 0.000
Tags: @product
29.302
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.911
And I enable persistence but something goes wrong during the LUKS header upgrade 19.614
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.776
After features/support/hooks.rb:326 0.988
After features/support/hooks.rb:100 0.000
Tags: @product
43.142
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.070
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 3.786
When I enable persistence 27.646
Then the filesystem of the Persistent Storage was repaired 0.075
And persistence is successfully enabled 2.564
After features/support/hooks.rb:326 1.057
After features/support/hooks.rb:100 0.000
Tags: @product
22.935
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.926
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.825
When I try to enable persistence 0.626
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.454
When I repair the filesystem of the Persistent Storage 1.245
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.278
And the filesystem of the Persistent Storage was repaired 0.062
When I close the filesystem repair dialog 1.251
Then persistence is successfully enabled 1.266
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:38.924
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.773
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.116
When I try to enable persistence 0.367
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.316
When I repair the filesystem of the Persistent Storage 1.277
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 30.614
And all notifications have disappeared 7.278
# 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.542
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.161
When I close the "whisperback" window 1.492
Then the Tor Browser starts 13.053
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 8.858
After features/support/hooks.rb:326 2.706
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.733
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 8.632
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.748
And Tails detects disk read failures on the boot device 0.444
When I try to enable persistence 0.542
Then the Welcome Screen tells me that my hardware is probably failing 4.375
When I log in to a new session 21.569
And all notifications have disappeared 7.868
Then the Tor Browser starts 26.552
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 7.213

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:51:23)

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

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/72/artifact/build-artifacts/03:51:23_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/72/artifact/build-artifacts/03:51:23_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000