Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 2 24 Jul 2024, 16:43

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 44:12.492 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:31.890
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.702
And I update APT using apt 20.982
And I install "python3-behave" using apt 22.713
Then the Tails Persistent Storage behave tests pass 4.491
After features/support/hooks.rb:326 1.207
After features/support/hooks.rb:100 0.000
Tags: @product
58.482
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.563
When I log in to a new session without activating the Persistent Storage 26.589
Then Tails is running from USB drive "__internal" 1.155
And persistence is disabled 0.514
But a Tails persistence partition exists on USB drive "__internal" 15.660
After features/support/hooks.rb:326 2.097
After features/support/hooks.rb:100 0.000
Tags: @product
4:7.742
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 35.588
Then Tails is running from USB drive "__internal" 0.478
When I create a file in the Persistent directory 0.160
And I create a persistent partition with the default settings 34.923
Then the file I created was copied to the Persistent Storage 0.716
When I shutdown Tails and wait for the computer to power off 19.366
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:35.980
Then persistence for "Persistent" is active 0.448
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 0.930
After features/support/hooks.rb:100 0.010
Tags: @product
1:17.026
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 27.115
And the system is very low on memory 4.140
When I create a file in the Persistent directory 1.096
When I try to create a persistent partition 22.036
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.187
When I close the Persistent Storage app 2.585
And I free up some memory 2.136
And I create a persistent partition with the default settings 17.452
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:326 2.412
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.354
Before features/support/hooks.rb:269 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.184
Then Tails is running from USB drive "__internal" 0.400
And all tps features are active 2.890
And all persistent directories have safe access rights 2.850
When I disable the first tps feature 5.932
Then all tps features but the first one are active 2.663
And I shutdown Tails and wait for the computer to power off 11.049
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.693
Then all tps features but the first one are active 2.688
After features/support/hooks.rb:326 0.701
After features/support/hooks.rb:100 0.011
Tags: @product
21.217
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.501
Then persistence for "Persistent" is active 0.123
And I create a file in the Persistent directory 0.135
Then the file I created was copied to the Persistent Storage 0.105
When I disable the first tps feature 6.754
Then persistence for "Persistent" is not active 0.095
And the Persistent directory does not exist 0.081
When I enable the first tps feature 3.231
Then persistence for "Persistent" is active 0.106
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 1.067
After features/support/hooks.rb:100 0.000
Tags: @product
20.421
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.639
Then persistence for "Persistent" is active 0.209
When I create a file in the Persistent directory 0.116
And I disable the first tps feature 5.653
And I delete the data of the Persistent Folder feature 3.738
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 1.133
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.234
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.792
And the network is plugged 0.059
And Tor is ready 21.129
And I take note of which tps features are available 1.414
When I write some files expected to persist 1.719
And I shutdown Tails and wait for the computer to power off 13.058
# 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" 27.061
After features/support/hooks.rb:326 0.118
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.435
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.854
And the network is plugged 0.044
And Tor is ready 21.488
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.214
And I shutdown Tails and wait for the computer to power off 8.489
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.238
And I capture all network traffic 0.010
And the network is plugged 0.082
And Tor is ready 19.178
And I switch to the "persistent-con-current" NetworkManager connection 0.439
And the 1st network device has a spoofed MAC address configured 0.147
And no network device leaked the real MAC address 0.248
After features/support/hooks.rb:326 1.389
After features/support/hooks.rb:100 0.047
Tags: @product
1:32.249
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 39.406
And I enable persistence creation in Tails Greeter 1.464
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.780
Then I create a persistent partition with the default settings using the wizard that was already open 27.597
After features/support/hooks.rb:326 3.945
After features/support/hooks.rb:100 0.000
Tags: @product
6:20.181
Scenario Persistent Greeter options
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 48.076
When I enable persistence 43.948
Then no persistent Greeter options were restored 15.837
When I set all Greeter options to non-default values 24.603
And I log in to a new session in German (de) after having activated the Persistent Storage 53.440
Then all Greeter options are set to non-default values 0.451
When I cold reboot the computer 10.510
And the computer reboots Tails 1:3.023
Given I enable persistence 2:0.291
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 10.088

SCENARIO FAILED: 'Persistent Greeter options' (at time 03:26:51)

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

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

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

After features/support/hooks.rb:100 0.011
Tags: @product
4:15.364
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.632
# 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.249
And I shutdown Tails and wait for the computer to power off 14.727
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:34.084
And I change the passphrase of the Persistent Storage back to the original 32.670
After features/support/hooks.rb:326 2.425
After features/support/hooks.rb:100 0.011
Tags: @product
59.021
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.944
And I log in to a new session without activating the Persistent Storage 21.208
Then persistence is disabled 0.562
But a Tails persistence partition exists on USB drive "__internal" 11.958
And all notifications have disappeared 9.040
When I delete the persistent partition 5.797
Then there is no persistence partition on USB drive "__internal" 0.509
After features/support/hooks.rb:326 1.055
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.719
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 9.801
When I write some dotfile expected to persist 0.167
And I shutdown Tails and wait for the computer to power off 8.895
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.402
Then the expected persistent dotfile is present in the filesystem 0.453
After features/support/hooks.rb:326 1.144
After features/support/hooks.rb:100 0.011
Tags: @product
1:40.551
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.281
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.511
When I log in to a new session after having activated the Persistent Storage 43.318
And all notifications have disappeared 7.665
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.889
And all tps features are enabled 2.341
And all tps features but the first one are active 2.173
After features/support/hooks.rb:326 1.137
After features/support/hooks.rb:100 0.000
Tags: @product
7:33.911
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 6:0.913
And I enable persistence 40.203
And I log in to a new session after having activated the Persistent Storage 50.629
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.986
And persistence is enabled 0.179
After features/support/hooks.rb:326 1.476
After features/support/hooks.rb:100 0.000
Tags: @product
30.598
Before features/support/hooks.rb:269 0.010
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.875
And I enable persistence but something goes wrong during the LUKS header upgrade 19.817
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.906
After features/support/hooks.rb:326 0.986
After features/support/hooks.rb:100 0.000
Tags: @product
50.011
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 9.301
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.172
When I enable persistence 33.010
Then the filesystem of the Persistent Storage was repaired 1.527
After features/support/hooks.rb:326 1.355
After features/support/hooks.rb:100 0.000
Tags: @product
26.616
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.532
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.878
When I try to enable persistence 0.580
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.685
When I repair the filesystem of the Persistent Storage 1.280
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.269
And the filesystem of the Persistent Storage was repaired 0.070
When I close the filesystem repair dialog 1.192
Then persistence is successfully enabled 0.126
After features/support/hooks.rb:326 1.003
After features/support/hooks.rb:100 0.000
Tags: @product
39.460
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 23.508
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.755
And Tails detects disk read failures on the boot device 0.540
When I try to enable persistence 0.528
Then the Welcome Screen tells me that my hardware is probably failing 7.127
After features/support/hooks.rb:326 0.852
After features/support/hooks.rb:100 0.000