Project Number Date
test_Tails_ISO_stable 4832 08 May 2024, 12:47

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:35.155 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.487
Scenario Erasure of memory freed by killed userspace processes
Before features/support/hooks.rb:259 0.003
Steps
Given I have started Tails from DVD without network and logged in 9.199
And I prepare Tails for memory erasure tests 0.448
When I start a process allocating 128 MiB of memory with a known pattern 2.321
Then patterns cover at least 128 MiB in the guest's memory 4.544

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

When I kill the allocating process 0.265
Then I find very few patterns in the guest's memory 4.708
6.480% 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: 6.480% (56 MiB out of 871 MiB reference memory)

After features/support/hooks.rb:305 6.433

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/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_stable/4832/artifact/build-artifacts/00:29:09_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/00:29:09_Erasure_of_memory_freed_by_killed_userspace_processes.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4832/artifact/build-artifacts/00:29:09_Erasure_of_memory_freed_by_killed_userspace_processes.journal

After features/support/hooks.rb:89 0.000
28.169
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 9.110
And I prepare Tails for memory erasure tests 0.450
And I find very few patterns in the guest's memory 6.885

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 2.330
Then patterns cover at least 99% of the test FS size in the guest's memory 4.213

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

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

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

After features/support/hooks.rb:305 1.827
After features/support/hooks.rb:89 0.000
48.204
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.059
And I prepare Tails for memory erasure tests 0.515
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.332
Then I find very few patterns in the guest's memory 4.958

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

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

Pattern coverage: 87.645% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:305 2.452
After features/support/hooks.rb:89 0.000
1:21.217
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.387
And I prepare Tails for memory erasure tests 0.486
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 36.812
Then I find very few patterns in the guest's memory 4.150

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.826
After features/support/hooks.rb:89 0.000
53.063
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.731
And I prepare Tails for memory erasure tests 0.486
When I fill a 128 MiB file with a known pattern on the root filesystem 16.766
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.011
Then patterns cover at least 128 MiB in the guest's memory 3.162

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

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 1.871

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

After features/support/hooks.rb:305 3.547
After features/support/hooks.rb:89 0.000
7:43.014
Before features/support/hooks.rb:259 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:57.876
And I prepare Tails for memory erasure tests 0.454
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.228
When I trigger shutdown 0.013
And I wait 20 seconds 20.007

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.580
After features/support/hooks.rb:89 0.013