Project Number Date
test_Tails_ISO_devel 3312 08 Mar 2024, 14:12

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 9:52.456 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.
24.089
Scenario Erasure of memory freed by killed userspace processes
Before features/support/hooks.rb:245 0.002
Steps
Given I have started Tails from DVD without network and logged in 8.008
And I prepare Tails for memory erasure tests 0.398
When I start a process allocating 128 MiB of memory with a known pattern 1.186
Then patterns cover at least 128 MiB in the guest's memory 3.854

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

When I kill the allocating process 10.641
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:291 4.249

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3312/artifact/build-artifacts/00:26:48_Erasure_of_memory_freed_by_killed_userspace_processes.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3312/artifact/build-artifacts/00:26:48_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3312/artifact/build-artifacts/00:26:48_Erasure_of_memory_freed_by_killed_userspace_processes.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3312/artifact/build-artifacts/00:26:48_Erasure_of_memory_freed_by_killed_userspace_processes.journal

After features/support/hooks.rb:75 0.000
22.124
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.434
And I prepare Tails for memory erasure tests 0.446
And I find very few patterns in the guest's memory 4.229

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

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

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

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

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

After features/support/hooks.rb:291 1.439
After features/support/hooks.rb:75 0.000
42.676
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.579
And I prepare Tails for memory erasure tests 0.445
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.123
Then I find very few patterns in the guest's memory 4.483

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

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

Pattern coverage: 91.618% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:291 0.842
After features/support/hooks.rb:75 0.000
1:2.955
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.212
And I prepare Tails for memory erasure tests 0.448
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 26.848
Then I find very few patterns in the guest's memory 4.045

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 0.953
After features/support/hooks.rb:75 0.000
47.170
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.186
And I prepare Tails for memory erasure tests 0.390
When I fill a 128 MiB file with a known pattern on the root filesystem 12.679
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.683
Then patterns cover at least 128 MiB in the guest's memory 2.469

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.000

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.491
After features/support/hooks.rb:75 0.000
6:33.440
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:51.319
And I prepare Tails for memory erasure tests 0.396
When I fill a 128 MiB file with a known pattern on the persistent filesystem 19.320
When I trigger shutdown 0.010
And I wait 20 seconds 20.007

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.498
After features/support/hooks.rb:75 0.012