Project Number Date
test_Tails_ISO_20522-ocr-more 27 05 Jan 2025, 05:04

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:36.711 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.407
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:39.075
And I update APT using apt 13.372
And I install "python3-behave" using apt 25.615
Then the Tails Persistent Storage behave tests pass 2.344
After features/support/hooks.rb:326 0.622
After features/support/hooks.rb:100 0.000
Tags: @product
47.489
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 13.352
When I log in to a new session without activating the Persistent Storage 24.280
Then Tails is running from USB drive "__internal" 0.785
And persistence is disabled 0.703
But a Tails persistence partition exists on USB drive "__internal" 8.368
After features/support/hooks.rb:326 1.603
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.009
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 14.064
Then Tails is running from USB drive "__internal" 0.567
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 20.481
Then the file I created was copied to the Persistent Storage 0.463
When I shutdown Tails and wait for the computer to power off 12.535
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.335
Then persistence for "Persistent" is active 0.332
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:326 1.528
After features/support/hooks.rb:100 0.021
Tags: @product
55.237
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 12.579
And the system is very low on memory 3.155
When I create a file in the Persistent directory 0.722
When I try to create a persistent partition 20.703
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.414
When I close the Persistent Storage app 3.329
And I free up some memory 1.215
And I create a persistent partition with the default settings 12.864
Then the file I created was copied to the Persistent Storage 0.252
After features/support/hooks.rb:326 1.301
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.420
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 11.780
Then Tails is running from USB drive "__internal" 0.754
And all tps features are active 2.412
And all persistent directories have safe access rights 3.080
When I disable the first tps feature 5.086
Then all tps features but the first one are active 2.087
And I shutdown Tails and wait for the computer to power off 10.521
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.346
Then all tps features but the first one are active 2.349
After features/support/hooks.rb:326 1.330
After features/support/hooks.rb:100 0.006
Tags: @product
19.173
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.643
Then persistence for "Persistent" is active 0.111
And I create a file in the Persistent directory 0.068
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 5.628
Then persistence for "Persistent" is not active 0.114
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.318
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 1.052
After features/support/hooks.rb:100 0.000
Tags: @product
19.600
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.639
Then persistence for "Persistent" is active 0.120
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 5.972
And I delete the data of the Persistent Folder feature 3.738
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 1.657
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.317
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.380
And the network is plugged 0.139
And Tor is ready 18.094
And I take note of which tps features are available 0.690
When I write some files expected to persist 1.461
And I shutdown Tails and wait for the computer to power off 8.438
# 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.114
After features/support/hooks.rb:326 0.150
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.198
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.610
And the network is plugged 0.171
And Tor is ready 18.428
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.239
And I shutdown Tails and wait for the computer to power off 8.468
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.481
And I capture all network traffic 0.012
And the network is plugged 0.079
And Tor is ready 18.017
And I switch to the "persistent-con-current" NetworkManager connection 0.409
And the 1st network device has a spoofed MAC address configured 0.141
And no network device leaked the real MAC address 0.138
After features/support/hooks.rb:326 0.985
After features/support/hooks.rb:100 0.062
Tags: @product
1:4.724
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.315
And I enable persistence creation in Tails Greeter 1.182
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.313
Then I create a persistent partition with the default settings using the wizard that was already open 21.913
After features/support/hooks.rb:326 1.897
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.955
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 13.883
When I enable persistence 40.654
Then no persistent Greeter options were restored 15.068
When I set all Greeter options to non-default values 22.625
And I log in to a new session in German (de) after having activated the Persistent Storage 41.964
Then all Greeter options are set to non-default values 1.018
When I cold reboot the computer 9.658
And the computer reboots Tails 1:4.408
Given I enable persistence 19.038
Then persistent Greeter options were restored 0.555
When I log in to a new session after having activated the Persistent Storage 25.218
Then all Greeter options are set to non-default values 0.861
After features/support/hooks.rb:326 2.833
After features/support/hooks.rb:100 0.007
Tags: @product
3:27.626
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.169
# 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.569
And I shutdown Tails and wait for the computer to power off 10.580
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:57.786
And I change the passphrase of the Persistent Storage back to the original 30.520
After features/support/hooks.rb:326 2.063
After features/support/hooks.rb:100 0.006
Tags: @product
57.682
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.008
And I log in to a new session without activating the Persistent Storage 22.451
Then persistence is disabled 0.547
But a Tails persistence partition exists on USB drive "__internal" 8.087
And all notifications have disappeared 9.371
When I delete the persistent partition 6.870
Then there is no persistence partition on USB drive "__internal" 0.346
After features/support/hooks.rb:326 0.793
After features/support/hooks.rb:100 0.000
Tags: @product
2:18.596
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 11.007
When I write some dotfile expected to persist 0.098
And I shutdown Tails and wait for the computer to power off 10.663
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.277
Then the expected persistent dotfile is present in the filesystem 0.549
After features/support/hooks.rb:326 1.254
After features/support/hooks.rb:100 0.005
Tags: @product
1:21.843
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.008
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.120
When I try to enable persistence 0.372
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.991
When I log in to a new session after having activated the Persistent Storage 27.394
And all notifications have disappeared 7.356
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.942
And all tps features are enabled 2.376
And all tps features but the first one are active 2.280
After features/support/hooks.rb:326 1.311
After features/support/hooks.rb:100 0.000
Tags: @product
5:16.043
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:59.098
And I enable persistence 36.684
And I log in to a new session after having activated the Persistent Storage 36.457
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.307
And persistence is enabled 2.496
After features/support/hooks.rb:326 1.256
After features/support/hooks.rb:100 0.000
Tags: @product
30.537
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 8.916
And I enable persistence but something goes wrong during the LUKS header upgrade 20.932
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.688
After features/support/hooks.rb:326 0.677
After features/support/hooks.rb:100 0.000
Tags: @product
57.004
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.824
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 3.846
When I enable persistence 41.610
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.634
After features/support/hooks.rb:326 1.473
After features/support/hooks.rb:100 0.000
Tags: @product
23.295
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.609
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.503
When I try to enable persistence 0.774
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.177
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.240
And the filesystem of the Persistent Storage was repaired 0.089
When I close the filesystem repair dialog 1.294
Then persistence is successfully enabled 1.345
After features/support/hooks.rb:326 0.778
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:30.468
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.590
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 0.435
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.179
When I repair the filesystem of the Persistent Storage 1.525
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 28.443
And all notifications have disappeared 6.436
# 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.020
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.262
When I close the "whisperback" window 1.850
Then the Tor Browser starts 17.569
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.979
After features/support/hooks.rb:326 2.257
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.078
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.903
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.572
And Tails detects disk read failures on the boot device 1.538
When I try to enable persistence 0.660
Then the Welcome Screen tells me that my hardware is probably failing 4.513
When I log in to a new session 23.865
And all notifications have disappeared 5.792
Then the Tor Browser starts 28.232
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.604

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:30:29)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/27/artifact/build-artifacts/03:30:29_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/27/artifact/build-artifacts/03:30:29_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/27/artifact/build-artifacts/03:30:29_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20522-ocr-more/27/artifact/build-artifacts/03:30:29_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000