Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 26 17 Aug 2024, 16:31

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 37:40.736 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.017
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:36.630
And I update APT using apt 18.504
And I install "python3-behave" using apt 22.578
Then the Tails Persistent Storage behave tests pass 3.303
After features/support/hooks.rb:326 0.918
After features/support/hooks.rb:100 0.000
Tags: @product
46.370
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 14.121
When I log in to a new session without activating the Persistent Storage 24.725
Then Tails is running from USB drive "__internal" 0.527
And persistence is disabled 0.270
But a Tails persistence partition exists on USB drive "__internal" 6.725
After features/support/hooks.rb:326 0.954
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.181
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 13.014
Then Tails is running from USB drive "__internal" 0.323
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 24.324
Then the file I created was copied to the Persistent Storage 0.708
When I shutdown Tails and wait for the computer to power off 12.985
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.791
Then persistence for "Persistent" is active 0.837
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 1.039
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.385
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 24.398
And the system is very low on memory 4.200
When I create a file in the Persistent directory 0.795
When I try to create a persistent partition 22.311
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.342
When I close the Persistent Storage app 2.637
And I free up some memory 1.340
And I create a persistent partition with the default settings 12.120
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:326 1.323
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.197
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.665
Then Tails is running from USB drive "__internal" 0.379
And all tps features are active 2.377
And all persistent directories have safe access rights 2.657
When I disable the first tps feature 5.155
Then all tps features but the first one are active 2.133
And I shutdown Tails and wait for the computer to power off 10.702
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.624
Then all tps features but the first one are active 2.501
After features/support/hooks.rb:326 1.055
After features/support/hooks.rb:100 0.009
Tags: @product
21.823
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 12.660
Then persistence for "Persistent" is active 0.125
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.071
When I disable the first tps feature 5.319
Then persistence for "Persistent" is not active 0.097
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.250
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 1.131
After features/support/hooks.rb:100 0.000
Tags: @product
19.254
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.863
Then persistence for "Persistent" is active 0.201
When I create a file in the Persistent directory 0.138
And I disable the first tps feature 5.373
And I delete the data of the Persistent Folder feature 3.623
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 1.654
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.358
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 9.721
And the network is plugged 0.089
And Tor is ready 15.975
And I take note of which tps features are available 0.582
When I write some files expected to persist 1.435
And I shutdown Tails and wait for the computer to power off 9.160
# 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" 25.394
After features/support/hooks.rb:326 0.117
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.861
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 9.845
And the network is plugged 0.232
And Tor is ready 18.575
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.187
And I shutdown Tails and wait for the computer to power off 8.759
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.441
And I capture all network traffic 0.015
And the network is plugged 0.078
And Tor is ready 19.952
And I switch to the "persistent-con-current" NetworkManager connection 0.367
And the 1st network device has a spoofed MAC address configured 0.129
And no network device leaked the real MAC address 0.276
After features/support/hooks.rb:326 0.673
After features/support/hooks.rb:100 0.042
Tags: @product
56.764
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 13.082
And I enable persistence creation in Tails Greeter 1.145
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.974
Then I create a persistent partition with the default settings using the wizard that was already open 22.561
After features/support/hooks.rb:326 1.870
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.647
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.146
When I enable persistence 40.709
Then no persistent Greeter options were restored 13.834
When I set all Greeter options to non-default values 27.204
And I log in to a new session in German (de) after having activated the Persistent Storage 52.526
Then all Greeter options are set to non-default values 0.670
When I cold reboot the computer 7.731
And the computer reboots Tails 58.338
Given I enable persistence 33.267
Then persistent Greeter options were restored 15.018
When I log in to a new session after having activated the Persistent Storage 42.905
Then all Greeter options are set to non-default values 0.293
After features/support/hooks.rb:326 1.044
After features/support/hooks.rb:100 0.010
Tags: @product
4:6.571
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.229
# 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.695
And I shutdown Tails and wait for the computer to power off 16.769
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:29.757
And I change the passphrase of the Persistent Storage back to the original 34.119
After features/support/hooks.rb:326 1.683
After features/support/hooks.rb:100 0.008
Tags: @product
53.317
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 12.071
And I log in to a new session without activating the Persistent Storage 19.379
Then persistence is disabled 0.266
But a Tails persistence partition exists on USB drive "__internal" 5.845
And all notifications have disappeared 8.787
When I delete the persistent partition 6.551
Then there is no persistence partition on USB drive "__internal" 0.414
After features/support/hooks.rb:326 0.797
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.059
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.077
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 8.790
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.648
Then the expected persistent dotfile is present in the filesystem 0.458
After features/support/hooks.rb:326 0.767
After features/support/hooks.rb:100 0.010
Tags: @product
1:39.889
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.185
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.262
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.235
When I log in to a new session after having activated the Persistent Storage 37.235
And all notifications have disappeared 8.533
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.437
And all tps features are enabled 2.814
And all tps features but the first one are active 2.101
After features/support/hooks.rb:326 1.361
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.536
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 3:34.127
And I enable persistence 33.669
And I log in to a new session after having activated the Persistent Storage 45.300
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.943
And persistence is enabled 0.494
After features/support/hooks.rb:326 1.846
After features/support/hooks.rb:100 0.000
Tags: @product
33.083
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 11.507
And I enable persistence but something goes wrong during the LUKS header upgrade 20.790
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.784
After features/support/hooks.rb:326 0.677
After features/support/hooks.rb:100 0.000
Tags: @product
41.745
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.424
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.125
When I enable persistence 27.078
Then the filesystem of the Persistent Storage was repaired 0.116
After features/support/hooks.rb:326 0.919
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.008
Scenario Manual filesystem repair
Before features/support/hooks.rb:269 0.006
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.900
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.619
When I try to enable persistence 1.486
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.621

SCENARIO FAILED: 'Manual filesystem repair' (at time 03:26:40)

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

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

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

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