Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 4 31 Oct 2024, 22:37

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:44.633 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.
24.030
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.742
And I prepare Tails for memory erasure tests 0.677
When I start a process allocating 128 MiB of memory with a known pattern 1.232
Then patterns cover at least 128 MiB in the guest's memory 6.251

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.928
After features/support/hooks.rb:100 0.000
54.430
Scenario Erasure of read and write disk caches on unmount: LUKS-encrypted ext4
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.317
And I prepare Tails for memory erasure tests 0.588
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 45.525
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 7.517

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20530-tca-controls-tor-flag-file/4/artifact/build-artifacts/00:31:47_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/4/artifact/build-artifacts/00:31:47_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/4/artifact/build-artifacts/00:31:47_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/4/artifact/build-artifacts/00:31:47_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.journal

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

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

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

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

After features/support/hooks.rb:326 3.616
After features/support/hooks.rb:100 0.000
8:4.240
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:15.107
And I prepare Tails for memory erasure tests 0.395
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.288
When I trigger shutdown 0.019
Then I find very few patterns in the guest's memory after 20 seconds 21.429

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

After features/support/hooks.rb:326 3.541
After features/support/hooks.rb:100 0.014