Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 27 18 Aug 2024, 16:35

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 43:8.021 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.396
Before features/support/hooks.rb:269 0.020
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.883
And I update APT using apt 19.002
And I install "python3-behave" using apt 22.599
Then the Tails Persistent Storage behave tests pass 5.911
After features/support/hooks.rb:326 0.981
After features/support/hooks.rb:100 0.000
Tags: @product
42.981
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 13.538
When I log in to a new session without activating the Persistent Storage 21.827
Then Tails is running from USB drive "__internal" 0.375
And persistence is disabled 0.382
But a Tails persistence partition exists on USB drive "__internal" 6.858
After features/support/hooks.rb:326 1.222
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.704
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.529
Then Tails is running from USB drive "__internal" 0.596
When I create a file in the Persistent directory 0.146
And I create a persistent partition with the default settings 25.153
Then the file I created was copied to the Persistent Storage 0.669
When I shutdown Tails and wait for the computer to power off 12.642
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.259
Then persistence for "Persistent" is active 1.603
And the file I created in the Persistent directory exists 0.102
After features/support/hooks.rb:326 1.315
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.591
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 13.442
And the system is very low on memory 5.572
When I create a file in the Persistent directory 1.050
When I try to create a persistent partition 27.084
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.132
When I close the Persistent Storage app 2.536
And I free up some memory 1.445
And I create a persistent partition with the default settings 14.056
Then the file I created was copied to the Persistent Storage 0.270
After features/support/hooks.rb:326 1.720
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.253
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.790
Then Tails is running from USB drive "__internal" 0.762
And all tps features are active 3.075
And all persistent directories have safe access rights 2.541
When I disable the first tps feature 6.405
Then all tps features but the first one are active 2.056
And I shutdown Tails and wait for the computer to power off 12.638
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.565
Then all tps features but the first one are active 2.418
After features/support/hooks.rb:326 0.626
After features/support/hooks.rb:100 0.010
Tags: @product
20.782
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.604
Then persistence for "Persistent" is active 0.092
And I create a file in the Persistent directory 0.057
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 6.178
Then persistence for "Persistent" is not active 0.147
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.414
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.000
Tags: @product
21.410
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.111
Then persistence for "Persistent" is active 0.086
When I create a file in the Persistent directory 1.068
And I disable the first tps feature 6.407
And I delete the data of the Persistent Folder feature 3.679
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 0.950
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.343
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 11.083
And the network is plugged 0.077
And Tor is ready 20.395
And I take note of which tps features are available 0.580
When I write some files expected to persist 1.393
And I shutdown Tails and wait for the computer to power off 8.637
# 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.175
After features/support/hooks.rb:326 0.171
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.008
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.887
And the network is plugged 0.111
And Tor is ready 21.916
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.198
And I shutdown Tails and wait for the computer to power off 8.583
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.063
And I capture all network traffic 0.007
And the network is plugged 0.081
And Tor is ready 19.261
And I switch to the "persistent-con-current" NetworkManager connection 0.489
And the 1st network device has a spoofed MAC address configured 0.137
And no network device leaked the real MAC address 0.269
After features/support/hooks.rb:326 0.637
After features/support/hooks.rb:100 0.060
Tags: @product
55.556
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 12.475
And I enable persistence creation in Tails Greeter 1.144
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.972
Then I create a persistent partition with the default settings using the wizard that was already open 21.963
After features/support/hooks.rb:326 1.732
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.606
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 11.811
When I enable persistence 39.004
Then no persistent Greeter options were restored 14.254
When I set all Greeter options to non-default values 23.941
And I log in to a new session in German (de) after having activated the Persistent Storage 48.356
Then all Greeter options are set to non-default values 2.460
When I cold reboot the computer 7.402
And the computer reboots Tails 1:0.050
Given I enable persistence 32.032
Then persistent Greeter options were restored 15.356
When I log in to a new session after having activated the Persistent Storage 36.457
Then all Greeter options are set to non-default values 0.477
After features/support/hooks.rb:326 1.074
After features/support/hooks.rb:100 0.008
Tags: @product
3:32.680
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.786
# 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 33.147
And I shutdown Tails and wait for the computer to power off 12.313
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.950
And I change the passphrase of the Persistent Storage back to the original 28.482
After features/support/hooks.rb:326 2.077
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.262
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.910
And I log in to a new session without activating the Persistent Storage 24.571
Then persistence is disabled 0.333
But a Tails persistence partition exists on USB drive "__internal" 10.225
And all notifications have disappeared 9.811
When I delete the persistent partition 5.833
Then there is no persistence partition on USB drive "__internal" 0.576
After features/support/hooks.rb:326 0.956
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.019
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 26.167
When I write some dotfile expected to persist 0.080
And I shutdown Tails and wait for the computer to power off 8.637
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.683
Then the expected persistent dotfile is present in the filesystem 0.449
After features/support/hooks.rb:326 1.076
After features/support/hooks.rb:100 0.008
Tags: @product
2:2.205
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.595
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 1.499
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 43.046
When I log in to a new session after having activated the Persistent Storage 39.397
And all notifications have disappeared 8.072
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.673
And all tps features are enabled 7.692
And all tps features but the first one are active 4.140
After features/support/hooks.rb:326 1.429
After features/support/hooks.rb:100 0.000
Tags: @product
9:22.396
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 8:1.527
And I enable persistence 33.066
And I log in to a new session after having activated the Persistent Storage 46.225
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.335
And persistence is enabled 0.241
After features/support/hooks.rb:326 2.079
After features/support/hooks.rb:100 0.000
Tags: @product
32.316
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 9.710
And I enable persistence but something goes wrong during the LUKS header upgrade 21.810
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.795
After features/support/hooks.rb:326 0.826
After features/support/hooks.rb:100 0.000
Tags: @product
45.031
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 9.630
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.607
When I enable persistence 29.676
Then the filesystem of the Persistent Storage was repaired 0.117
After features/support/hooks.rb:326 1.308
After features/support/hooks.rb:100 0.000
Tags: @product
1:20.004
Scenario Manual filesystem repair
Before features/support/hooks.rb:269 0.007
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.142
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.257
When I try to enable persistence 1.603
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.651

SCENARIO FAILED: 'Manual filesystem repair' (at time 03:34:01)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/27/artifact/build-artifacts/03:34:01_Manual_filesystem_repair.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/27/artifact/build-artifacts/03:34:01_Manual_filesystem_repair.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/27/artifact/build-artifacts/03:34:01_Manual_filesystem_repair.journal

After features/support/hooks.rb:100 0.000
Tags: @product
26.468
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.789
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.151
And Tails detects disk read failures on the boot device 1.640
When I try to enable persistence 0.755
Then the Welcome Screen tells me that my hardware is probably failing 6.132
After features/support/hooks.rb:326 0.897
After features/support/hooks.rb:100 0.000