Project Number Date
test_Tails_ISO_devel 3410 01 Jun 2024, 12:44

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:45.092 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.
21.234
Scenario Erasure of memory freed by killed userspace processes
Before features/support/hooks.rb:265 0.002
Steps
Given I have started Tails from DVD without network and logged in 9.273
And I prepare Tails for memory erasure tests 0.601
When I start a process allocating 128 MiB of memory with a known pattern 3.077
Then patterns cover at least 128 MiB in the guest's memory 3.635

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

When I kill the allocating process 0.293
Then I find very few patterns in the guest's memory 4.352
9.673% 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.673% (84 MiB out of 876 MiB reference memory)

After features/support/hooks.rb:311 5.211

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3410/artifact/build-artifacts/00:29:46_Erasure_of_memory_freed_by_killed_userspace_processes.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3410/artifact/build-artifacts/00:29:46_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3410/artifact/build-artifacts/00:29:46_Erasure_of_memory_freed_by_killed_userspace_processes.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3410/artifact/build-artifacts/00:29:46_Erasure_of_memory_freed_by_killed_userspace_processes.journal

After features/support/hooks.rb:100 0.000
27.895
Before features/support/hooks.rb:265 0.003
Given I have started Tails from DVD without network and logged in 12.635
And I prepare Tails for memory erasure tests 0.894
And I find very few patterns in the guest's memory 4.233

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

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

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

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

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

After features/support/hooks.rb:311 1.385
After features/support/hooks.rb:100 0.000
44.117
Before features/support/hooks.rb:265 0.002
Given I have started Tails from DVD without network and logged in 8.167
And I prepare Tails for memory erasure tests 0.404
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.015
Then I find very few patterns in the guest's memory 4.304

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

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

Pattern coverage: 88.606% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:311 0.766
After features/support/hooks.rb:100 0.000
1:11.288
Before features/support/hooks.rb:265 0.002
Given I have started Tails from DVD without network and logged in 8.558
And I prepare Tails for memory erasure tests 0.397
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.350
Then I find very few patterns in the guest's memory 3.523

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:311 0.714
After features/support/hooks.rb:100 0.000
49.575
Before features/support/hooks.rb:265 0.002
Given I have started Tails from DVD without network and logged in 8.136
And I prepare Tails for memory erasure tests 0.439
When I fill a 128 MiB file with a known pattern on the root filesystem 13.983
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.715
Then patterns cover at least 128 MiB in the guest's memory 3.288

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:311 3.506
After features/support/hooks.rb:100 0.000
8:10.980
Before features/support/hooks.rb:265 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:26.535
And I prepare Tails for memory erasure tests 0.460
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.798
When I trigger shutdown 0.013
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:311 3.526
After features/support/hooks.rb:100 0.014