Project Number Date
test_Tails_ISO_stable 4931 11 Jul 2024, 19:33

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 13:33.089 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.
35.356
Scenario Erasure of memory freed by killed userspace processes
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails from DVD without network and logged in 9.250
And I prepare Tails for memory erasure tests 0.458
When I start a process allocating 128 MiB of memory with a known pattern 3.661
Then patterns cover at least 128 MiB in the guest's memory 8.634

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

When I kill the allocating process 0.554
Then I find very few patterns in the guest's memory 12.796
9.795% 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: 9.795% (87 MiB out of 895 MiB reference memory)

After features/support/hooks.rb:326 5.678

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4931/artifact/build-artifacts/00:28:31_Erasure_of_memory_freed_by_killed_userspace_processes.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4931/artifact/build-artifacts/00:28:31_Erasure_of_memory_freed_by_killed_userspace_processes.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4931/artifact/build-artifacts/00:28:31_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4931/artifact/build-artifacts/00:28:31_Erasure_of_memory_freed_by_killed_userspace_processes.journal

After features/support/hooks.rb:100 0.000
33.056
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 10.594
And I prepare Tails for memory erasure tests 0.429
And I find very few patterns in the guest's memory 5.939

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

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

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

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

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

After features/support/hooks.rb:326 3.456
After features/support/hooks.rb:100 0.000
1:8.788
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 10.274
And I prepare Tails for memory erasure tests 0.474
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.872
Then I find very few patterns in the guest's memory 7.013

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.002

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.738
After features/support/hooks.rb:100 0.000
8:58.958
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 8:12.813
And I prepare Tails for memory erasure tests 0.392
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.406
When I trigger shutdown 0.017
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

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