Project Number Date
test_Tails_ISO_devel 3875 19 Jun 2025, 00:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Hardware failures 86 1 8 0 0 95 11 1 12 28:38.317 Failed
Tags: @product
Feature Hardware failures
In order to update my failing hardware before I lose data As a Tails user I want to be warned about hardware failures
54.232
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.162
Given a computer 0.993
And SquashFS is damaged in a way that some read operations fail 0.000
When I start the computer 2.741
Then the computer boots Tails 47.019
And I see a disk failure message on the splash screen 3.477
After features/support/hooks.rb:330 0.828
After features/support/hooks.rb:100 0.010
54.766
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given a computer 0.212
And boot device is damaged in a way that some read operations fail 0.000
When I start the computer 1.066
Then the computer boots Tails 51.065
And I see a disk failure message on the splash screen 2.422
After features/support/hooks.rb:330 0.599
After features/support/hooks.rb:100 0.010
55.720
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given a computer 0.180
And boot device with a target error is damaged in a way that some read operations fail 0.000
When I start the computer 0.986
Then the computer boots Tails 43.762
And I see a disk failure message on the splash screen 10.791
After features/support/hooks.rb:330 1.453
After features/support/hooks.rb:100 0.013
Tags: @product @doc
1:4.515
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given a computer 0.204
And I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.333
When Tails detects disk read failures on the SquashFS 1.341
Then I see a disk failure message 4.681
Then I can open the hardware failure documentation from the disk failure message 43.955
After features/support/hooks.rb:330 4.164
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.361
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given a computer 0.462
And I have started Tails without network from a USB drive with a persistent partition enabled and logged in 19.438
When Tails detects disk read failures on the boot device 0.572
Then I see a disk failure message 9.827
Then I can open the hardware failure documentation from the disk failure message 44.060
After features/support/hooks.rb:330 4.410
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:7.277
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given a computer 0.224
And I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.763
When Tails detects disk read failures on the boot device with a target error 2.178
Then I see a disk failure message 1.628
Then I can open the hardware failure documentation from the disk failure message 45.481
After features/support/hooks.rb:330 5.548
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.594
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.030
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 48.596
And I corrupt the boot device's GPT backup header 0.907
And I power off the computer 3.862
When I start the computer 2.791
Then the computer boots Tails 1:42.411
When I log in to a new session 27.646
And all notifications have disappeared 13.941
Then I am recommended to migrate to a new USB stick due to partitioning errors 0.411
And Tails detected partitioning error partitioning-corruption 0.026
After features/support/hooks.rb:330 0.982
After features/support/hooks.rb:100 0.010
Tags: @product
3:17.260
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 27.315
And I corrupt the boot device's GPT backup partition table 2.809
And I power off the computer 3.792
When I start the computer 4.466
Then the computer boots Tails 1:43.459
When I log in to a new session 41.147
And all notifications have disappeared 7.598
Then I am recommended to migrate to a new USB stick due to partitioning errors 6.489
And Tails detected partitioning error partitioning-corruption 0.180
After features/support/hooks.rb:330 2.018
After features/support/hooks.rb:100 0.056
Tags: @product
4:16.642
Scenario GPT backup corruption without a persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.033
Steps
Given a computer 0.326
And I set Tails to boot with options "test_gpt_corruption=gpt_backup,gpt_backup_table" 0.000
And I temporarily create a 7200 MiB disk named "temp" 0.078
And I plug USB drive "temp" 1.077
And I write the Tails USB image to disk "temp" 1:3.400
When I start Tails from USB drive "temp" with network unplugged 3:11.759
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71: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/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:460: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/common_steps.rb:459:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:284: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/common_steps.rb:459:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:284: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/hardware_failure.feature:54:in `When I start Tails from USB drive "temp" with network unplugged'
Then Tails is running from USB drive "temp" 0.000
And the Greeter forbids creating a persistent partition 0.000
When I log in to a new session 0.000
And all notifications have disappeared 0.000
Then I am recommended to reinstall Tails due to partitioning errors 0.000
# We are gonna verify the dialog again so we need to clean up the
# first instance.
And I close the "zenity" window 0.000
And I am told that Persistent Storage cannot be created 0.000
And Tails detected partitioning error partitioning-corruption 0.000
After features/support/hooks.rb:330 6.709

SCENARIO FAILED: 'GPT backup corruption without a persistent partition' (at time 02:46:04)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3875/artifact/build-artifacts/02:46:04_GPT_backup_corruption_without_a_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3875/artifact/build-artifacts/02:46:04_GPT_backup_corruption_without_a_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3875/artifact/build-artifacts/02:46:04_GPT_backup_corruption_without_a_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3875/artifact/build-artifacts/02:46:04_GPT_backup_corruption_without_a_persistent_partition.journal

After features/support/hooks.rb:100 0.316
Tags: @product
4:34.422
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Given a computer 0.332
And I set Tails to boot with options "test_partitioning_errors=guid" 0.000
And I temporarily create a 7200 MiB disk named "temp" 0.052
And I plug USB drive "temp" 1.085
And I write the Tails USB image to disk "temp" 1:16.525
When I start Tails from USB drive "temp" with network unplugged 3:10.156
Then Tails is running from USB drive "temp" 2.502
And the Greeter recommends reinstalling Tails due to partitioning errors 0.585
And the Greeter forbids starting Tails 0.757
And the Greeter forbids all settings but language 2.399
And Tails detected partitioning error guid-not-randomized 0.025
After features/support/hooks.rb:330 1.073
After features/support/hooks.rb:100 0.181
Tags: @product
3:19.724
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given a computer 0.245
And I set Tails to boot with options "test_partitioning_errors=part_resize" 0.000
And I temporarily create a 7200 MiB disk named "temp" 0.055
And I plug USB drive "temp" 1.059
And I write the Tails USB image to disk "temp" 1:1.181
When I start Tails from USB drive "temp" with network unplugged 2:12.071
Then Tails is running from USB drive "temp" 3.555
And the Greeter recommends reinstalling Tails due to partitioning errors 0.609
And the Greeter forbids starting Tails 0.244
And the Greeter forbids all settings but language 0.680
And Tails detected partitioning error system-partition-not-resized 0.020
After features/support/hooks.rb:330 0.901
After features/support/hooks.rb:100 0.152
Tags: @product
3:38.799
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given a computer 0.201
And I set Tails to boot with options "test_partitioning_errors=fs_resize" 0.000
And I temporarily create a 7200 MiB disk named "temp" 0.048
And I plug USB drive "temp" 1.050
And I write the Tails USB image to disk "temp" 1:0.276
When I start Tails from USB drive "temp" with network unplugged 2:25.661
Then Tails is running from USB drive "temp" 9.968
And the Greeter recommends reinstalling Tails due to partitioning errors 0.774
And the Greeter forbids starting Tails 0.139
And the Greeter forbids all settings but language 0.656
And Tails detected partitioning error fs-not-resized 0.020
After features/support/hooks.rb:330 0.955
After features/support/hooks.rb:100 0.188