Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 24 16 Aug 2024, 16:54

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:26.405 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.281
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.226
And I update APT using apt 19.632
And I install "python3-behave" using apt 25.657
Then the Tails Persistent Storage behave tests pass 2.765
After features/support/hooks.rb:326 1.052
After features/support/hooks.rb:100 0.000
Tags: @product
46.425
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.715
When I log in to a new session without activating the Persistent Storage 25.512
Then Tails is running from USB drive "__internal" 0.385
And persistence is disabled 0.423
But a Tails persistence partition exists on USB drive "__internal" 6.388
After features/support/hooks.rb:326 0.938
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.768
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.106
Then Tails is running from USB drive "__internal" 0.387
When I create a file in the Persistent directory 0.232
And I create a persistent partition with the default settings 25.709
Then the file I created was copied to the Persistent Storage 0.666
When I shutdown Tails and wait for the computer to power off 15.682
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.040
Then persistence for "Persistent" is active 0.847
And the file I created in the Persistent directory exists 0.096
After features/support/hooks.rb:326 0.898
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.578
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.670
And the system is very low on memory 6.716
When I create a file in the Persistent directory 0.769
When I try to create a persistent partition 26.791
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.162
When I close the Persistent Storage app 2.525
And I free up some memory 1.626
And I create a persistent partition with the default settings 13.098
Then the file I created was copied to the Persistent Storage 0.216
After features/support/hooks.rb:326 2.154
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.998
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.343
Then Tails is running from USB drive "__internal" 1.220
And all tps features are active 2.895
And all persistent directories have safe access rights 2.916
When I disable the first tps feature 7.082
Then all tps features but the first one are active 2.544
And I shutdown Tails and wait for the computer to power off 10.881
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.605
Then all tps features but the first one are active 2.507
After features/support/hooks.rb:326 0.716
After features/support/hooks.rb:100 0.010
Tags: @product
24.270
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 13.670
Then persistence for "Persistent" is active 0.086
And I create a file in the Persistent directory 0.159
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 6.809
Then persistence for "Persistent" is not active 0.114
And the Persistent directory does not exist 0.081
When I enable the first tps feature 3.124
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.940
After features/support/hooks.rb:100 0.000
Tags: @product
22.937
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 10.632
Then persistence for "Persistent" is active 0.997
When I create a file in the Persistent directory 0.066
And I disable the first tps feature 6.388
And I delete the data of the Persistent Folder feature 4.803
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:326 0.903
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.975
Before features/support/hooks.rb:269 0.018
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.642
And the network is plugged 0.105
And Tor is ready 49.322
And I take note of which tps features are available 0.639
When I write some files expected to persist 1.703
And I shutdown Tails and wait for the computer to power off 8.736
# 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.826
After features/support/hooks.rb:326 0.112
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.923
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 10.767
And the network is plugged 0.078
And Tor is ready 18.499
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.223
And I shutdown Tails and wait for the computer to power off 8.770
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.681
And I capture all network traffic 0.013
And the network is plugged 0.085
And Tor is ready 21.179
And I switch to the "persistent-con-current" NetworkManager connection 0.338
And the 1st network device has a spoofed MAC address configured 0.063
And no network device leaked the real MAC address 0.221
After features/support/hooks.rb:326 0.623
After features/support/hooks.rb:100 0.050
Tags: @product
1:1.868
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.163
And I enable persistence creation in Tails Greeter 1.123
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.170
Then I create a persistent partition with the default settings using the wizard that was already open 26.411
After features/support/hooks.rb:326 3.878
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.502
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 16.139
When I enable persistence 37.835
Then no persistent Greeter options were restored 13.962
When I set all Greeter options to non-default values 23.982
And I log in to a new session in German (de) after having activated the Persistent Storage 50.266
Then all Greeter options are set to non-default values 0.386
When I cold reboot the computer 7.508
And the computer reboots Tails 1:2.180
Given I enable persistence 32.163
Then persistent Greeter options were restored 14.727
When I log in to a new session after having activated the Persistent Storage 36.710
Then all Greeter options are set to non-default values 0.639
After features/support/hooks.rb:326 1.175
After features/support/hooks.rb:100 0.010
Tags: @product
3:47.686
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.199
# 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 34.379
And I shutdown Tails and wait for the computer to power off 12.287
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.928
And I change the passphrase of the Persistent Storage back to the original 28.891
After features/support/hooks.rb:326 1.823
After features/support/hooks.rb:100 0.010
Tags: @product
1:0.808
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.751
And I log in to a new session without activating the Persistent Storage 25.196
Then persistence is disabled 0.210
But a Tails persistence partition exists on USB drive "__internal" 6.933
And all notifications have disappeared 8.434
When I delete the persistent partition 5.926
Then there is no persistence partition on USB drive "__internal" 0.355
After features/support/hooks.rb:326 0.853
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.723
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 28.066
When I write some dotfile expected to persist 0.080
And I shutdown Tails and wait for the computer to power off 8.722
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.516
Then the expected persistent dotfile is present in the filesystem 0.337
After features/support/hooks.rb:326 0.596
After features/support/hooks.rb:100 0.052
Tags: @product
1:46.677
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.947
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.096
When I try to enable persistence 0.326
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.124
When I log in to a new session after having activated the Persistent Storage 48.888
And all notifications have disappeared 8.755
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.217
And all tps features are enabled 2.267
And all tps features but the first one are active 2.053
After features/support/hooks.rb:326 1.650
After features/support/hooks.rb:100 0.000
Tags: @product
5:28.334
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:59.573
And I enable persistence 37.129
And I log in to a new session after having activated the Persistent Storage 49.849
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.617
And persistence is enabled 0.164
After features/support/hooks.rb:326 1.131
After features/support/hooks.rb:100 0.000
Tags: @product
29.895
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.270
And I enable persistence but something goes wrong during the LUKS header upgrade 19.802
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.821
After features/support/hooks.rb:326 0.739
After features/support/hooks.rb:100 0.000
Tags: @product
46.169
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.632
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.202
When I enable persistence 30.216
Then the filesystem of the Persistent Storage was repaired 0.117
After features/support/hooks.rb:326 1.186
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.807
Scenario Manual filesystem repair
Before features/support/hooks.rb:269 0.005
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.195
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.219
When I try to enable persistence 0.391
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.000
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.646

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

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

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

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

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