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

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 39:8.901 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.917
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:37.745
And I update APT using apt 21.787
And I install "python3-behave" using apt 25.882
Then the Tails Persistent Storage behave tests pass 3.501
After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.000
Tags: @product
44.690
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 13.336
When I log in to a new session without activating the Persistent Storage 24.179
Then Tails is running from USB drive "__internal" 0.430
And persistence is disabled 0.378
But a Tails persistence partition exists on USB drive "__internal" 6.364
After features/support/hooks.rb:326 0.984
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.169
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 14.574
Then Tails is running from USB drive "__internal" 0.697
When I create a file in the Persistent directory 0.178
And I create a persistent partition with the default settings 27.404
Then the file I created was copied to the Persistent Storage 0.902
When I shutdown Tails and wait for the computer to power off 15.319
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.510
Then persistence for "Persistent" is active 0.488
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:326 0.797
After features/support/hooks.rb:100 0.008
Tags: @product
1:11.239
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 14.600
And the system is very low on memory 5.160
When I create a file in the Persistent directory 1.313
When I try to create a persistent partition 30.422
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.224
When I close the Persistent Storage app 2.555
And I free up some memory 1.964
And I create a persistent partition with the default settings 14.611
Then the file I created was copied to the Persistent Storage 0.385
After features/support/hooks.rb:326 1.724
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.609
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 12.379
Then Tails is running from USB drive "__internal" 0.564
And all tps features are active 3.079
And all persistent directories have safe access rights 2.893
When I disable the first tps feature 6.815
Then all tps features but the first one are active 2.172
And I shutdown Tails and wait for the computer to power off 12.997
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.194
Then all tps features but the first one are active 2.513
After features/support/hooks.rb:326 1.066
After features/support/hooks.rb:100 0.010
Tags: @product
23.676
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 12.368
Then persistence for "Persistent" is active 0.883
And I create a file in the Persistent directory 0.083
Then the file I created was copied to the Persistent Storage 0.095
When I disable the first tps feature 6.049
Then persistence for "Persistent" is not active 0.098
And the Persistent directory does not exist 0.074
When I enable the first tps feature 3.871
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 1.376
After features/support/hooks.rb:100 0.000
Tags: @product
22.341
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.558
Then persistence for "Persistent" is active 0.092
When I create a file in the Persistent directory 0.310
And I disable the first tps feature 6.494
And I delete the data of the Persistent Folder feature 4.821
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 1.710
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.574
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.288
And the network is plugged 0.114
And Tor is ready 24.345
And I take note of which tps features are available 0.607
When I write some files expected to persist 1.561
And I shutdown Tails and wait for the computer to power off 10.467
# 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.191
After features/support/hooks.rb:326 0.152
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.627
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 21.554
And the network is plugged 0.076
And Tor is ready 22.625
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.186
And I shutdown Tails and wait for the computer to power off 8.356
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.887
And I capture all network traffic 0.013
And the network is plugged 0.079
And Tor is ready 22.113
And I switch to the "persistent-con-current" NetworkManager connection 0.351
And the 1st network device has a spoofed MAC address configured 0.152
And no network device leaked the real MAC address 0.229
After features/support/hooks.rb:326 0.703
After features/support/hooks.rb:100 0.057
Tags: @product
59.283
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.233
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 22.445
Then I create a persistent partition with the default settings using the wizard that was already open 22.494
After features/support/hooks.rb:326 1.561
After features/support/hooks.rb:100 0.000
Tags: @product
5:21.597
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 29.780
When I enable persistence 38.868
Then no persistent Greeter options were restored 14.210
When I set all Greeter options to non-default values 26.568
And I log in to a new session in German (de) after having activated the Persistent Storage 51.366
Then all Greeter options are set to non-default values 0.585
When I cold reboot the computer 9.828
And the computer reboots Tails 1:6.990
Given I enable persistence 31.661
Then persistent Greeter options were restored 14.687
When I log in to a new session after having activated the Persistent Storage 36.611
Then all Greeter options are set to non-default values 0.436
After features/support/hooks.rb:326 1.633
After features/support/hooks.rb:100 0.012
Tags: @product
3:45.737
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.522
# 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 31.191
And I shutdown Tails and wait for the computer to power off 12.699
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.491
And I change the passphrase of the Persistent Storage back to the original 42.831
After features/support/hooks.rb:326 1.303
After features/support/hooks.rb:100 0.047
Tags: @product
51.721
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 log in to a new session without activating the Persistent Storage 21.779
Then persistence is disabled 0.263
But a Tails persistence partition exists on USB drive "__internal" 6.076
And all notifications have disappeared 8.312
When I delete the persistent partition 5.958
Then there is no persistence partition on USB drive "__internal" 0.506
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.491
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.599
When I write some dotfile expected to persist 0.862
And I shutdown Tails and wait for the computer to power off 10.567
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.092
Then the expected persistent dotfile is present in the filesystem 0.370
After features/support/hooks.rb:326 0.856
After features/support/hooks.rb:100 0.008
Tags: @product
1:43.762
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.362
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.292
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.695
When I log in to a new session after having activated the Persistent Storage 41.423
And all notifications have disappeared 8.627
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.842
And all tps features are enabled 2.476
And all tps features but the first one are active 2.956
After features/support/hooks.rb:326 6.183
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.337
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 3:38.822
And I enable persistence 34.654
And I log in to a new session after having activated the Persistent Storage 48.397
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.353
And persistence is enabled 0.110
After features/support/hooks.rb:326 1.539
After features/support/hooks.rb:100 0.000
Tags: @product
30.292
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 9.596
And I enable persistence but something goes wrong during the LUKS header upgrade 19.885
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.811
After features/support/hooks.rb:326 0.828
After features/support/hooks.rb:100 0.000
Tags: @product
49.830
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.863
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.605
When I enable persistence 33.238
Then the filesystem of the Persistent Storage was repaired 0.122
After features/support/hooks.rb:326 0.973
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.202
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 9.465
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.353
When I try to enable persistence 0.382
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.616

SCENARIO FAILED: 'Manual filesystem repair' (at time 03:36:33)

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

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

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

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