Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 25 08 Nov 2024, 07:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Emergency shutdown 31 2 4 0 0 37 3 2 5 6:59.100 Failed
Feature Emergency shutdown
As a Tails user when I unplug my Tails device to trigger emergency shutdown I want the system memory to be free from sensitive data.
1:1.966
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD and logged in and the network is connected 50.888
When I eject the boot medium 0.258
Then Tails eventually shuts down 10.820
After features/support/hooks.rb:326 0.223
After features/support/hooks.rb:100 0.000
41.424
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and logged in 8.479
And I prepare Tails for memory erasure tests 0.466
And I fill a 128 MiB file with a known pattern on the root filesystem 14.086
And patterns cover at least 128 MiB in the guest's memory 6.231

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I eject the boot medium 1.019
And I wait for Tails to finish wiping the memory 10.260
Then I find very few patterns in the guest's memory 0.880

Pattern coverage: 0.000% (0 MiB out of 672 MiB reference memory)

After features/support/hooks.rb:326 3.598
After features/support/hooks.rb:100 0.000
37.218
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and logged in 9.768
And I prepare Tails for memory erasure tests 0.509
And I plug and mount a 128 MiB USB drive with a vfat filesystem 9.675
And I fill the USB drive with a known pattern 2.237
And I read the content of the test FS 0.147
And patterns cover at least 90% of the test FS size in the guest's memory 3.752

Pattern coverage: 96.470% (123 MiB out of 127 MiB reference memory)

When I eject the boot medium 0.331
And I wait for Tails to finish wiping the memory 10.087
Then I find very few patterns in the guest's memory 0.709

Pattern coverage: 0.000% (0 MiB out of 677 MiB reference memory)

After features/support/hooks.rb:326 3.556
After features/support/hooks.rb:100 0.000
2:23.298
Scenario Tails erases memory on DVD boot medium removal: LUKS-encrypted ext4
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails from DVD without network and logged in 8.203
And I prepare Tails for memory erasure tests 0.487
And I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.291
And I fill the USB drive with a known pattern 1.477
And I read the content of the test FS 0.083
And patterns cover at least 99% of the test FS size in the guest's memory 3.517

Pattern coverage: 106.113% (97 MiB out of 91 MiB reference memory)

When I eject the boot medium 1.016
And I wait for Tails to finish wiping the memory 1:30.221
cannot find MemoryWipeCompleted.png on the screen (FindFailed)
./features/support/helpers/screen.rb:173:in `rescue in wait'
./features/support/helpers/screen.rb:157:in `wait'
./features/step_definitions/erase_memory.rb:232:in `/^I wait for Tails to finish wiping the memory$/'
features/emergency_shutdown.feature:44:in `And I wait for Tails to finish wiping the memory'
Then I find very few patterns in the guest's memory 0.000
After features/support/hooks.rb:326 10.648

SCENARIO FAILED: 'Tails erases memory on DVD boot medium removal: LUKS-encrypted ext4' (at time 01:55:31)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/25/artifact/build-artifacts/01:55:31_Tails_erases_memory_on_DVD_boot_medium_removal:_LUKS-encrypted_ext4.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/25/artifact/build-artifacts/01:55:31_Tails_erases_memory_on_DVD_boot_medium_removal:_LUKS-encrypted_ext4.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/25/artifact/build-artifacts/01:55:31_Tails_erases_memory_on_DVD_boot_medium_removal:_LUKS-encrypted_ext4.journal

After features/support/hooks.rb:100 0.001
2:15.191
Scenario Tails erases memory and shuts down on USB boot medium removal: persistent data
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.770
And I prepare Tails for memory erasure tests 0.398
And I fill a 128 MiB file with a known pattern on the persistent filesystem 23.400
And patterns cover at least 100 MiB in the guest's memory 3.172

Pattern coverage: 112.348% (112 MiB out of 100 MiB reference memory)

When I eject the boot medium 0.760
Then I see a window explaining me the danger of unplugging the USB stick 1:36.689
end
end of file reached (EOFError)
./features/support/helpers/remote_shell.rb:64:in `readline'
./features/support/helpers/remote_shell.rb:64: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:124:in `execute'
./features/support/helpers/remote_shell.rb:135:in `initialize'
./features/support/helpers/dogtail.rb:46:in `new'
./features/support/helpers/dogtail.rb:46:in `initialize'
./features/step_definitions/erase_memory.rb:260:in `new'
./features/step_definitions/erase_memory.rb:260:in `/^I see a window explaining me the danger of unplugging the USB stick$/'
features/emergency_shutdown.feature:53:in `Then I see a window explaining me the danger of unplugging the USB stick'
And I wait for Tails to finish wiping the memory 0.000
Then I find very few patterns in the guest's memory 0.000
And Tails eventually shuts down 0.000
After features/support/hooks.rb:326 4.335

SCENARIO FAILED: 'Tails erases memory and shuts down on USB boot medium removal: persistent data' (at time 01:57:57)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/25/artifact/build-artifacts/01:57:57_Tails_erases_memory_and_shuts_down_on_USB_boot_medium_removal:_persistent_data.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/25/artifact/build-artifacts/01:57:57_Tails_erases_memory_and_shuts_down_on_USB_boot_medium_removal:_persistent_data.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/25/artifact/build-artifacts/01:57:57_Tails_erases_memory_and_shuts_down_on_USB_boot_medium_removal:_persistent_data.journal

After features/support/hooks.rb:100 0.000