Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 18 04 Nov 2024, 06:50

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 23:10.068 Failed
Tags: @product
Feature Installing Tails to a USB drive
As a Tails user I want to install Tails to a suitable USB drive
25.664
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.288
And I temporarily create a 4 GiB disk named "gptfat" 0.072
And I create a gpt partition with a vfat filesystem on disk "gptfat" 6.209
And I plug USB drive "gptfat" 2.422
When I start Tails Installer 8.621
Then I am told by Tails Installer that the destination device "is too small" 0.050
After features/support/hooks.rb:326 0.696
After features/support/hooks.rb:100 0.000
Tags: @product
19.437
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.199
And I temporarily create a 7200 MiB disk named "temp" 0.048
And I start Tails Installer 8.279
But a suitable USB device is not found 0.033
When I plug USB drive "temp" 2.581
Then the "temp" USB drive is selected 0.090
When I unplug USB drive "temp" 0.179
Then a suitable USB device is not found 0.025
After features/support/hooks.rb:326 0.683
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.565
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.128
And I temporarily create a 7200 MiB disk named "install" 0.051
And I create a gpt partition with a vfat filesystem on disk "install" 6.408
And I plug USB drive "install" 2.377
And I install Tails to USB drive "install" by cloning 1:43.419
Then the running Tails is installed on USB drive "install" 17.191
And there is a random seed on USB drive "install" 5.908
But there is no persistence partition on USB drive "install" 0.078
After features/support/hooks.rb:326 1.321
After features/support/hooks.rb:100 0.122
Tags: @product
2:22.554
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.285
And I temporarily create a 7200 MiB disk named "install" 0.046
And I plug USB drive "install" 2.392
And I install Tails to USB drive "install" by cloning 1:52.906
Then the running Tails is installed on USB drive "install" 12.855
And there is a random seed on USB drive "install" 5.995
But there is no persistence partition on USB drive "install" 0.072
After features/support/hooks.rb:326 1.389
After features/support/hooks.rb:100 0.123
Tags: @product
2:41.583
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.258
And I create a file in the Persistent directory 0.211
And I temporarily create a 7200 MiB disk named "install" 0.044
And I create a gpt partition with a vfat filesystem on disk "install" 6.347
And I plug USB drive "install" 2.398
And I install Tails with Persistent Storage to USB drive "install" by cloning 1:56.954
Then the running Tails is installed on USB drive "install" 15.754
And there is a random seed on USB drive "install" 5.966
And there is a persistence partition on USB drive "install" 0.065
And the USB drive "install" contains the same files as my persistent storage 2.582
After features/support/hooks.rb:326 2.059
After features/support/hooks.rb:100 0.134
Tags: @product
2:19.540
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.592
And I temporarily create a 7200 MiB disk named "install" 0.050
And I plug USB drive "install" 2.709
And I install Tails to USB drive "install" by cloning 1:43.273
Then the running Tails is installed on USB drive "install" 15.898
And there is a random seed on USB drive "install" 5.944
And there is no persistence partition on USB drive "install" 0.072
After features/support/hooks.rb:326 1.984
After features/support/hooks.rb:100 0.118
Tags: @product
2:37.227
Before features/support/hooks.rb:269 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 9.990
And I have started Tails from DVD without network and logged in 8.603
And I clone USB drive "__internal" to a temporary USB drive "install" 1.116
And I plug USB drive "install" 2.467
# 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 1:53.092
Then the running Tails is installed on USB drive "install" 15.871
And there is a random seed on USB drive "install" 6.019
And there is no persistence partition on USB drive "install" 0.065
After features/support/hooks.rb:326 1.505
After features/support/hooks.rb:100 0.089
Tags: @product @uefi
1:57.903
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.504
And I power off the computer 0.347
And the computer is set to boot in UEFI mode 0.029
When I start Tails from USB drive "__internal" with network unplugged and I login 1:42.896
Then Tails is running from USB drive "__internal" 0.312
And the boot device has safe access rights 2.762
And Tails has started in UEFI mode 0.050
After features/support/hooks.rb:326 0.624
After features/support/hooks.rb:100 0.006
Tags: @product
1:36.728
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.272
And I plug and mount a USB drive containing a Tails USB image 39.555
And I create a 7200 MiB disk named "usbimage" 0.049
And I plug USB drive "usbimage" 2.349
And I install a Tails USB image to the 7200 MiB disk with GNOME Disks 46.501
After features/support/hooks.rb:326 2.366
After features/support/hooks.rb:100 0.101
Tags: @product
1:38.659
Before features/support/hooks.rb:269 0.003
Given a computer 0.234
And I start Tails from USB drive "usbimage" with network unplugged and I login 1:37.165
Then Tails is running from USB drive "usbimage" 0.353
And the label of the system partition on "usbimage" is "Tails" 0.280
And the system partition on "usbimage" is an EFI system partition 0.203
And the FAT filesystem on the system partition on "usbimage" is at least 4000M large 0.162
And the UUID of the FAT filesystem on the system partition on "usbimage" was randomized 0.089
And the label of the FAT filesystem on the system partition on "usbimage" is "TAILS" 0.083
And the system partition on "usbimage" has the expected flags 0.086
After features/support/hooks.rb:326 0.623
After features/support/hooks.rb:100 0.005
Tags: @product
2:28.684
Before features/support/hooks.rb:269 0.002
Given a computer 0.186
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.040
And I plug USB drive "temp" 1.053
And I write the Tails USB image to disk "temp" 27.422
And I start Tails from USB drive "temp" with network unplugged 1:34.782
Then Tails is running from USB drive "temp" 0.338
When I log in to a new session 17.942
And all notifications have disappeared 6.756
Then the system journal includes message "Detected partitioning-corruption, but not showing any message" 0.162
After features/support/hooks.rb:326 0.646
After features/support/hooks.rb:100 0.006
Tags: @product
2:18.517
Scenario Error when the disk GUID has not changed
Before features/support/hooks.rb:269 0.003
Steps
Given a computer 0.202
And I set Tails to boot with options "test_gpt_corruption=guid" 0.000
And I create a 7200 MiB disk named "temp" 0.180
And I plug USB drive "temp" 1.049
And I write the Tails USB image to disk "temp" 27.116
And I start Tails from USB drive "temp" with network unplugged 1:49.968
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:451: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:450: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:450: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:127: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 I see an error about system partition resizing 0.000
After features/support/hooks.rb:326 4.925

SCENARIO FAILED: 'Error when the disk GUID has not changed' (at time 01:07:21)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/18/artifact/build-artifacts/01:07:21_Error_when_the_disk_GUID_has_not_changed.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/18/artifact/build-artifacts/01:07:21_Error_when_the_disk_GUID_has_not_changed.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/18/artifact/build-artifacts/01:07:21_Error_when_the_disk_GUID_has_not_changed.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/18/artifact/build-artifacts/01:07:21_Error_when_the_disk_GUID_has_not_changed.journal

After features/support/hooks.rb:100 0.006