Project Number Date
test_Tails_ISO_20634-greeter-tps-update-failure-fix 3 26 Oct 2024, 12:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 2 2 0 0 157 19 2 21 1:1:41.208 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.852
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:38.486
And I update APT using apt 12.737
And I install "python3-behave" using apt 26.073
Then the Tails Persistent Storage behave tests pass 3.554
After features/support/hooks.rb:326 3.372
After features/support/hooks.rb:100 0.000
Tags: @product
51.711
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 13.173
When I log in to a new session without activating the Persistent Storage 25.452
Then Tails is running from USB drive "__internal" 0.594
And persistence is disabled 0.371
But a Tails persistence partition exists on USB drive "__internal" 12.118
After features/support/hooks.rb:326 3.834
After features/support/hooks.rb:100 0.000
Tags: @product
23:11.280
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.460
Then Tails is running from USB drive "__internal" 0.501
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 33.276
Then the file I created was copied to the Persistent Storage 0.611
When I shutdown Tails and wait for the computer to power off 12.809
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:11.483
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:712:in `new'
./features/step_definitions/common_steps.rb:712:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:26:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then persistence for "Persistent" is active 0.000
And the file I created in the Persistent directory exists 0.000
After features/support/hooks.rb:326 10.972

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 03:20:19)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/3/artifact/build-artifacts/03:20:19_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/3/artifact/build-artifacts/03:20:19_Creating_a_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/3/artifact/build-artifacts/03:20:19_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:100 0.008
Tags: @product
59.315
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 14.684
And the system is very low on memory 4.087
When I create a file in the Persistent directory 1.462
When I try to create a persistent partition 22.611
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.428
When I close the Persistent Storage app 2.639
And I free up some memory 1.168
And I create a persistent partition with the default settings 11.993
Then the file I created was copied to the Persistent Storage 0.237
After features/support/hooks.rb:326 1.271
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.621
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.975
Then Tails is running from USB drive "__internal" 0.370
And all tps features are active 2.824
And all persistent directories have safe access rights 2.584
When I disable the first tps feature 5.875
Then all tps features but the first one are active 2.321
And I shutdown Tails and wait for the computer to power off 10.734
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.614
Then all tps features but the first one are active 2.319
After features/support/hooks.rb:326 0.866
After features/support/hooks.rb:100 0.007
Tags: @product
19.911
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.878
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.090
When I disable the first tps feature 6.203
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.253
Then persistence for "Persistent" is active 0.093
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:326 1.538
After features/support/hooks.rb:100 0.000
Tags: @product
20.238
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.897
Then persistence for "Persistent" is active 0.087
When I create a file in the Persistent directory 0.203
And I disable the first tps feature 6.244
And I delete the data of the Persistent Folder feature 3.748
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 1.702
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.585
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.187
And the network is plugged 0.143
And Tor is ready 19.240
And I take note of which tps features are available 1.148
When I write some files expected to persist 1.544
And I shutdown Tails and wait for the computer to power off 6.778
# 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.543
After features/support/hooks.rb:326 0.174
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.892
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.555
And the network is plugged 0.099
And Tor is ready 20.676
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.254
And I shutdown Tails and wait for the computer to power off 8.401
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.378
And I capture all network traffic 0.005
And the network is plugged 0.095
And Tor is ready 18.738
And I switch to the "persistent-con-current" NetworkManager connection 0.428
And the 1st network device has a spoofed MAC address configured 0.094
And no network device leaked the real MAC address 0.162
After features/support/hooks.rb:326 0.839
After features/support/hooks.rb:100 0.047
Tags: @product
1:5.002
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 14.360
And I enable persistence creation in Tails Greeter 1.362
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.288
Then I create a persistent partition with the default settings using the wizard that was already open 22.990
After features/support/hooks.rb:326 2.169
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.860
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.683
When I enable persistence 41.732
Then no persistent Greeter options were restored 14.531
When I set all Greeter options to non-default values 24.935
And I log in to a new session in German (de) after having activated the Persistent Storage 50.586
Then all Greeter options are set to non-default values 0.532
When I cold reboot the computer 7.552
And the computer reboots Tails 1:2.555
Given I enable persistence 32.710
Then persistent Greeter options were restored 15.583
When I log in to a new session after having activated the Persistent Storage 38.727
Then all Greeter options are set to non-default values 0.726
After features/support/hooks.rb:326 1.403
After features/support/hooks.rb:100 0.011
Tags: @product
3:33.030
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.607
# 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 30.912
And I shutdown Tails and wait for the computer to power off 12.514
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.857
And I change the passphrase of the Persistent Storage back to the original 30.139
After features/support/hooks.rb:326 2.359
After features/support/hooks.rb:100 0.010
Tags: @product
1:4.833
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 12.477
And I log in to a new session without activating the Persistent Storage 23.140
Then persistence is disabled 0.329
But a Tails persistence partition exists on USB drive "__internal" 12.545
And all notifications have disappeared 9.849
When I delete the persistent partition 6.009
Then there is no persistence partition on USB drive "__internal" 0.481
After features/support/hooks.rb:326 1.646
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.987
Before features/support/hooks.rb:269 0.020
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.239
When I write some dotfile expected to persist 0.092
And I shutdown Tails and wait for the computer to power off 10.872
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.176
Then the expected persistent dotfile is present in the filesystem 0.606
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.009
Tags: @product
1:55.181
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.835
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.289
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.135
When I log in to a new session after having activated the Persistent Storage 48.228
And all notifications have disappeared 9.746
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.900
And all tps features are enabled 2.604
And all tps features but the first one are active 2.366
After features/support/hooks.rb:326 1.605
After features/support/hooks.rb:100 0.000
Tags: @product
5:57.361
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 4:25.502
And I enable persistence 42.335
And I log in to a new session after having activated the Persistent Storage 47.084
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.271
And persistence is enabled 0.167
After features/support/hooks.rb:326 2.468
After features/support/hooks.rb:100 0.000
Tags: @product
31.174
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 8.651
And I enable persistence but something goes wrong during the LUKS header upgrade 21.656
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.866
After features/support/hooks.rb:326 0.890
After features/support/hooks.rb:100 0.000
Tags: @product
47.072
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.266
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.795
When I enable persistence 30.527
Then the filesystem of the Persistent Storage was repaired 0.127
And persistence is successfully enabled 0.356
After features/support/hooks.rb:326 2.495
After features/support/hooks.rb:100 0.000
Tags: @product
41.696
Scenario Manual filesystem repair is successful
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 10.118
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.760
When I try to enable persistence 0.451
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.957
When I repair the filesystem of the Persistent Storage 1.344
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.325
And the filesystem of the Persistent Storage was repaired 0.116
When I close the filesystem repair dialog 1.220
Then persistence is successfully enabled 14.401
The
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:

 (Dogtail::Failure)
./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:695:in `/^persistence is successfully enabled$/'
features/persistence.feature:181:in `Then persistence is successfully enabled'
After features/support/hooks.rb:326 5.276

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 03:52:46)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/3/artifact/build-artifacts/03:52:46_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/3/artifact/build-artifacts/03:52:46_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/3/artifact/build-artifacts/03:52:46_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/3/artifact/build-artifacts/03:52:46_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.529
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.280
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.277
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.254
When I repair the filesystem of the Persistent Storage 1.226
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.115
When I log in to a new session 43.323
And all notifications have disappeared 10.020
# 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.622
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.209
When I close the "whisperback" window 1.591
Then the Tor Browser starts 14.389
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.119
After features/support/hooks.rb:326 3.391
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:30.066
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 10.226
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 18.785
And Tails detects disk read failures on the boot device 1.692
When I try to enable persistence 0.416
Then the Welcome Screen tells me that my hardware is probably failing 5.751
When I log in to a new session 21.133
And all notifications have disappeared 8.058
Then the Tor Browser starts 23.162
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.839
After features/support/hooks.rb:326 1.154
After features/support/hooks.rb:100 0.000