Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 20 05 Nov 2024, 07:08

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 40:15.721 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:31.916
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:45.498
And I update APT using apt 14.911
And I install "python3-behave" using apt 28.391
Then the Tails Persistent Storage behave tests pass 3.114
After features/support/hooks.rb:326 1.166
After features/support/hooks.rb:100 0.000
Tags: @product
51.228
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.866
When I log in to a new session without activating the Persistent Storage 26.497
Then Tails is running from USB drive "__internal" 0.910
And persistence is disabled 0.525
But a Tails persistence partition exists on USB drive "__internal" 8.428
After features/support/hooks.rb:326 1.556
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.412
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.933
Then Tails is running from USB drive "__internal" 0.571
When I create a file in the Persistent directory 0.181
And I create a persistent partition with the default settings 20.312
Then the file I created was copied to the Persistent Storage 0.641
When I shutdown Tails and wait for the computer to power off 13.017
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.136
Then persistence for "Persistent" is active 0.552
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 1.407
After features/support/hooks.rb:100 0.006
Tags: @product
52.412
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.764
And the system is very low on memory 3.252
When I create a file in the Persistent directory 0.568
When I try to create a persistent partition 18.089
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.539
When I close the Persistent Storage app 2.775
And I free up some memory 1.147
And I create a persistent partition with the default settings 13.015
Then the file I created was copied to the Persistent Storage 0.258
After features/support/hooks.rb:326 1.483
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.504
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.116
Then Tails is running from USB drive "__internal" 0.435
And all tps features are active 2.543
And all persistent directories have safe access rights 2.842
When I disable the first tps feature 5.994
Then all tps features but the first one are active 2.080
And I shutdown Tails and wait for the computer to power off 10.887
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.880
Then all tps features but the first one are active 2.722
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.005
Tags: @product
19.717
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 10.620
Then persistence for "Persistent" is active 0.186
And I create a file in the Persistent directory 0.080
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 5.388
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.046
When I enable the first tps feature 3.096
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 1.394
After features/support/hooks.rb:100 0.000
Tags: @product
19.876
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 10.012
Then persistence for "Persistent" is active 0.200
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 5.806
And I delete the data of the Persistent Folder feature 3.720
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 1.416
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.348
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 9.872
And the network is plugged 0.074
And Tor is ready 20.943
And I take note of which tps features are available 0.687
When I write some files expected to persist 1.612
And I shutdown Tails and wait for the computer to power off 8.647
# 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" 24.510
After features/support/hooks.rb:326 0.114
After features/support/hooks.rb:100 0.000
Tags: @product
3:36.802
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.551
And the network is plugged 0.080
And Tor is ready 20.319
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.183
And I shutdown Tails and wait for the computer to power off 8.628
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.903
And I capture all network traffic 0.003
And the network is plugged 0.085
And Tor is ready 48.398
And I switch to the "persistent-con-current" NetworkManager connection 0.338
And the 1st network device has a spoofed MAC address configured 0.144
And no network device leaked the real MAC address 0.165
After features/support/hooks.rb:326 0.643
After features/support/hooks.rb:100 0.040
Tags: @product
57.847
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.025
And I enable persistence creation in Tails Greeter 1.154
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.889
Then I create a persistent partition with the default settings using the wizard that was already open 21.777
After features/support/hooks.rb:326 1.434
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.848
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.117
When I enable persistence 39.210
Then no persistent Greeter options were restored 14.265
When I set all Greeter options to non-default values 24.180
And I log in to a new session in German (de) after having activated the Persistent Storage 39.842
Then all Greeter options are set to non-default values 0.871
When I cold reboot the computer 7.510
And the computer reboots Tails 1:4.366
Given I enable persistence 17.601
Then persistent Greeter options were restored 0.591
When I log in to a new session after having activated the Persistent Storage 30.013
Then all Greeter options are set to non-default values 0.277
After features/support/hooks.rb:326 1.703
After features/support/hooks.rb:100 0.006
Tags: @product
3:38.857
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.654
# 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 39.951
And I shutdown Tails and wait for the computer to power off 10.735
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.531
And I change the passphrase of the Persistent Storage back to the original 32.985
After features/support/hooks.rb:326 2.612
After features/support/hooks.rb:100 0.006
Tags: @product
59.596
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 10.707
And I log in to a new session without activating the Persistent Storage 24.424
Then persistence is disabled 0.758
But a Tails persistence partition exists on USB drive "__internal" 7.177
And all notifications have disappeared 8.612
When I delete the persistent partition 7.522
Then there is no persistence partition on USB drive "__internal" 0.393
After features/support/hooks.rb:326 1.015
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.527
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.028
When I write some dotfile expected to persist 0.123
And I shutdown Tails and wait for the computer to power off 10.724
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.291
Then the expected persistent dotfile is present in the filesystem 0.359
After features/support/hooks.rb:326 1.316
After features/support/hooks.rb:100 0.006
Tags: @product
1:30.376
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 11.902
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.418
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.435
When I log in to a new session after having activated the Persistent Storage 29.477
And all notifications have disappeared 7.828
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.417
And all tps features are enabled 2.472
And all tps features but the first one are active 2.333
After features/support/hooks.rb:326 1.319
After features/support/hooks.rb:100 0.000
Tags: @product
6:15.068
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:1.423
And I enable persistence 39.329
And I log in to a new session after having activated the Persistent Storage 29.207
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.429
And persistence is enabled 2.679
After features/support/hooks.rb:326 1.277
After features/support/hooks.rb:100 0.000
Tags: @product
32.431
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.378
And I enable persistence but something goes wrong during the LUKS header upgrade 22.222
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.830
After features/support/hooks.rb:326 0.715
After features/support/hooks.rb:100 0.000
Tags: @product
57.021
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.883
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.289
When I enable persistence 37.755
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 2.992
After features/support/hooks.rb:326 1.157
After features/support/hooks.rb:100 0.000
Tags: @product
25.381
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.094
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.742
When I try to enable persistence 0.631
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.739
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.248
And the filesystem of the Persistent Storage was repaired 0.102
When I close the filesystem repair dialog 1.218
Then persistence is successfully enabled 1.327
After features/support/hooks.rb:326 0.727
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:38.890
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.687
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 1.621
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.948
When I repair the filesystem of the Persistent Storage 1.295
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 28.873
And all notifications have disappeared 7.756
# 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.012
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.231
When I close the "whisperback" window 1.490
Then the Tor Browser starts 12.914
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.865
After features/support/hooks.rb:326 2.175
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:27.653
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 8.787
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.413
And Tails detects disk read failures on the boot device 1.663
When I try to enable persistence 0.583
Then the Welcome Screen tells me that my hardware is probably failing 4.878
When I log in to a new session 24.563
And all notifications have disappeared 6.866
Then the Tor Browser starts 34.897
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 6.067

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:27:19)

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

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/20/artifact/build-artifacts/03:27:19_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/20/artifact/build-artifacts/03:27:19_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000