Project Number Date
test_Tails_ISO_devel 3599 25 Nov 2024, 13:21

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 50 1 0 0 0 51 5 1 6 12:23.732 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.
27.119
Scenario Erasure of memory freed by killed userspace processes
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.149
And I prepare Tails for memory erasure tests 0.460
When I start a process allocating 128 MiB of memory with a known pattern 4.596
Then patterns cover at least 128 MiB in the guest's memory 4.216

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

When I kill the allocating process 2.286
Then I find very few patterns in the guest's memory after 3 seconds 7.409
7.672% 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:222:in `/^I find very few patterns in the guest's memory(?: after (\d+) seconds)?$/'
features/erase_memory.feature:19:in `Then I find very few patterns in the guest's memory after 3 seconds'
Output 1

Pattern coverage: 7.672% (68 MiB out of 889 MiB reference memory)

After features/support/hooks.rb:326 5.598

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3599/artifact/build-artifacts/00:30:03_Erasure_of_memory_freed_by_killed_userspace_processes.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3599/artifact/build-artifacts/00:30:03_Erasure_of_memory_freed_by_killed_userspace_processes.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3599/artifact/build-artifacts/00:30:03_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3599/artifact/build-artifacts/00:30:03_Erasure_of_memory_freed_by_killed_userspace_processes.journal

After features/support/hooks.rb:100 0.000
31.447
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.306
And I prepare Tails for memory erasure tests 0.456
And I find very few patterns in the guest's memory 4.416

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

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

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

When I umount "/mnt" 0.808
Then I find very few patterns in the guest's memory after 3 seconds 9.944

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

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

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

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

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

When I umount the USB drive 2.069
Then I find very few patterns in the guest's memory after 3 seconds 7.555

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

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

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

When I umount the USB drive 1.148
Then I find very few patterns in the guest's memory after 3 seconds 6.639

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

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

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

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

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

When I umount the USB drive 1.137
Then I find very few patterns in the guest's memory after 3 seconds 6.240

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

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

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

When I umount the USB drive 0.958
Then I find very few patterns in the guest's memory after 3 seconds 6.088

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

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

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

When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 20.856

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

After features/support/hooks.rb:326 3.514
After features/support/hooks.rb:100 0.000
8:13.226
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:28.907
And I prepare Tails for memory erasure tests 0.438
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.642
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.226

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

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