Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 62 11 Dec 2024, 07:16

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:22.734 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.743
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.217
And I update APT using apt 14.141
And I install "python3-behave" using apt 25.667
Then the Tails Persistent Storage behave tests pass 2.716
After features/support/hooks.rb:326 0.687
After features/support/hooks.rb:100 0.000
Tags: @product
48.629
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 15.087
When I log in to a new session without activating the Persistent Storage 24.105
Then Tails is running from USB drive "__internal" 0.937
And persistence is disabled 0.760
But a Tails persistence partition exists on USB drive "__internal" 7.738
After features/support/hooks.rb:326 1.403
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.912
Before features/support/hooks.rb:269 0.019
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.948
Then Tails is running from USB drive "__internal" 0.462
When I create a file in the Persistent directory 0.133
And I create a persistent partition with the default settings 19.611
Then the file I created was copied to the Persistent Storage 0.508
When I shutdown Tails and wait for the computer to power off 12.648
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.205
Then persistence for "Persistent" is active 0.316
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 1.045
After features/support/hooks.rb:100 0.007
Tags: @product
53.744
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.438
And the system is very low on memory 6.504
When I create a file in the Persistent directory 1.149
When I try to create a persistent partition 18.817
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.197
When I close the Persistent Storage app 2.571
And I free up some memory 1.160
And I create a persistent partition with the default settings 11.644
Then the file I created was copied to the Persistent Storage 0.260
After features/support/hooks.rb:326 1.180
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.473
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.714
Then Tails is running from USB drive "__internal" 0.680
And all tps features are active 2.341
And all persistent directories have safe access rights 2.614
When I disable the first tps feature 5.943
Then all tps features but the first one are active 2.159
And I shutdown Tails and wait for the computer to power off 10.635
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.961
Then all tps features but the first one are active 2.422
After features/support/hooks.rb:326 1.137
After features/support/hooks.rb:100 0.009
Tags: @product
19.016
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.817
Then persistence for "Persistent" is active 0.104
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 5.367
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.042
When I enable the first tps feature 3.307
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.000
Tags: @product
18.507
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.326
Then persistence for "Persistent" is active 0.092
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 5.233
And I delete the data of the Persistent Folder feature 3.725
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 1.108
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.263
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.742
And the network is plugged 0.122
And Tor is ready 21.665
And I take note of which tps features are available 0.592
When I write some files expected to persist 1.498
And I shutdown Tails and wait for the computer to power off 6.592
# 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.048
After features/support/hooks.rb:326 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.918
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.057
And the network is plugged 0.082
And Tor is ready 19.584
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.181
And I shutdown Tails and wait for the computer to power off 8.456
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.311
And I capture all network traffic 0.006
And the network is plugged 0.076
And Tor is ready 19.515
And I switch to the "persistent-con-current" NetworkManager connection 0.377
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.162
After features/support/hooks.rb:326 0.805
After features/support/hooks.rb:100 0.044
Tags: @product
1:2.157
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.331
And I enable persistence creation in Tails Greeter 1.129
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.386
Then I create a persistent partition with the default settings using the wizard that was already open 22.309
After features/support/hooks.rb:326 1.724
After features/support/hooks.rb:100 0.000
Tags: @product
4:19.999
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 14.650
When I enable persistence 41.679
Then no persistent Greeter options were restored 14.852
When I set all Greeter options to non-default values 23.045
And I log in to a new session in German (de) after having activated the Persistent Storage 44.090
Then all Greeter options are set to non-default values 0.343
When I cold reboot the computer 9.501
And the computer reboots Tails 1:6.722
Given I enable persistence 17.542
Then persistent Greeter options were restored 0.608
When I log in to a new session after having activated the Persistent Storage 26.235
Then all Greeter options are set to non-default values 0.725
After features/support/hooks.rb:326 1.451
After features/support/hooks.rb:100 0.007
Tags: @product
3:44.204
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.747
# 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 34.364
And I shutdown Tails and wait for the computer to power off 8.693
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.878
And I change the passphrase of the Persistent Storage back to the original 39.521
After features/support/hooks.rb:326 2.465
After features/support/hooks.rb:100 0.010
Tags: @product
57.705
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.874
And I log in to a new session without activating the Persistent Storage 21.707
Then persistence is disabled 0.487
But a Tails persistence partition exists on USB drive "__internal" 8.307
And all notifications have disappeared 9.814
When I delete the persistent partition 7.096
Then there is no persistence partition on USB drive "__internal" 0.417
After features/support/hooks.rb:326 0.795
After features/support/hooks.rb:100 0.000
Tags: @product
2:14.301
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.874
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 8.479
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.406
Then the expected persistent dotfile is present in the filesystem 0.473
After features/support/hooks.rb:326 0.695
After features/support/hooks.rb:100 0.010
Tags: @product
1:28.317
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.948
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.076
When I try to enable persistence 0.376
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.537
When I log in to a new session after having activated the Persistent Storage 34.884
And all notifications have disappeared 7.365
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.714
And all tps features are enabled 2.158
And all tps features but the first one are active 2.256
After features/support/hooks.rb:326 1.150
After features/support/hooks.rb:100 0.000
Tags: @product
5:20.689
Before features/support/hooks.rb:269 0.006
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:7.131
And I enable persistence 36.274
And I log in to a new session after having activated the Persistent Storage 33.811
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.980
And persistence is enabled 2.491
After features/support/hooks.rb:326 1.848
After features/support/hooks.rb:100 0.000
Tags: @product
43.699
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 22.780
And I enable persistence but something goes wrong during the LUKS header upgrade 20.128
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.790
After features/support/hooks.rb:326 0.810
After features/support/hooks.rb:100 0.000
Tags: @product
43.892
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.613
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.352
When I enable persistence 27.124
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.704
After features/support/hooks.rb:326 0.917
After features/support/hooks.rb:100 0.000
Tags: @product
23.419
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 8.515
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.101
When I try to enable persistence 0.558
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.173
When I repair the filesystem of the Persistent Storage 1.193
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.209
And the filesystem of the Persistent Storage was repaired 0.058
When I close the filesystem repair dialog 1.241
Then persistence is successfully enabled 1.367
After features/support/hooks.rb:326 0.757
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:40.633
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 8.293
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.126
When I try to enable persistence 1.516
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.767
When I repair the filesystem of the Persistent Storage 1.523
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.068
When I log in to a new session 29.250
And all notifications have disappeared 7.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" 1.160
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.174
When I close the "whisperback" window 1.482
Then the Tor Browser starts 21.228
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.867
After features/support/hooks.rb:326 2.643
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.504
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.006
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.936
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.312
And Tails detects disk read failures on the boot device 0.493
When I try to enable persistence 0.550
Then the Welcome Screen tells me that my hardware is probably failing 4.675
When I log in to a new session 23.761
And all notifications have disappeared 5.238
Then the Tor Browser starts 29.537
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.438

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

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

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

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

After features/support/hooks.rb:100 0.000