Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 15 01 Nov 2024, 07:13

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Emergency shutdown 35 1 1 0 0 37 4 1 5 6:58.440 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:2.133
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD and logged in and the network is connected 51.101
When I eject the boot medium 0.285
Then Tails eventually shuts down 10.746
After features/support/hooks.rb:326 0.219
After features/support/hooks.rb:100 0.000
37.162
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.375
And I prepare Tails for memory erasure tests 0.418
And I fill a 128 MiB file with a known pattern on the root filesystem 14.485
And patterns cover at least 128 MiB in the guest's memory 2.984

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

When I eject the boot medium 0.396
And I wait for Tails to finish wiping the memory 9.850
Then I find very few patterns in the guest's memory 0.652

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

After features/support/hooks.rb:326 3.549
After features/support/hooks.rb:100 0.000
34.545
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.066
And I prepare Tails for memory erasure tests 0.417
And I plug and mount a 128 MiB USB drive with a vfat filesystem 9.062
And I fill the USB drive with a known pattern 2.378
And I read the content of the test FS 0.162
And patterns cover at least 90% of the test FS size in the guest's memory 3.362

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

When I eject the boot medium 0.296
And I wait for Tails to finish wiping the memory 10.197
Then I find very few patterns in the guest's memory 0.601

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

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

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

When I eject the boot medium 0.272
And I wait for Tails to finish wiping the memory 1:30.191
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.553

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

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

After features/support/hooks.rb:100 0.001
2:25.188
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 9.711
And I prepare Tails for memory erasure tests 0.403
And I fill a 128 MiB file with a known pattern on the persistent filesystem 24.793
And patterns cover at least 100 MiB in the guest's memory 3.080

Pattern coverage: 114.258% (114 MiB out of 100 MiB reference memory)

When I eject the boot medium 0.441
Then I see a window explaining me the danger of unplugging the USB stick 1.154
And I wait for Tails to finish wiping the memory 14.628
Then I find very few patterns in the guest's memory 0.709

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

And Tails eventually shuts down 1:30.264
After features/support/hooks.rb:326 0.145
After features/support/hooks.rb:100 0.000