Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 91 31 May 2024, 09:15

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 12:3.016 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.
20.552
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.907
And I prepare Tails for memory erasure tests 0.701
When I start a process allocating 128 MiB of memory with a known pattern 1.325
Then patterns cover at least 128 MiB in the guest's memory 3.887

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

When I kill the allocating process 0.386
Then I find very few patterns in the guest's memory 4.344
2.505% 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: 2.505% (22 MiB out of 887 MiB reference memory)

After features/support/hooks.rb:311 5.913

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/91/artifact/build-artifacts/00:28:59_Erasure_of_memory_freed_by_killed_userspace_processes.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/91/artifact/build-artifacts/00:28:59_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/91/artifact/build-artifacts/00:28:59_Erasure_of_memory_freed_by_killed_userspace_processes.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/91/artifact/build-artifacts/00:28:59_Erasure_of_memory_freed_by_killed_userspace_processes.journal

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

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

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

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

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

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

After features/support/hooks.rb:311 1.239
After features/support/hooks.rb:100 0.000
49.684
Before features/support/hooks.rb:265 0.003
Given I have started Tails from DVD without network and logged in 9.180
And I prepare Tails for memory erasure tests 0.462
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.228
Then I find very few patterns in the guest's memory 4.149

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:311 0.940
After features/support/hooks.rb:100 0.001
53.427
Before features/support/hooks.rb:265 0.007
Given I have started Tails from DVD without network and logged in 9.370
And I prepare Tails for memory erasure tests 0.480
When I fill a 128 MiB file with a known pattern on the root filesystem 13.913
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 4.293
Then patterns cover at least 128 MiB in the guest's memory 3.436

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.014

Slept for 20 seconds

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

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

After features/support/hooks.rb:311 3.536
After features/support/hooks.rb:100 0.000
8:17.918
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:31.722
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 23.374
When I trigger shutdown 0.013
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:311 3.646
After features/support/hooks.rb:100 0.017