Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 1 23 Jul 2024, 23:50

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 135 1 3 0 0 139 19 1 20 37:22.945 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.230
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:37.366
And I update APT using apt 18.871
And I install "python3-behave" using apt 26.213
Then the Tails Persistent Storage behave tests pass 2.779
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.000
Tags: @product
50.442
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 14.343
When I log in to a new session without activating the Persistent Storage 23.963
Then Tails is running from USB drive "__internal" 0.594
And persistence is disabled 0.383
But a Tails persistence partition exists on USB drive "__internal" 11.158
After features/support/hooks.rb:326 2.033
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.129
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.090
Then Tails is running from USB drive "__internal" 0.505
When I create a file in the Persistent directory 0.192
And I create a persistent partition with the default settings 22.808
Then the file I created was copied to the Persistent Storage 0.647
When I shutdown Tails and wait for the computer to power off 15.591
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:37.790
Then persistence for "Persistent" is active 0.412
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:326 0.969
After features/support/hooks.rb:100 0.011
Tags: @product
56.906
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 11.469
And the system is very low on memory 4.477
When I create a file in the Persistent directory 1.767
When I try to create a persistent partition 21.907
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.300
When I close the Persistent Storage app 2.615
And I free up some memory 1.569
And I create a persistent partition with the default settings 12.568
Then the file I created was copied to the Persistent Storage 0.230
After features/support/hooks.rb:326 1.298
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.813
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 10.424
Then Tails is running from USB drive "__internal" 0.375
And all tps features are active 2.245
And all persistent directories have safe access rights 2.810
When I disable the first tps feature 5.354
Then all tps features but the first one are active 2.036
And I shutdown Tails and wait for the computer to power off 8.614
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.700
Then all tps features but the first one are active 2.250
After features/support/hooks.rb:326 0.751
After features/support/hooks.rb:100 0.011
Tags: @product
18.767
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.463
Then persistence for "Persistent" is active 0.101
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 5.698
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.043
When I enable the first tps feature 3.088
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.739
After features/support/hooks.rb:100 0.000
Tags: @product
18.851
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.336
Then persistence for "Persistent" is active 0.093
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 5.641
And I delete the data of the Persistent Folder feature 3.644
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 0.794
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.043
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.567
And the network is plugged 0.037
And Tor is ready 17.035
And I take note of which tps features are available 0.528
When I write some files expected to persist 1.581
And I shutdown Tails and wait for the computer to power off 8.491
# 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.801
After features/support/hooks.rb:326 0.154
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.757
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.849
And the network is plugged 0.036
And Tor is ready 20.143
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 8.839
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.198
And I capture all network traffic 0.009
And the network is plugged 0.035
And Tor is ready 21.633
And I switch to the "persistent-con-current" NetworkManager connection 0.435
And the 1st network device has a spoofed MAC address configured 0.131
And no network device leaked the real MAC address 0.238
After features/support/hooks.rb:326 0.664
After features/support/hooks.rb:100 0.060
Tags: @product
59.522
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 14.096
And I enable persistence creation in Tails Greeter 1.156
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.535
Then I create a persistent partition with the default settings using the wizard that was already open 21.733
After features/support/hooks.rb:326 1.787
After features/support/hooks.rb:100 0.000
Tags: @product
5:38.248
Scenario Persistent Greeter options
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 17.350
When I enable persistence 35.079
Then no persistent Greeter options were restored 15.929
When I set all Greeter options to non-default values 25.173
And I log in to a new session in German (de) after having activated the Persistent Storage 55.766
Then all Greeter options are set to non-default values 0.759
When I cold reboot the computer 7.657
And the computer reboots Tails 1:0.279
Given I enable persistence 2:0.251
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:681:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:694:in `/^I enable persistence( with the changed passphrase)?$/'
features/persistence.feature:111:in `Given I enable persistence'
Then persistent Greeter options were restored 0.000
When I log in to a new session after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
After features/support/hooks.rb:326 5.992

SCENARIO FAILED: 'Persistent Greeter options' (at time 03:09:12)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/1/artifact/build-artifacts/03:09:12_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/1/artifact/build-artifacts/03:09:12_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/1/artifact/build-artifacts/03:09:12_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/1/artifact/build-artifacts/03:09:12_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.011
Tags: @product
3:43.026
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.844
# 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 40.672
And I shutdown Tails and wait for the computer to power off 14.620
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.067
And I change the passphrase of the Persistent Storage back to the original 31.821
After features/support/hooks.rb:326 2.065
After features/support/hooks.rb:100 0.009
Tags: @product
1:13.083
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 12.219
And I log in to a new session without activating the Persistent Storage 23.156
Then persistence is disabled 0.629
But a Tails persistence partition exists on USB drive "__internal" 11.615
And all notifications have disappeared 18.068
When I delete the persistent partition 6.865
Then there is no persistence partition on USB drive "__internal" 0.529
After features/support/hooks.rb:326 1.125
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.582
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.892
When I write some dotfile expected to persist 0.158
And I shutdown Tails and wait for the computer to power off 9.083
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.116
Then the expected persistent dotfile is present in the filesystem 0.332
After features/support/hooks.rb:326 0.773
After features/support/hooks.rb:100 0.008
Tags: @product
1:43.948
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.832
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.427
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.299
When I log in to a new session after having activated the Persistent Storage 45.361
And all notifications have disappeared 8.387
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.095
And all tps features are enabled 2.425
And all tps features but the first one are active 2.014
After features/support/hooks.rb:326 1.181
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.456
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 3:8.026
And I enable persistence 36.394
And I log in to a new session after having activated the Persistent Storage 42.598
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.026
And persistence is enabled 0.410
After features/support/hooks.rb:326 1.644
After features/support/hooks.rb:100 0.000
Tags: @product
30.867
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.371
And I enable persistence but something goes wrong during the LUKS header upgrade 20.657
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.838
After features/support/hooks.rb:326 0.816
After features/support/hooks.rb:100 0.000
Tags: @product
44.925
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.448
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.276
When I enable persistence 29.287
Then the filesystem of the Persistent Storage was repaired 0.914
After features/support/hooks.rb:326 1.140
After features/support/hooks.rb:100 0.000
Tags: @product
23.618
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.071
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.399
When I try to enable persistence 0.379
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.719
When I repair the filesystem of the Persistent Storage 1.300
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.269
And the filesystem of the Persistent Storage was repaired 0.065
When I close the filesystem repair dialog 1.261
Then persistence is successfully enabled 0.150
After features/support/hooks.rb:326 0.711
After features/support/hooks.rb:100 0.000
Tags: @product
23.722
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.465
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.691
And Tails detects disk read failures on the boot device 1.492
When I try to enable persistence 1.446
Then the Welcome Screen tells me that my hardware is probably failing 5.625
After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.000