Project Number Date
test_Tails_ISO_20634-greeter-tps-update-failure-fix 11 04 Nov 2024, 11:59

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 156 1 0 0 0 157 20 1 21 41:25.636 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:34.825
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:53.985
And I update APT using apt 12.604
And I install "python3-behave" using apt 25.584
Then the Tails Persistent Storage behave tests pass 2.650
After features/support/hooks.rb:326 0.740
After features/support/hooks.rb:100 0.000
Tags: @product
53.732
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.999
When I log in to a new session without activating the Persistent Storage 22.666
Then Tails is running from USB drive "__internal" 0.648
And persistence is disabled 0.291
But a Tails persistence partition exists on USB drive "__internal" 16.127
After features/support/hooks.rb:326 1.644
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.199
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 20.846
Then Tails is running from USB drive "__internal" 0.470
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 22.994
Then the file I created was copied to the Persistent Storage 0.694
When I shutdown Tails and wait for the computer to power off 12.792
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.574
Then persistence for "Persistent" is active 0.610
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.744
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.818
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 12.734
And the system is very low on memory 6.521
When I create a file in the Persistent directory 2.109
When I try to create a persistent partition 22.631
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.246
When I close the Persistent Storage app 2.639
And I free up some memory 1.315
And I create a persistent partition with the default settings 12.363
Then the file I created was copied to the Persistent Storage 0.258
After features/support/hooks.rb:326 1.248
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.080
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.436
Then Tails is running from USB drive "__internal" 0.523
And all tps features are active 2.418
And all persistent directories have safe access rights 2.840
When I disable the first tps feature 6.358
Then all tps features but the first one are active 2.578
And I shutdown Tails and wait for the computer to power off 10.583
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.111
Then all tps features but the first one are active 2.229
After features/support/hooks.rb:326 0.780
After features/support/hooks.rb:100 0.008
Tags: @product
20.492
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 9.690
Then persistence for "Persistent" is active 0.117
And I create a file in the Persistent directory 0.098
Then the file I created was copied to the Persistent Storage 0.135
When I disable the first tps feature 6.929
Then persistence for "Persistent" is not active 0.171
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.113
Then persistence for "Persistent" is active 0.093
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.128
After features/support/hooks.rb:100 0.000
Tags: @product
21.488
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 9.770
Then persistence for "Persistent" is active 0.072
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 7.572
And I delete the data of the Persistent Folder feature 3.924
Then the file I created does not exist on the Persistent Storage 0.076
After features/support/hooks.rb:326 1.123
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.456
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.556
And the network is plugged 0.231
And Tor is ready 19.788
And I take note of which tps features are available 0.610
When I write some files expected to persist 1.537
And I shutdown Tails and wait for the computer to power off 10.960
# 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.771
After features/support/hooks.rb:326 0.156
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.052
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 9.599
And the network is plugged 0.087
And Tor is ready 20.788
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.217
And I shutdown Tails and wait for the computer to power off 8.601
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.744
And I capture all network traffic 0.009
And the network is plugged 0.079
And Tor is ready 49.281
And I switch to the "persistent-con-current" NetworkManager connection 0.376
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.163
After features/support/hooks.rb:326 0.597
After features/support/hooks.rb:100 0.050
Tags: @product
1:1.472
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.010
And I enable persistence creation in Tails Greeter 1.404
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.313
Then I create a persistent partition with the default settings using the wizard that was already open 24.744
After features/support/hooks.rb:326 1.594
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.907
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 14.662
When I enable persistence 50.906
Then no persistent Greeter options were restored 14.379
When I set all Greeter options to non-default values 27.483
And I log in to a new session in German (de) after having activated the Persistent Storage 54.351
Then all Greeter options are set to non-default values 1.203
When I cold reboot the computer 9.675
And the computer reboots Tails 1:2.104
Given I enable persistence 19.431
Then persistent Greeter options were restored 0.625
When I log in to a new session after having activated the Persistent Storage 41.466
Then all Greeter options are set to non-default values 0.618
After features/support/hooks.rb:326 1.705
After features/support/hooks.rb:100 0.009
Tags: @product
3:38.578
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.491
# 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.786
And I shutdown Tails and wait for the computer to power off 13.069
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.755
And I change the passphrase of the Persistent Storage back to the original 29.474
After features/support/hooks.rb:326 2.245
After features/support/hooks.rb:100 0.008
Tags: @product
59.767
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 10.682
And I log in to a new session without activating the Persistent Storage 21.538
Then persistence is disabled 0.525
But a Tails persistence partition exists on USB drive "__internal" 9.481
And all notifications have disappeared 10.484
When I delete the persistent partition 6.630
Then there is no persistence partition on USB drive "__internal" 0.424
After features/support/hooks.rb:326 0.869
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.471
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.406
When I write some dotfile expected to persist 0.088
And I shutdown Tails and wait for the computer to power off 8.810
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.722
Then the expected persistent dotfile is present in the filesystem 0.442
After features/support/hooks.rb:326 0.740
After features/support/hooks.rb:100 0.007
Tags: @product
1:39.444
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.348
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.112
When I try to enable persistence 0.459
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.981
When I log in to a new session after having activated the Persistent Storage 45.780
And all notifications have disappeared 6.756
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.935
And all tps features are enabled 2.149
And all tps features but the first one are active 1.921
After features/support/hooks.rb:326 1.181
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.532
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:49.200
And I enable persistence 33.133
And I log in to a new session after having activated the Persistent Storage 48.744
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.631
And persistence is enabled 2.822
After features/support/hooks.rb:326 0.943
After features/support/hooks.rb:100 0.000
Tags: @product
31.535
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 9.357
And I enable persistence but something goes wrong during the LUKS header upgrade 21.361
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.816
After features/support/hooks.rb:326 0.752
After features/support/hooks.rb:100 0.000
Tags: @product
46.259
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.436
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.729
When I enable persistence 27.531
Then the filesystem of the Persistent Storage was repaired 0.078
And persistence is successfully enabled 3.482
After features/support/hooks.rb:326 0.988
After features/support/hooks.rb:100 0.000
Tags: @product
55.551
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:269 0.003
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.263
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.907
When I try to enable persistence 0.419
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.865
When I repair the filesystem of the Persistent Storage 1.284
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.255
And the filesystem of the Persistent Storage was repaired 0.100
When I close the filesystem repair dialog 1.261
Then persistence is successfully enabled 31.195
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Your Persistent Storage is unlocked. Its content will be available until you shut down Tails." roleName='label'
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:339:in `initialize'
./features/support/helpers/dogtail.rb:268:in `new'
./features/support/helpers/dogtail.rb:268:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:276:in `child'
./features/step_definitions/usb.rb:693:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/usb.rb:691:in `block in <top (required)>' (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:691:in `/^persistence is successfully enabled$/'
features/persistence.feature:181:in `Then persistence is successfully enabled'
After features/support/hooks.rb:326 5.163

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 03:41:37)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/11/artifact/build-artifacts/03:41:37_Manual_filesystem_repair_is_successful.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/11/artifact/build-artifacts/03:41:37_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/11/artifact/build-artifacts/03:41:37_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/11/artifact/build-artifacts/03:41:37_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.004
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.028
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.177
When I try to enable persistence 0.454
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.624
When I repair the filesystem of the Persistent Storage 1.251
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.096
When I log in to a new session 35.443
And all notifications have disappeared 8.952
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 0.499
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.210
When I close the "whisperback" window 1.608
Then the Tor Browser starts 14.805
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.850
After features/support/hooks.rb:326 1.524
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.964
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.264
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.945
And Tails detects disk read failures on the boot device 0.536
When I try to enable persistence 0.608
Then the Welcome Screen tells me that my hardware is probably failing 6.044
When I log in to a new session 20.517
And all notifications have disappeared 7.465
Then the Tor Browser starts 20.729
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.852
After features/support/hooks.rb:326 1.250
After features/support/hooks.rb:100 0.000