Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 76 05 Jan 2025, 21:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 40 1 10 0 0 51 5 1 6 11:52.690 Failed
Feature System memory erasure on shutdown
As a Tails user when I shutdown Tails I want the system memory to be free from sensitive data.
23.850
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.526
And I prepare Tails for memory erasure tests 0.560
When I start a process allocating 128 MiB of memory with a known pattern 2.357
Then patterns cover at least 128 MiB in the guest's memory 4.710

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

When I kill the allocating process 1.065
Then I find very few patterns in the guest's memory after 3 seconds 6.630

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

After features/support/hooks.rb:326 0.718
After features/support/hooks.rb:100 0.000
28.674
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 9.507
And I prepare Tails for memory erasure tests 0.414
And I find very few patterns in the guest's memory 3.366

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

When I mount a 128 MiB tmpfs on "/mnt" and fill it with a known pattern 3.692
Then patterns cover at least 99% of the test FS size in the guest's memory 3.888

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

When I umount "/mnt" 1.189
Then I find very few patterns in the guest's memory after 3 seconds 6.614

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

After features/support/hooks.rb:326 1.563
After features/support/hooks.rb:100 0.000
53.507
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.371
And I prepare Tails for memory erasure tests 0.550
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.171
Then I find very few patterns in the guest's memory 3.408

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

# write cache
When I fill the USB drive with a known pattern 7.030
Then patterns cover at least 75% of the test FS size in the guest's memory 3.470

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

When I umount the USB drive 1.615
Then I find very few patterns in the guest's memory after 3 seconds 5.801

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

# read cache
When I mount the USB drive again 0.493
And I read the content of the test FS 0.746
Then patterns cover at least 99% of the test FS size in the guest's memory 4.123

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

When I umount the USB drive 0.947
Then I find very few patterns in the guest's memory after 3 seconds 6.774

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

After features/support/hooks.rb:326 1.262
After features/support/hooks.rb:100 0.000
1:1.631
Scenario Erasure of read and write disk caches on unmount: 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.614
And I prepare Tails for memory erasure tests 0.547
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 52.468
try_for() timeout expired (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/step_definitions/common_steps.rb:784:in `deal_with_polkit_prompt'
./features/step_definitions/common_steps.rb:1486:in `/^I plug and mount a (\d+) MiB USB drive with an? (.*)$/'
features/erase_memory.feature:50:in `When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf"'
Then I find very few patterns in the guest's memory 0.000
# write cache
When I fill the USB drive with a known pattern 0.000
Then patterns cover at least 99% of the test FS size in the guest's memory 0.000
When I umount the USB drive 0.000
Then I find very few patterns in the guest's memory after 3 seconds 0.000
# read cache
When I mount the USB drive again 0.000
And I read the content of the test FS 0.000
Then patterns cover at least 99% of the test FS size in the guest's memory 0.000
When I umount the USB drive 0.000
Then I find very few patterns in the guest's memory after 3 seconds 0.000
After features/support/hooks.rb:326 5.271

SCENARIO FAILED: 'Erasure of read and write disk caches on unmount: LUKS-encrypted ext4' (at time 00:35:03)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/76/artifact/build-artifacts/00:35:03_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/76/artifact/build-artifacts/00:35:03_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/76/artifact/build-artifacts/00:35:03_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/76/artifact/build-artifacts/00:35:03_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.journal

After features/support/hooks.rb:100 0.002
52.897
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.185
And I prepare Tails for memory erasure tests 0.717
When I fill a 128 MiB file with a known pattern on the root filesystem 16.633
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.008
Then patterns cover at least 128 MiB in the guest's memory 3.603

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

When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 20.732

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

After features/support/hooks.rb:326 3.527
After features/support/hooks.rb:100 0.000
8:12.130
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 7:26.880
And I prepare Tails for memory erasure tests 0.436
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.449
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.349

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

After features/support/hooks.rb:326 3.543
After features/support/hooks.rb:100 0.013