Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 58 07 Dec 2024, 07:23

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 38:1.876 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.018
Before features/support/hooks.rb:269 0.017
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.653
And I update APT using apt 13.476
And I install "python3-behave" using apt 25.687
Then the Tails Persistent Storage behave tests pass 2.201
After features/support/hooks.rb:326 0.728
After features/support/hooks.rb:100 0.000
Tags: @product
49.044
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.032
When I log in to a new session without activating the Persistent Storage 26.211
Then Tails is running from USB drive "__internal" 1.104
And persistence is disabled 0.499
But a Tails persistence partition exists on USB drive "__internal" 8.195
After features/support/hooks.rb:326 2.881
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.692
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 19.145
Then Tails is running from USB drive "__internal" 0.375
When I create a file in the Persistent directory 0.126
And I create a persistent partition with the default settings 19.843
Then the file I created was copied to the Persistent Storage 0.487
When I shutdown Tails and wait for the computer to power off 14.552
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.751
Then persistence for "Persistent" is active 0.326
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 1.097
After features/support/hooks.rb:100 0.016
Tags: @product
52.904
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.479
And the system is very low on memory 3.457
When I create a file in the Persistent directory 1.686
When I try to create a persistent partition 18.235
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.822
When I close the Persistent Storage app 3.374
And I free up some memory 0.986
And I create a persistent partition with the default settings 12.599
Then the file I created was copied to the Persistent Storage 0.264
After features/support/hooks.rb:326 1.554
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.693
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 10.633
Then Tails is running from USB drive "__internal" 0.464
And all tps features are active 4.500
And all persistent directories have safe access rights 2.403
When I disable the first tps feature 5.183
Then all tps features but the first one are active 2.080
And I shutdown Tails and wait for the computer to power off 8.568
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.516
Then all tps features but the first one are active 2.342
After features/support/hooks.rb:326 1.265
After features/support/hooks.rb:100 0.008
Tags: @product
19.099
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.301
Then persistence for "Persistent" is active 0.080
And I create a file in the Persistent directory 0.071
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 5.075
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.222
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
18.398
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.243
Then persistence for "Persistent" is active 0.137
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 5.232
And I delete the data of the Persistent Folder feature 3.645
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 0.992
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.250
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.432
And the network is plugged 0.111
And Tor is ready 22.210
And I take note of which tps features are available 0.849
When I write some files expected to persist 1.472
And I shutdown Tails and wait for the computer to power off 8.705
# 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.468
After features/support/hooks.rb:326 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.545
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 9.165
And the network is plugged 0.077
And Tor is ready 18.974
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.196
And I shutdown Tails and wait for the computer to power off 8.592
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.978
And I capture all network traffic 0.006
And the network is plugged 0.081
And Tor is ready 16.882
And I switch to the "persistent-con-current" NetworkManager connection 0.351
And the 1st network device has a spoofed MAC address configured 0.109
And no network device leaked the real MAC address 0.129
After features/support/hooks.rb:326 0.658
After features/support/hooks.rb:100 0.066
Tags: @product
1:0.413
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.040
And I enable persistence creation in Tails Greeter 1.117
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.903
Then I create a persistent partition with the default settings using the wizard that was already open 21.351
After features/support/hooks.rb:326 2.517
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.048
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 12.662
When I enable persistence 36.654
Then no persistent Greeter options were restored 14.366
When I set all Greeter options to non-default values 24.581
And I log in to a new session in German (de) after having activated the Persistent Storage 40.334
Then all Greeter options are set to non-default values 0.621
When I cold reboot the computer 9.725
And the computer reboots Tails 1:10.606
Given I enable persistence 17.643
Then persistent Greeter options were restored 0.607
When I log in to a new session after having activated the Persistent Storage 29.962
Then all Greeter options are set to non-default values 0.281
After features/support/hooks.rb:326 1.187
After features/support/hooks.rb:100 0.006
Tags: @product
3:26.180
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.156
# 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.235
And I shutdown Tails and wait for the computer to power off 10.341
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:59.555
And I change the passphrase of the Persistent Storage back to the original 32.890
After features/support/hooks.rb:326 2.665
After features/support/hooks.rb:100 0.007
Tags: @product
59.144
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.625
And I log in to a new session without activating the Persistent Storage 23.347
Then persistence is disabled 0.511
But a Tails persistence partition exists on USB drive "__internal" 7.594
And all notifications have disappeared 10.217
When I delete the persistent partition 6.418
Then there is no persistence partition on USB drive "__internal" 0.429
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.000
Tags: @product
2:17.949
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.641
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 8.860
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.883
Then the expected persistent dotfile is present in the filesystem 0.484
After features/support/hooks.rb:326 0.702
After features/support/hooks.rb:100 0.008
Tags: @product
1:27.456
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.210
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.093
When I try to enable persistence 0.421
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.879
When I log in to a new session after having activated the Persistent Storage 32.155
And all notifications have disappeared 6.542
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.791
And all tps features are enabled 2.435
And all tps features but the first one are active 2.926
After features/support/hooks.rb:326 1.297
After features/support/hooks.rb:100 0.000
Tags: @product
5:39.452
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 4:27.978
And I enable persistence 36.286
And I log in to a new session after having activated the Persistent Storage 28.798
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.259
And persistence is enabled 3.129
After features/support/hooks.rb:326 1.106
After features/support/hooks.rb:100 0.000
Tags: @product
31.625
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 9.182
And I enable persistence but something goes wrong during the LUKS header upgrade 21.626
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.816
After features/support/hooks.rb:326 0.850
After features/support/hooks.rb:100 0.000
Tags: @product
46.255
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.393
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 3.869
When I enable persistence 30.210
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.695
After features/support/hooks.rb:326 0.987
After features/support/hooks.rb:100 0.000
Tags: @product
24.129
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.105
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.726
When I try to enable persistence 0.680
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.363
When I repair the filesystem of the Persistent Storage 1.250
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.196
And the filesystem of the Persistent Storage was repaired 0.093
When I close the filesystem repair dialog 1.262
Then persistence is successfully enabled 1.449
After features/support/hooks.rb:326 0.776
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:38.725
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.093
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.206
When I try to enable persistence 1.458
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.177
When I repair the filesystem of the Persistent Storage 1.270
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 28.744
And all notifications have disappeared 6.956
# 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.772
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.196
When I close the "whisperback" window 1.791
Then the Tor Browser starts 19.248
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.733
After features/support/hooks.rb:326 2.840
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.848
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.215
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.253
And Tails detects disk read failures on the boot device 0.524
When I try to enable persistence 0.698
Then the Welcome Screen tells me that my hardware is probably failing 5.419
When I log in to a new session 22.928
And all notifications have disappeared 6.711
Then the Tor Browser starts 27.097
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.232

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

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

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

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

After features/support/hooks.rb:100 0.000