Project Number Date
test_Tails_ISO_stable 4571 17 Dec 2023, 12:01

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

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

When I kill the allocating process 0.367
Then I find very few patterns in the guest's memory 4.059
2.194% 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:204: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: 2.194% (26 MiB out of 1209 MiB reference memory)

After features/support/hooks.rb:291 4.058

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4571/artifact/build-artifacts/00:22:27_Erasure_of_memory_freed_by_killed_userspace_processes.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4571/artifact/build-artifacts/00:22:27_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4571/artifact/build-artifacts/00:22:27_Erasure_of_memory_freed_by_killed_userspace_processes.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4571/artifact/build-artifacts/00:22:27_Erasure_of_memory_freed_by_killed_userspace_processes.journal

After features/support/hooks.rb:75 0.000
59.078
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.142
And I prepare Tails for memory erasure tests 0.488
And I find very few patterns in the guest's memory 3.789

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

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

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

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

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

After features/support/hooks.rb:291 2.122
After features/support/hooks.rb:75 0.000
3:17.844
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 9.664
And I prepare Tails for memory erasure tests 0.477
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.075
Then I find very few patterns in the guest's memory 3.790

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

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

Pattern coverage: 96.146% (119 MiB out of 124 MiB reference memory)

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

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

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

Pattern coverage: 102.400% (127 MiB out of 124 MiB reference memory)

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

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

After features/support/hooks.rb:291 0.863
After features/support/hooks.rb:75 0.000
2:29.301
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.999
And I prepare Tails for memory erasure tests 0.469
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 27.681
Then I find very few patterns in the guest's memory 3.293

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.662% (97 MiB out of 89 MiB reference memory)

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

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

After features/support/hooks.rb:291 0.795
After features/support/hooks.rb:75 0.000
48.444
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.989
And I prepare Tails for memory erasure tests 0.469
When I fill a 128 MiB file with a known pattern on the root filesystem 13.115
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.538
Then patterns cover at least 128 MiB in the guest's memory 2.494

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

When I trigger shutdown 1.143
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.475
After features/support/hooks.rb:75 0.000
5:43.859
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:1.342
And I prepare Tails for memory erasure tests 0.433
When I fill a 128 MiB file with a known pattern on the persistent filesystem 19.870
When I trigger shutdown 0.214
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.670
After features/support/hooks.rb:75 0.011