Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 8 13 Dec 2024, 19:28

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Installing Tails to a USB drive 90 1 4 0 0 95 11 1 12 27:0.626 Failed
Tags: @product
Feature Installing Tails to a USB drive
As a Tails user I want to install Tails to a suitable USB drive
27.338
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 9.320
And I temporarily create a 4 GiB disk named "gptfat" 0.068
And I create a gpt partition with a vfat filesystem on disk "gptfat" 6.247
And I plug USB drive "gptfat" 2.735
When I start Tails Installer 8.911
Then I am told by Tails Installer that the destination device "is too small" 0.054
After features/support/hooks.rb:330 1.102
After features/support/hooks.rb:100 0.001
Tags: @product
21.915
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.516
And I temporarily create a 7200 MiB disk named "temp" 0.062
And I start Tails Installer 10.089
But a suitable USB device is not found 0.027
When I plug USB drive "temp" 2.871
Then the "temp" USB drive is selected 0.108
When I unplug USB drive "temp" 0.206
Then a suitable USB device is not found 0.032
After features/support/hooks.rb:330 0.661
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.520
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.227
And I temporarily create a 7200 MiB disk named "install" 0.052
And I create a gpt partition with a vfat filesystem on disk "install" 6.509
And I plug USB drive "install" 4.207
And I install Tails to USB drive "install" by cloning 1:58.089
Then the running Tails is installed on USB drive "install" 14.367
And there is a random seed on USB drive "install" 5.983
But there is no persistence partition on USB drive "install" 0.083
After features/support/hooks.rb:330 2.233
After features/support/hooks.rb:100 0.145
Tags: @product
2:30.304
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.862
And I temporarily create a 7200 MiB disk named "install" 0.051
And I plug USB drive "install" 2.754
And I install Tails to USB drive "install" by cloning 1:57.073
Then the running Tails is installed on USB drive "install" 15.452
And there is a random seed on USB drive "install" 6.024
But there is no persistence partition on USB drive "install" 0.084
After features/support/hooks.rb:330 1.943
After features/support/hooks.rb:100 0.171
Tags: @product
3:37.531
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.462
And I create a file in the Persistent directory 0.092
And I temporarily create a 7200 MiB disk named "install" 0.068
And I create a gpt partition with a vfat filesystem on disk "install" 6.392
And I plug USB drive "install" 2.553
And I install Tails with Persistent Storage to USB drive "install" by cloning 2:45.494
Then the running Tails is installed on USB drive "install" 20.020
And there is a random seed on USB drive "install" 6.177
And there is a persistence partition on USB drive "install" 0.099
And the USB drive "install" contains the same files as my persistent storage 5.169
After features/support/hooks.rb:330 2.302
After features/support/hooks.rb:100 0.165
Tags: @product
2:41.932
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.668
And I temporarily create a 7200 MiB disk named "install" 0.056
And I plug USB drive "install" 2.580
And I install Tails to USB drive "install" by cloning 1:59.034
Then the running Tails is installed on USB drive "install" 20.603
And there is a random seed on USB drive "install" 5.895
And there is no persistence partition on USB drive "install" 0.093
After features/support/hooks.rb:330 2.237
After features/support/hooks.rb:100 0.109
Tags: @product
3:2.098
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
# We reach this first checkpoint only to ensure that the ' __internal' disk has reached the state (Tails installed + persistent partition set up) we need before we clone it below.
# This first part is done without Tails Installer (install from Tails USB image)
# Note: the "__internal" disk will keep its state across scenarios
# and features until one of its snapshots is restored.
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.469
And I have started Tails from DVD without network and logged in 9.101
And I clone USB drive "__internal" to a temporary USB drive "install" 1.322
And I plug USB drive "install" 3.703
# This second part is done with Tails Installer, that's what this scenario is about
When I reinstall Tails to USB drive "install" by cloning 2:15.137
Then the running Tails is installed on USB drive "install" 14.302
And there is a random seed on USB drive "install" 5.992
And there is no persistence partition on USB drive "install" 0.069
After features/support/hooks.rb:330 2.440
After features/support/hooks.rb:100 0.121
Tags: @product @uefi
2:25.218
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 22.220
And I power off the computer 0.336
And the computer is set to boot in UEFI mode 0.028
When I start Tails from USB drive "__internal" with network unplugged and I login 1:58.530
Then Tails is running from USB drive "__internal" 0.336
And the boot device has safe access rights 3.703
And Tails has started in UEFI mode 0.063
After features/support/hooks.rb:330 0.950
After features/support/hooks.rb:100 0.006
Tags: @product
2:24.253
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.526
And I plug and mount a USB drive containing a Tails USB image 44.580
And I create a 7200 MiB disk named "usbimage" 0.058
And I plug USB drive "usbimage" 2.353
And I install a Tails USB image to the 7200 MiB disk with GNOME Disks 1:28.734
After features/support/hooks.rb:330 4.036
After features/support/hooks.rb:100 0.106
Tags: @product
1:33.177
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given a computer 0.204
And I start Tails from USB drive "usbimage" with network unplugged and I login 1:31.386
Then Tails is running from USB drive "usbimage" 0.418
And the label of the system partition on "usbimage" is "Tails" 0.340
And the system partition on "usbimage" is an EFI system partition 0.293
And the FAT filesystem on the system partition on "usbimage" is at least 4000M large 0.210
And the UUID of the FAT filesystem on the system partition on "usbimage" was randomized 0.114
And the label of the FAT filesystem on the system partition on "usbimage" is "TAILS" 0.110
And the system partition on "usbimage" has the expected flags 0.099
After features/support/hooks.rb:330 0.714
After features/support/hooks.rb:100 0.006
Tags: @product
2:51.517
Scenario Error when the GPT backup header is corrupt
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Steps
Given a computer 0.233
And I set Tails to boot with options "test_gpt_corruption=gpt_backup,gpt_backup_table" 0.000
And I create a 7200 MiB disk named "temp" 0.044
And I plug USB drive "temp" 1.049
And I write the Tails USB image to disk "temp" 30.512
And I start Tails from USB drive "temp" with network unplugged 2:19.677
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/usb_install.feature:115:in `And I start Tails from USB drive "temp" with network unplugged'
Then Tails is running from USB drive "temp" 0.000
When I log in to a new session 0.000
And all notifications have disappeared 0.000
Then the system journal includes message "Detected partitioning-corruption, but not showing any message" 0.000
After features/support/hooks.rb:330 4.954

SCENARIO FAILED: 'Error when the GPT backup header is corrupt' (at time 01:07:47)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/8/artifact/build-artifacts/01:07:47_Error_when_the_GPT_backup_header_is_corrupt.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/8/artifact/build-artifacts/01:07:47_Error_when_the_GPT_backup_header_is_corrupt.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/8/artifact/build-artifacts/01:07:47_Error_when_the_GPT_backup_header_is_corrupt.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-early-boot-hooks/8/artifact/build-artifacts/01:07:47_Error_when_the_GPT_backup_header_is_corrupt.journal

After features/support/hooks.rb:100 0.006
Tags: @product
2:27.818
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given a computer 0.355
And I set Tails to boot with options "test_gpt_corruption=guid" 0.000
And I create a 7200 MiB disk named "temp" 0.183
And I plug USB drive "temp" 1.055
And I write the Tails USB image to disk "temp" 28.935
And I start Tails from USB drive "temp" with network unplugged 1:32.353
Then Tails is running from USB drive "temp" 0.319
When I log in to a new session 16.745
And all notifications have disappeared 7.642
Then I see an error about system partition resizing 0.227
After features/support/hooks.rb:330 0.705
After features/support/hooks.rb:100 0.007