Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 3 26 Oct 2024, 06:40

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:8.733 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.502
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:36.402
And I update APT using apt 13.099
And I install "python3-behave" using apt 25.796
Then the Tails Persistent Storage behave tests pass 2.203
After features/support/hooks.rb:326 0.566
After features/support/hooks.rb:100 0.000
Tags: @product
43.730
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.701
When I log in to a new session without activating the Persistent Storage 22.427
Then Tails is running from USB drive "__internal" 0.697
And persistence is disabled 0.629
But a Tails persistence partition exists on USB drive "__internal" 8.275
After features/support/hooks.rb:326 1.735
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.840
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.009
Then Tails is running from USB drive "__internal" 0.369
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 19.464
Then the file I created was copied to the Persistent Storage 0.438
When I shutdown Tails and wait for the computer to power off 12.502
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.498
Then persistence for "Persistent" is active 0.353
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:326 1.756
After features/support/hooks.rb:100 0.007
Tags: @product
58.851
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 11.819
And the system is very low on memory 3.343
When I create a file in the Persistent directory 1.231
When I try to create a persistent partition 25.295
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.650
When I close the Persistent Storage app 2.621
And I free up some memory 1.356
And I create a persistent partition with the default settings 12.302
Then the file I created was copied to the Persistent Storage 0.230
After features/support/hooks.rb:326 1.437
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.718
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.551
Then Tails is running from USB drive "__internal" 0.493
And all tps features are active 2.201
And all persistent directories have safe access rights 2.374
When I disable the first tps feature 5.109
Then all tps features but the first one are active 1.934
And I shutdown Tails and wait for the computer to power off 8.736
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.115
Then all tps features but the first one are active 2.201
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.006
Tags: @product
18.206
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.372
Then persistence for "Persistent" is active 0.080
And I create a file in the Persistent directory 0.054
Then the file I created was copied to the Persistent Storage 0.118
When I disable the first tps feature 5.145
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.127
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.111
After features/support/hooks.rb:326 1.099
After features/support/hooks.rb:100 0.000
Tags: @product
18.714
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.405
Then persistence for "Persistent" is active 0.150
When I create a file in the Persistent directory 0.135
And I disable the first tps feature 5.312
And I delete the data of the Persistent Folder feature 3.653
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 1.180
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.109
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.580
And the network is plugged 0.070
And Tor is ready 21.209
And I take note of which tps features are available 0.635
When I write some files expected to persist 1.339
And I shutdown Tails and wait for the computer to power off 6.429
# 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.843
After features/support/hooks.rb:326 0.090
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.898
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 8.936
And the network is plugged 0.127
And Tor is ready 21.283
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.182
And I shutdown Tails and wait for the computer to power off 6.521
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.885
And I capture all network traffic 0.004
And the network is plugged 0.072
And Tor is ready 19.288
And I switch to the "persistent-con-current" NetworkManager connection 0.356
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.051
Tags: @product
54.050
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.365
And I enable persistence creation in Tails Greeter 1.111
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.227
Then I create a persistent partition with the default settings using the wizard that was already open 18.346
After features/support/hooks.rb:326 2.318
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.958
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.949
When I enable persistence 32.285
Then no persistent Greeter options were restored 17.894
When I set all Greeter options to non-default values 21.865
And I log in to a new session in German (de) after having activated the Persistent Storage 42.150
Then all Greeter options are set to non-default values 0.516
When I cold reboot the computer 7.308
And the computer reboots Tails 1:5.078
Given I enable persistence 31.186
Then persistent Greeter options were restored 14.692
When I log in to a new session after having activated the Persistent Storage 23.448
Then all Greeter options are set to non-default values 0.581
After features/support/hooks.rb:326 1.505
After features/support/hooks.rb:100 0.006
Tags: @product
3:18.547
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.499
# 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.495
And I shutdown Tails and wait for the computer to power off 10.913
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:53.249
And I change the passphrase of the Persistent Storage back to the original 31.390
After features/support/hooks.rb:326 2.204
After features/support/hooks.rb:100 0.006
Tags: @product
58.567
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 9.801
And I log in to a new session without activating the Persistent Storage 21.473
Then persistence is disabled 0.662
But a Tails persistence partition exists on USB drive "__internal" 8.130
And all notifications have disappeared 11.171
When I delete the persistent partition 6.979
Then there is no persistence partition on USB drive "__internal" 0.347
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.000
Tags: @product
2:14.103
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.548
When I write some dotfile expected to persist 0.176
And I shutdown Tails and wait for the computer to power off 8.631
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.145
Then the expected persistent dotfile is present in the filesystem 0.602
After features/support/hooks.rb:326 1.469
After features/support/hooks.rb:100 0.005
Tags: @product
1:20.915
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 8.574
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.370
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.704
When I log in to a new session after having activated the Persistent Storage 28.470
And all notifications have disappeared 7.790
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.662
And all tps features are enabled 2.265
And all tps features but the first one are active 1.992
After features/support/hooks.rb:326 1.214
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.795
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 3:47.282
And I enable persistence 33.041
And I log in to a new session after having activated the Persistent Storage 27.485
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.824
And persistence is enabled 0.160
After features/support/hooks.rb:326 2.277
After features/support/hooks.rb:100 0.000
Tags: @product
29.141
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.449
And I enable persistence but something goes wrong during the LUKS header upgrade 18.884
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.806
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.000
Tags: @product
42.673
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.982
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.354
When I enable persistence 28.870
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 0.372
After features/support/hooks.rb:326 1.348
After features/support/hooks.rb:100 0.000
Tags: @product
21.990
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.951
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.362
When I try to enable persistence 0.543
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.796
When I repair the filesystem of the Persistent Storage 1.283
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.263
And the filesystem of the Persistent Storage was repaired 0.092
When I close the filesystem repair dialog 1.277
Then persistence is successfully enabled 0.418
After features/support/hooks.rb:326 0.857
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:29.369
Before features/support/hooks.rb:269 0.019
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.073
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 0.689
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.803
When I repair the filesystem of the Persistent Storage 1.717
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 27.849
And all notifications have disappeared 8.172
# 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.532
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.680
When I close the "whisperback" window 1.476
Then the Tor Browser starts 14.485
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.718
After features/support/hooks.rb:326 2.360
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.047
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.003
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.555
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.566
And Tails detects disk read failures on the boot device 0.568
When I try to enable persistence 0.530
Then the Welcome Screen tells me that my hardware is probably failing 4.423
When I log in to a new session 23.305
And all notifications have disappeared 4.629
Then the Tor Browser starts 29.468
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.254

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:16:14)

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

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/3/artifact/build-artifacts/03:16:14_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/3/artifact/build-artifacts/03:16:14_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000