Project Number Date
test_Tails_ISO_20575-disable-cups-browsed 4 02 Oct 2024, 01:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 1 5 0 0 157 20 1 21 56:56.222 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:8.725
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:30.260
And I update APT using apt 12.800
And I install "python3-behave" using apt 22.870
Then the Tails Persistent Storage behave tests pass 2.793
After features/support/hooks.rb:326 0.653
After features/support/hooks.rb:100 0.000
Tags: @product
40.655
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.856
When I log in to a new session without activating the Persistent Storage 20.836
Then Tails is running from USB drive "__internal" 0.429
And persistence is disabled 0.549
But a Tails persistence partition exists on USB drive "__internal" 6.982
After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.817
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.943
Then Tails is running from USB drive "__internal" 0.371
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 23.605
Then the file I created was copied to the Persistent Storage 0.650
When I shutdown Tails and wait for the computer to power off 12.441
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.321
Then persistence for "Persistent" is active 0.286
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.110
After features/support/hooks.rb:100 0.008
Tags: @product
55.991
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 10.631
And the system is very low on memory 4.426
When I create a file in the Persistent directory 0.864
When I try to create a persistent partition 22.753
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.221
When I close the Persistent Storage app 2.555
And I free up some memory 1.723
And I create a persistent partition with the default settings 12.588
Then the file I created was copied to the Persistent Storage 0.225
After features/support/hooks.rb:326 1.574
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.166
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.131
Then Tails is running from USB drive "__internal" 0.565
And all tps features are active 2.344
And all persistent directories have safe access rights 2.367
When I disable the first tps feature 5.172
Then all tps features but the first one are active 2.002
And I shutdown Tails and wait for the computer to power off 8.859
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:51.664
Then all tps features but the first one are active 2.057
After features/support/hooks.rb:326 0.614
After features/support/hooks.rb:100 0.008
Tags: @product
21.590
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 10.294
Then persistence for "Persistent" is active 0.218
And I create a file in the Persistent directory 0.107
Then the file I created was copied to the Persistent Storage 0.083
When I disable the first tps feature 7.026
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.584
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.986
After features/support/hooks.rb:100 0.000
Tags: @product
19.091
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.792
Then persistence for "Persistent" is active 0.113
When I create a file in the Persistent directory 0.067
And I disable the first tps feature 5.472
And I delete the data of the Persistent Folder feature 3.581
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 0.952
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.870
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.460
And the network is plugged 0.088
And Tor is ready 18.553
And I take note of which tps features are available 0.598
When I write some files expected to persist 1.420
And I shutdown Tails and wait for the computer to power off 8.754
# 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.995
After features/support/hooks.rb:326 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.852
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 8.904
And the network is plugged 0.083
And Tor is ready 19.978
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.183
And I shutdown Tails and wait for the computer to power off 8.432
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.966
And I capture all network traffic 0.004
And the network is plugged 0.076
And Tor is ready 21.604
And I switch to the "persistent-con-current" NetworkManager connection 0.318
And the 1st network device has a spoofed MAC address configured 0.093
And no network device leaked the real MAC address 0.207
After features/support/hooks.rb:326 0.691
After features/support/hooks.rb:100 0.047
Tags: @product
54.641
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 11.956
And I enable persistence creation in Tails Greeter 1.109
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.569
Then I create a persistent partition with the default settings using the wizard that was already open 21.006
After features/support/hooks.rb:326 1.868
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.737
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 12.390
When I enable persistence 38.247
Then no persistent Greeter options were restored 14.097
When I set all Greeter options to non-default values 25.439
And I log in to a new session in German (de) after having activated the Persistent Storage 53.987
Then all Greeter options are set to non-default values 0.217
When I cold reboot the computer 7.308
And the computer reboots Tails 57.916
Given I enable persistence 31.388
Then persistent Greeter options were restored 14.948
When I log in to a new session after having activated the Persistent Storage 40.518
Then all Greeter options are set to non-default values 0.278
After features/support/hooks.rb:326 0.831
After features/support/hooks.rb:100 0.008
Tags: @product
3:38.543
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.925
# 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.227
And I shutdown Tails and wait for the computer to power off 12.760
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.841
And I change the passphrase of the Persistent Storage back to the original 36.787
After features/support/hooks.rb:326 2.075
After features/support/hooks.rb:100 0.016
Tags: @product
52.658
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 10.125
And I log in to a new session without activating the Persistent Storage 20.117
Then persistence is disabled 0.492
But a Tails persistence partition exists on USB drive "__internal" 5.400
And all notifications have disappeared 9.388
When I delete the persistent partition 6.597
Then there is no persistence partition on USB drive "__internal" 0.537
After features/support/hooks.rb:326 0.925
After features/support/hooks.rb:100 0.000
Tags: @product
2:15.641
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.383
When I write some dotfile expected to persist 0.088
And I shutdown Tails and wait for the computer to power off 8.504
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.262
Then the expected persistent dotfile is present in the filesystem 0.402
After features/support/hooks.rb:326 0.579
After features/support/hooks.rb:100 0.008
Tags: @product
1:36.067
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.817
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.072
When I try to enable persistence 0.268
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.817
When I log in to a new session after having activated the Persistent Storage 44.180
And all notifications have disappeared 7.912
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.287
And all tps features but the first one are active 1.918
After features/support/hooks.rb:326 1.412
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.359
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:21.355
And I enable persistence 32.311
And I log in to a new session after having activated the Persistent Storage 45.381
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.159
And persistence is enabled 0.150
After features/support/hooks.rb:326 1.393
After features/support/hooks.rb:100 0.000
Tags: @product
27.417
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.361
And I enable persistence but something goes wrong during the LUKS header upgrade 18.316
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.739
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
43.588
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.129
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.222
When I enable persistence 28.808
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 0.335
After features/support/hooks.rb:326 1.365
After features/support/hooks.rb:100 0.000
Tags: @product
24.715
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.825
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.377
When I try to enable persistence 1.499
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.872
When I repair the filesystem of the Persistent Storage 1.196
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.226
And the filesystem of the Persistent Storage was repaired 0.064
When I close the filesystem repair dialog 1.226
Then persistence is successfully enabled 0.425
After features/support/hooks.rb:326 0.886
After features/support/hooks.rb:100 0.000
Tags: @product
21:17.299
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:269 0.026
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.724
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.820
When I repair the filesystem of the Persistent Storage 1.217
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.888
When I log in to a new session 34.134
And all notifications have disappeared 20:0.126
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:715:in `new'
./features/step_definitions/common_steps.rb:715:in `/^all notifications have disappeared$/'
features/persistence.feature:191:in `And all notifications have disappeared'
# 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.000
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.000
When I close the "whisperback" window 0.000
Then the Tor Browser starts 0.000
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:326 10.811

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 03:45:55)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/4/artifact/build-artifacts/03:45:55_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/4/artifact/build-artifacts/03:45:55_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/4/artifact/build-artifacts/03:45:55_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:12.790
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.778
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.537
And Tails detects disk read failures on the boot device 1.534
When I try to enable persistence 1.423
Then the Welcome Screen tells me that my hardware is probably failing 5.564
When I log in to a new session 19.749
And all notifications have disappeared 7.332
Then the Tor Browser starts 21.588
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 1.282
After features/support/hooks.rb:326 1.338
After features/support/hooks.rb:100 0.000