Project Number Date
test_Tails_ISO_20575-disable-cups-browsed 10 08 Oct 2024, 00:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 2 0 0 0 157 19 2 21 43:31.770 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:12.311
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:29.637
And I update APT using apt 15.195
And I install "python3-behave" using apt 25.434
Then the Tails Persistent Storage behave tests pass 2.043
After features/support/hooks.rb:326 0.798
After features/support/hooks.rb:100 0.000
Tags: @product
39.856
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 11.440
When I log in to a new session without activating the Persistent Storage 21.334
Then Tails is running from USB drive "__internal" 0.701
And persistence is disabled 0.288
But a Tails persistence partition exists on USB drive "__internal" 6.091
After features/support/hooks.rb:326 1.908
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.027
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.869
Then Tails is running from USB drive "__internal" 0.569
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 22.942
Then the file I created was copied to the Persistent Storage 0.662
When I shutdown Tails and wait for the computer to power off 12.484
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.002
Then persistence for "Persistent" is active 0.303
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.821
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.333
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.831
And the system is very low on memory 4.633
When I create a file in the Persistent directory 1.344
When I try to create a persistent partition 28.645
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.258
When I close the Persistent Storage app 2.491
And I free up some memory 1.491
And I create a persistent partition with the default settings 12.387
Then the file I created was copied to the Persistent Storage 0.250
After features/support/hooks.rb:326 1.355
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.598
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.701
Then Tails is running from USB drive "__internal" 0.344
And all tps features are active 2.412
And all persistent directories have safe access rights 2.388
When I disable the first tps feature 5.426
Then all tps features but the first one are active 2.023
And I shutdown Tails and wait for the computer to power off 10.670
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.186
Then all tps features but the first one are active 2.444
After features/support/hooks.rb:326 0.855
After features/support/hooks.rb:100 0.008
Tags: @product
19.013
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.741
Then persistence for "Persistent" is active 0.326
And I create a file in the Persistent directory 0.099
Then the file I created was copied to the Persistent Storage 0.065
When I disable the first tps feature 5.471
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.046
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 1.061
After features/support/hooks.rb:100 0.000
Tags: @product
18.829
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.531
Then persistence for "Persistent" is active 0.127
When I create a file in the Persistent directory 0.062
And I disable the first tps feature 5.497
And I delete the data of the Persistent Folder feature 3.545
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 0.926
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.186
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.863
And the network is plugged 0.093
And Tor is ready 16.447
And I take note of which tps features are available 0.566
When I write some files expected to persist 1.437
And I shutdown Tails and wait for the computer to power off 8.673
# 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.102
After features/support/hooks.rb:326 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.413
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.349
And the network is plugged 0.128
And Tor is ready 18.213
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.222
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:2.773
And I capture all network traffic 0.014
And the network is plugged 0.094
And Tor is ready 19.475
And I switch to the "persistent-con-current" NetworkManager connection 0.328
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.128
After features/support/hooks.rb:326 0.568
After features/support/hooks.rb:100 0.052
Tags: @product
51.572
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 10.868
And I enable persistence creation in Tails Greeter 1.112
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.593
Then I create a persistent partition with the default settings using the wizard that was already open 19.998
After features/support/hooks.rb:326 1.339
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.506
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 12.007
When I enable persistence 34.811
Then no persistent Greeter options were restored 14.085
When I set all Greeter options to non-default values 24.589
And I log in to a new session in German (de) after having activated the Persistent Storage 52.167
Then all Greeter options are set to non-default values 0.492
When I cold reboot the computer 8.173
And the computer reboots Tails 59.289
Given I enable persistence 31.767
Then persistent Greeter options were restored 15.005
When I log in to a new session after having activated the Persistent Storage 41.806
Then all Greeter options are set to non-default values 0.309
After features/support/hooks.rb:326 1.063
After features/support/hooks.rb:100 0.008
Tags: @product
3:36.784
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.788
# 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 35.292
And I shutdown Tails and wait for the computer to power off 12.679
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:1.534
And I change the passphrase of the Persistent Storage back to the original 37.489
After features/support/hooks.rb:326 1.953
After features/support/hooks.rb:100 0.008
Tags: @product
56.737
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 10.675
And I log in to a new session without activating the Persistent Storage 20.457
Then persistence is disabled 0.369
But a Tails persistence partition exists on USB drive "__internal" 9.236
And all notifications have disappeared 9.538
When I delete the persistent partition 5.913
Then there is no persistence partition on USB drive "__internal" 0.547
After features/support/hooks.rb:326 1.003
After features/support/hooks.rb:100 0.000
Tags: @product
2:20.224
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.034
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 8.489
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.225
Then the expected persistent dotfile is present in the filesystem 0.407
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.008
Tags: @product
1:35.728
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.878
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.066
When I try to enable persistence 0.267
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.078
When I log in to a new session after having activated the Persistent Storage 41.391
And all notifications have disappeared 8.942
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.721
And all tps features are enabled 2.287
And all tps features but the first one are active 2.095
After features/support/hooks.rb:326 1.404
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.948
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 3:23.803
And I enable persistence 34.248
And I log in to a new session after having activated the Persistent Storage 39.805
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.994
And persistence is enabled 0.096
After features/support/hooks.rb:326 1.628
After features/support/hooks.rb:100 0.000
Tags: @product
29.174
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 8.889
And I enable persistence but something goes wrong during the LUKS header upgrade 19.573
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.712
After features/support/hooks.rb:326 0.743
After features/support/hooks.rb:100 0.000
Tags: @product
40.282
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.810
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.963
When I enable persistence 26.062
Then the filesystem of the Persistent Storage was repaired 0.112
And persistence is successfully enabled 0.332
After features/support/hooks.rb:326 1.118
After features/support/hooks.rb:100 0.000
Tags: @product
24.221
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.015
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.641
When I try to enable persistence 0.391
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.997
When I repair the filesystem of the Persistent Storage 1.242
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.239
And the filesystem of the Persistent Storage was repaired 0.064
When I close the filesystem repair dialog 1.254
Then persistence is successfully enabled 0.374
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.047
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.005
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.548
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 0.259
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.424
When I repair the filesystem of the Persistent Storage 1.263
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 39.731
And all notifications have disappeared 8.590
# 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.626
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.169
When I close the "whisperback" window 1.839
Then the Tor Browser starts 15.337
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.083
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/browser.rb:200:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:215:in `/^"([^"]+)" has loaded in the Tor Browser$/'
features/persistence.feature:201:in `And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser'
After features/support/hooks.rb:326 7.391

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:23:13)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/10/artifact/build-artifacts/03:23:13_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/10/artifact/build-artifacts/03:23:13_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/10/artifact/build-artifacts/03:23:13_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/10/artifact/build-artifacts/03:23:13_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:8.971
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.103
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.768
And Tails detects disk read failures on the boot device 1.700
When I try to enable persistence 0.387
Then the Welcome Screen tells me that my hardware is probably failing 4.743
When I log in to a new session 20.494
And all notifications have disappeared 7.208
Then the Tor Browser starts 19.465
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 3:0.100
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/browser.rb:200:in `page_has_loaded_in_the_tor_browser'
./features/step_definitions/browser.rb:215:in `/^"([^"]+)" has loaded in the Tor Browser$/'
features/persistence.feature:212:in `And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser'
After features/support/hooks.rb:326 5.640

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/10/artifact/build-artifacts/03:27:29_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/10/artifact/build-artifacts/03:27:29_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/10/artifact/build-artifacts/03:27:29_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/10/artifact/build-artifacts/03:27:29_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000