Project Number Date
test_Tails_ISO_stable 4935 12 Jul 2024, 01:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 1 1 0 0 53 5 1 6 12:18.753 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.785
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.502
And I prepare Tails for memory erasure tests 0.518
When I start a process allocating 128 MiB of memory with a known pattern 2.380
Then patterns cover at least 128 MiB in the guest's memory 4.173

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

When I kill the allocating process 12.211
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/erase_memory.rb:105:in `/^I kill the allocating process$/'
features/erase_memory.feature:18:in `When I kill the allocating process'
Then I find very few patterns in the guest's memory 0.000
After features/support/hooks.rb:326 5.947

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

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

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4935/artifact/build-artifacts/00:29:48_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

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

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

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

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

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

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

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

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

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

Pattern coverage: 92.047% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.017
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.573
After features/support/hooks.rb:100 0.000
8:0.785
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:15.543
And I prepare Tails for memory erasure tests 0.473
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.292
When I trigger shutdown 0.017
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

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