Project Number Date
test_Tails_ISO_stable 4871 04 Jun 2024, 16:42

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:10.449 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.
19.205
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 7.984
And I prepare Tails for memory erasure tests 0.550
When I start a process allocating 128 MiB of memory with a known pattern 2.322
Then patterns cover at least 128 MiB in the guest's memory 3.824

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

When I kill the allocating process 0.216
Then I find very few patterns in the guest's memory 4.306
3.636% 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: 3.636% (31 MiB out of 879 MiB reference memory)

After features/support/hooks.rb:311 5.213

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

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

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

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

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

After features/support/hooks.rb:100 0.000
23.804
Before features/support/hooks.rb:265 0.002
Given I have started Tails from DVD without network and logged in 7.940
And I prepare Tails for memory erasure tests 0.535
And I find very few patterns in the guest's memory 4.889

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

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

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

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

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

After features/support/hooks.rb:311 0.927
After features/support/hooks.rb:100 0.000
47.758
Before features/support/hooks.rb:265 0.002
Given I have started Tails from DVD without network and logged in 7.888
And I prepare Tails for memory erasure tests 0.510
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.059
Then I find very few patterns in the guest's memory 5.435

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

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

Pattern coverage: 90.152% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:311 0.947
After features/support/hooks.rb:100 0.000
51.676
Before features/support/hooks.rb:265 0.003
Given I have started Tails from DVD without network and logged in 8.818
And I prepare Tails for memory erasure tests 0.436
When I fill a 128 MiB file with a known pattern on the root filesystem 15.948
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.711
Then patterns cover at least 128 MiB in the guest's memory 2.892

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

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 1.844

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

After features/support/hooks.rb:311 3.507
After features/support/hooks.rb:100 0.000
8:4.887
Before features/support/hooks.rb:265 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:18.435
And I prepare Tails for memory erasure tests 0.441
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.589
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.389

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

After features/support/hooks.rb:311 3.733
After features/support/hooks.rb:100 0.012