Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 9 29 Oct 2024, 22:34

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Emergency shutdown 33 1 3 0 0 37 4 1 5 4:24.270 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:5.593
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD and logged in and the network is connected 54.026
When I eject the boot medium 0.302
Then Tails eventually shuts down 11.263
After features/support/hooks.rb:326 0.263
After features/support/hooks.rb:100 0.000
44.382
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 10.047
And I prepare Tails for memory erasure tests 0.444
And I fill a 128 MiB file with a known pattern on the root filesystem 18.554
And patterns cover at least 128 MiB in the guest's memory 3.975

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 10.230
Then I find very few patterns in the guest's memory 0.733

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

After features/support/hooks.rb:326 3.643
After features/support/hooks.rb:100 0.000
38.081
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.617
And I prepare Tails for memory erasure tests 0.389
And I plug and mount a 128 MiB USB drive with a vfat filesystem 9.383
And I fill the USB drive with a known pattern 2.774
And I read the content of the test FS 0.164
And patterns cover at least 90% of the test FS size in the guest's memory 3.802

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

When I eject the boot medium 0.901
And I wait for Tails to finish wiping the memory 11.245
Then I find very few patterns in the guest's memory 0.801

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

After features/support/hooks.rb:326 3.559
After features/support/hooks.rb:100 0.000
1:4.443
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.280
And I prepare Tails for memory erasure tests 0.424
And I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.970
And I fill the USB drive with a known pattern 1.472
And I read the content of the test FS 0.078
And patterns cover at least 99% of the test FS size in the guest's memory 3.670

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

When I eject the boot medium 0.368
And I wait for Tails to finish wiping the memory 10.417
Then I find very few patterns in the guest's memory 0.760

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

After features/support/hooks.rb:326 3.789
After features/support/hooks.rb:100 0.000
51.769
Scenario Tails erases memory and shuts down on USB boot medium removal: persistent data
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.316
And I prepare Tails for memory erasure tests 0.656
And I fill a 128 MiB file with a known pattern on the persistent filesystem 25.264
And patterns cover at least 100 MiB in the guest's memory 4.461

Pattern coverage: 110.824% (110 MiB out of 100 MiB reference memory)

When I eject the boot medium 0.479
Then I see a window explaining me the danger of unplugging the USB stick 10.592
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "zenity" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70: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 5.300

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/9/artifact/build-artifacts/01:43:59_Tails_erases_memory_and_shuts_down_on_USB_boot_medium_removal:_persistent_data.file_content_var_log_boot.log

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

After features/support/hooks.rb:100 0.000