Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 2 25 Oct 2024, 18:04

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Emergency shutdown 28 1 7 0 0 36 4 1 5 4:16.664 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.
52.979
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in and the network is connected 46.095
When I eject the boot medium 0.260
Then Tails eventually shuts down 6.622
After features/support/hooks.rb:326 0.217
After features/support/hooks.rb:100 0.000
49.188
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD without network and logged in 9.191
And I prepare Tails for memory erasure tests 0.460
And I fill a 128 MiB file with a known pattern on the root filesystem 16.199
And patterns cover at least 128 MiB in the guest's memory 10.112

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

When I eject the boot medium 0.764
And I wait for Tails to finish wiping the memory 11.517
Then I find very few patterns in the guest's memory 0.943

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

After features/support/hooks.rb:326 3.581
After features/support/hooks.rb:100 0.000
42.122
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.753
And I prepare Tails for memory erasure tests 0.504
And I plug and mount a 128 MiB USB drive with a vfat filesystem 10.495
And I fill the USB drive with a known pattern 3.114
And I read the content of the test FS 0.107
And patterns cover at least 90% of the test FS size in the guest's memory 5.629

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

When I eject the boot medium 0.266
And I wait for Tails to finish wiping the memory 12.243
Then I find very few patterns in the guest's memory 1.006

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

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

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

When I eject the boot medium 0.342
And I wait for Tails to finish wiping the memory 8.081
Then I find very few patterns in the guest's memory 1.204

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

After features/support/hooks.rb:326 3.874
After features/support/hooks.rb:100 0.000
52.370
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 52.370
The
The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Your Persistent Storage is unlocked. Its content will be available until you shut down Tails." roleName='label'
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:339:in `initialize'
./features/support/helpers/dogtail.rb:268:in `new'
./features/support/helpers/dogtail.rb:268:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:276:in `child'
./features/step_definitions/usb.rb:695:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/emergency_shutdown.feature:48:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I prepare Tails for memory erasure tests 0.000
And I fill a 128 MiB file with a known pattern on the persistent filesystem 0.000
And patterns cover at least 100 MiB in the guest's memory 0.000
When I eject the boot medium 0.000
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.225

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix/2/artifact/build-artifacts/01:28:29_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_20634-greeter-tps-upgrade-failure-fix/2/artifact/build-artifacts/01:28:29_Tails_erases_memory_and_shuts_down_on_USB_boot_medium_removal:_persistent_data.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix/2/artifact/build-artifacts/01:28:29_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_20634-greeter-tps-upgrade-failure-fix/2/artifact/build-artifacts/01:28:29_Tails_erases_memory_and_shuts_down_on_USB_boot_medium_removal:_persistent_data.journal

After features/support/hooks.rb:100 0.000