Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 70 16 Dec 2024, 07:21

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:36.234 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.
58.956
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in and the network is connected 47.168
When I eject the boot medium 0.326
Then Tails eventually shuts down 11.461
After features/support/hooks.rb:326 0.256
After features/support/hooks.rb:100 0.000
1:0.720
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 22.290
And I prepare Tails for memory erasure tests 0.451
And I fill a 128 MiB file with a known pattern on the root filesystem 16.324
And patterns cover at least 128 MiB in the guest's memory 3.216

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

When I eject the boot medium 0.406
And I wait for Tails to finish wiping the memory 17.352
Then I find very few patterns in the guest's memory 0.678

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

After features/support/hooks.rb:326 3.590
After features/support/hooks.rb:100 0.000
36.933
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and logged in 8.288
And I prepare Tails for memory erasure tests 0.396
And I plug and mount a 128 MiB USB drive with a vfat filesystem 10.363
And I fill the USB drive with a known pattern 1.855
And I read the content of the test FS 0.165
And patterns cover at least 90% of the test FS size in the guest's memory 3.937

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

When I eject the boot medium 0.306
And I wait for Tails to finish wiping the memory 10.916
Then I find very few patterns in the guest's memory 0.703

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

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

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

When I eject the boot medium 0.728
And I wait for Tails to finish wiping the memory 1:30.200
cannot find MemoryWipeCompleted.png on the screen (FindFailed)
./features/support/helpers/screen.rb:179:in `rescue in wait'
./features/support/helpers/screen.rb:163: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.629

SCENARIO FAILED: 'Tails erases memory on DVD boot medium removal: LUKS-encrypted ext4' (at time 02:00:29)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/70/artifact/build-artifacts/02:00:29_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/70/artifact/build-artifacts/02:00:29_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/70/artifact/build-artifacts/02:00:29_Tails_erases_memory_on_DVD_boot_medium_removal:_LUKS-encrypted_ext4.journal

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

Pattern coverage: 109.918% (109 MiB out of 100 MiB reference memory)

When I eject the boot medium 0.464
Then I see a window explaining me the danger of unplugging the USB stick 1:0.927
try_for() timeout expired
Last ignored exception was: FindTextFailed: FindTextFailed
./features/support/helpers/screen.rb:263:in `block in find_text'
./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/support/helpers/screen.rb:262:in `find_text'
./features/step_definitions/erase_memory.rb:262: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/support/helpers/screen.rb:262:in `find_text'
./features/step_definitions/erase_memory.rb:262: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 10.582

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/70/artifact/build-artifacts/02:02:20_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/70/artifact/build-artifacts/02:02:20_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/70/artifact/build-artifacts/02:02:20_Tails_erases_memory_and_shuts_down_on_USB_boot_medium_removal:_persistent_data.journal

After features/support/hooks.rb:100 0.000