Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 15 02 Aug 2024, 16:31

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 52 1 0 0 0 53 5 1 6 11:28.355 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.
22.224
Scenario Erasure of memory freed by killed userspace processes
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails from DVD without network and logged in 10.252
And I prepare Tails for memory erasure tests 0.450
When I start a process allocating 128 MiB of memory with a known pattern 2.508
Then patterns cover at least 128 MiB in the guest's memory 4.016

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

When I kill the allocating process 0.276
Then I find very few patterns in the guest's memory 4.719
10.134% of the free memory still has the pattern, but less than 0.800% was expected.
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/erase_memory.rb:219:in `/^I find very few patterns in the guest's memory$/'
features/erase_memory.feature:19:in `Then I find very few patterns in the guest's memory'
Output 1

Pattern coverage: 10.134% (89 MiB out of 882 MiB reference memory)

After features/support/hooks.rb:326 5.722

SCENARIO FAILED: 'Erasure of memory freed by killed userspace processes' (at time 00:29:09)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/15/artifact/build-artifacts/00:29:09_Erasure_of_memory_freed_by_killed_userspace_processes.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/15/artifact/build-artifacts/00:29:09_Erasure_of_memory_freed_by_killed_userspace_processes.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/15/artifact/build-artifacts/00:29:09_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/15/artifact/build-artifacts/00:29:09_Erasure_of_memory_freed_by_killed_userspace_processes.journal

After features/support/hooks.rb:100 0.000
28.560
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and logged in 8.605
And I prepare Tails for memory erasure tests 0.480
And I find very few patterns in the guest's memory 4.755

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

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

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

When I umount "/mnt" 1.466
Then I find very few patterns in the guest's memory 5.216

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

After features/support/hooks.rb:326 0.923
After features/support/hooks.rb:100 0.000
49.574
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.704
And I prepare Tails for memory erasure tests 0.452
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.390
Then I find very few patterns in the guest's memory 4.831

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

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

Pattern coverage: 88.042% (112 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.740
Then I find very few patterns in the guest's memory 4.662

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

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

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

When I umount the USB drive 1.042
Then I find very few patterns in the guest's memory 5.043

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

After features/support/hooks.rb:326 1.336
After features/support/hooks.rb:100 0.000
1:16.540
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.581
And I prepare Tails for memory erasure tests 0.437
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 36.866
Then I find very few patterns in the guest's memory 3.384

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

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

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

When I umount the USB drive 2.079
Then I find very few patterns in the guest's memory 3.374

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

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

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

When I umount the USB drive 0.787
Then I find very few patterns in the guest's memory 3.437

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.010

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.862

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

After features/support/hooks.rb:326 3.543
After features/support/hooks.rb:100 0.000
7:39.238
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 6:55.071
And I prepare Tails for memory erasure tests 0.374
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.643
When I trigger shutdown 0.017
And I wait 20 seconds 20.020

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.110

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

After features/support/hooks.rb:326 3.519
After features/support/hooks.rb:100 0.012