Project Number Date
test_Tails_ISO_stable 4994 02 Aug 2024, 12: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:39.075 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.817
Scenario Erasure of memory freed by killed userspace processes
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails from DVD without network and logged in 8.157
And I prepare Tails for memory erasure tests 0.506
When I start a process allocating 128 MiB of memory with a known pattern 4.765
Then patterns cover at least 128 MiB in the guest's memory 3.638

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

When I kill the allocating process 0.400
Then I find very few patterns in the guest's memory 4.348
5.344% 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: 5.344% (47 MiB out of 892 MiB reference memory)

After features/support/hooks.rb:326 5.138

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4994/artifact/build-artifacts/00:28:07_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/4994/artifact/build-artifacts/00:28:07_Erasure_of_memory_freed_by_killed_userspace_processes.png

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

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

After features/support/hooks.rb:100 0.000
27.411
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.606
And I prepare Tails for memory erasure tests 0.538
And I find very few patterns in the guest's memory 4.205

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

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

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

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

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

After features/support/hooks.rb:326 0.781
After features/support/hooks.rb:100 0.000
48.083
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.208
And I prepare Tails for memory erasure tests 0.629
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.739
Then I find very few patterns in the guest's memory 3.995

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.172
Then patterns cover at least 86% of the test FS size in the guest's memory 3.567

Pattern coverage: 92.696% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.015
And I wait 20 seconds 20.014

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.484
After features/support/hooks.rb:100 0.000
7:43.741
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:58.313
And I prepare Tails for memory erasure tests 0.429
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.615
When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

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