Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 28 19 Aug 2024, 17:11

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 133 1 5 0 0 139 19 1 20 45:21.540 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:32.820
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.485
And I update APT using apt 20.400
And I install "python3-behave" using apt 25.680
Then the Tails Persistent Storage behave tests pass 3.254
After features/support/hooks.rb:326 0.645
After features/support/hooks.rb:100 0.000
Tags: @product
52.109
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.239
When I log in to a new session without activating the Persistent Storage 25.582
Then Tails is running from USB drive "__internal" 0.596
And persistence is disabled 0.513
But a Tails persistence partition exists on USB drive "__internal" 10.177
After features/support/hooks.rb:326 1.424
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.875
Before features/support/hooks.rb:269 0.096
Given I have started Tails without network from a USB drive without a persistent partition and logged in 19.018
Then Tails is running from USB drive "__internal" 0.507
When I create a file in the Persistent directory 0.153
And I create a persistent partition with the default settings 30.814
Then the file I created was copied to the Persistent Storage 0.629
When I shutdown Tails and wait for the computer to power off 12.849
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.237
Then persistence for "Persistent" is active 1.589
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 1.024
After features/support/hooks.rb:100 0.012
Tags: @product
1:4.079
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 20.240
And the system is very low on memory 4.668
When I create a file in the Persistent directory 1.202
When I try to create a persistent partition 18.716
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.185
When I close the Persistent Storage app 2.659
And I free up some memory 1.370
And I create a persistent partition with the default settings 14.770
Then the file I created was copied to the Persistent Storage 0.265
After features/support/hooks.rb:326 1.189
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.099
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 19.375
Then Tails is running from USB drive "__internal" 0.914
And all tps features are active 3.314
And all persistent directories have safe access rights 3.314
When I disable the first tps feature 5.984
Then all tps features but the first one are active 3.023
And I shutdown Tails and wait for the computer to power off 12.229
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.245
Then all tps features but the first one are active 2.697
After features/support/hooks.rb:326 0.734
After features/support/hooks.rb:100 0.043
Tags: @product
21.291
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 11.840
Then persistence for "Persistent" is active 0.647
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.078
When I disable the first tps feature 5.226
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.118
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.893
After features/support/hooks.rb:100 0.000
Tags: @product
23.816
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.838
Then persistence for "Persistent" is active 0.455
When I create a file in the Persistent directory 0.084
And I disable the first tps feature 8.747
And I delete the data of the Persistent Folder feature 3.633
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 1.903
After features/support/hooks.rb:100 0.000
Tags: @product
1:20.904
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 13.758
And the network is plugged 0.987
And Tor is ready 24.064
And I take note of which tps features are available 2.616
When I write some files expected to persist 1.560
And I shutdown Tails and wait for the computer to power off 11.605
# 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" 26.312
After features/support/hooks.rb:326 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.633
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 11.052
And the network is plugged 0.102
And Tor is ready 17.150
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.230
And I shutdown Tails and wait for the computer to power off 8.745
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.112
And I capture all network traffic 0.009
And the network is plugged 0.120
And Tor is ready 21.385
And I switch to the "persistent-con-current" NetworkManager connection 0.403
And the 1st network device has a spoofed MAC address configured 0.074
And no network device leaked the real MAC address 0.245
After features/support/hooks.rb:326 0.806
After features/support/hooks.rb:100 0.048
Tags: @product
1:31.284
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 46.283
And I enable persistence creation in Tails Greeter 1.136
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.727
Then I create a persistent partition with the default settings using the wizard that was already open 23.136
After features/support/hooks.rb:326 2.039
After features/support/hooks.rb:100 0.000
Tags: @product
5:36.383
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 42.782
When I enable persistence 45.864
Then no persistent Greeter options were restored 14.503
When I set all Greeter options to non-default values 26.548
And I log in to a new session in German (de) after having activated the Persistent Storage 52.718
Then all Greeter options are set to non-default values 0.711
When I cold reboot the computer 7.347
And the computer reboots Tails 59.271
Given I enable persistence 32.280
Then persistent Greeter options were restored 15.381
When I log in to a new session after having activated the Persistent Storage 38.198
Then all Greeter options are set to non-default values 0.775
After features/support/hooks.rb:326 1.136
After features/support/hooks.rb:100 0.010
Tags: @product
4:10.104
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.717
# 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 45.143
And I shutdown Tails and wait for the computer to power off 13.595
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.494
And I change the passphrase of the Persistent Storage back to the original 34.152
After features/support/hooks.rb:326 1.919
After features/support/hooks.rb:100 0.011
Tags: @product
1:0.056
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 10.726
And I log in to a new session without activating the Persistent Storage 22.348
Then persistence is disabled 0.343
But a Tails persistence partition exists on USB drive "__internal" 9.923
And all notifications have disappeared 9.579
When I delete the persistent partition 6.690
Then there is no persistence partition on USB drive "__internal" 0.445
After features/support/hooks.rb:326 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.369
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.720
When I write some dotfile expected to persist 0.483
And I shutdown Tails and wait for the computer to power off 8.668
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.108
Then the expected persistent dotfile is present in the filesystem 0.388
After features/support/hooks.rb:326 0.955
After features/support/hooks.rb:100 0.022
Tags: @product
1:44.529
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 9.056
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.311
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.318
When I log in to a new session after having activated the Persistent Storage 44.380
And all notifications have disappeared 8.221
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.978
And all tps features are enabled 2.762
And all tps features but the first one are active 2.407
After features/support/hooks.rb:326 1.105
After features/support/hooks.rb:100 0.000
Tags: @product
9:3.226
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 7:31.334
And I enable persistence 40.860
And I log in to a new session after having activated the Persistent Storage 46.204
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.625
And persistence is enabled 0.200
After features/support/hooks.rb:326 1.208
After features/support/hooks.rb:100 0.000
Tags: @product
42.209
Before features/support/hooks.rb:269 0.007
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 12.382
And I enable persistence but something goes wrong during the LUKS header upgrade 28.950
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.877
After features/support/hooks.rb:326 0.882
After features/support/hooks.rb:100 0.000
Tags: @product
55.602
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.322
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.865
When I enable persistence 38.303
Then the filesystem of the Persistent Storage was repaired 0.110
After features/support/hooks.rb:326 1.327
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.273
Scenario Manual filesystem repair
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.687
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.071
When I try to enable persistence 0.511
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.001
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/usb.rb:1733:in `/^the Welcome Screen tells me that filesystem errors were found on the Persistent Storage$/'
features/persistence.feature:175:in `Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage'
When I repair the filesystem of the Persistent Storage 0.000
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.000
And the filesystem of the Persistent Storage was repaired 0.000
When I close the filesystem repair dialog 0.000
Then persistence is successfully enabled 0.000
After features/support/hooks.rb:326 10.731

SCENARIO FAILED: 'Manual filesystem repair' (at time 04:03:12)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/28/artifact/build-artifacts/04:03:12_Manual_filesystem_repair.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/28/artifact/build-artifacts/04:03:12_Manual_filesystem_repair.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/28/artifact/build-artifacts/04:03:12_Manual_filesystem_repair.journal

After features/support/hooks.rb:100 0.000
Tags: @product
23.869
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.811
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.289
And Tails detects disk read failures on the boot device 1.610
When I try to enable persistence 0.397
Then the Welcome Screen tells me that my hardware is probably failing 6.760
After features/support/hooks.rb:326 1.265
After features/support/hooks.rb:100 0.000