Project Number Date
test_Tails_ISO_devel 3447 05 Jul 2024, 12:08

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 11:32.704 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.806
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.094
And I prepare Tails for memory erasure tests 0.464
When I start a process allocating 128 MiB of memory with a known pattern 3.512
Then patterns cover at least 128 MiB in the guest's memory 3.525

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

When I kill the allocating process 1.458
Then I find very few patterns in the guest's memory 3.751

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

After features/support/hooks.rb:326 1.520
After features/support/hooks.rb:100 0.000
24.363
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.070
And I prepare Tails for memory erasure tests 0.418
And I find very few patterns in the guest's memory 3.921

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

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

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

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

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

After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.000
43.744
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.058
And I prepare Tails for memory erasure tests 0.373
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.140
Then I find very few patterns in the guest's memory 4.058

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.929
After features/support/hooks.rb:100 0.000
57.556
Scenario Erasure of the overlayfs read-write branch on shutdown
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails from DVD without network and logged in 7.939
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 16.074
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 7.073
Then patterns cover at least 128 MiB in the guest's memory 2.637

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

When I trigger shutdown 0.015
And I wait 20 seconds 20.050

Slept for 20 seconds

Then I find very few patterns in the guest's memory 3.312
14.414% 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:73:in `Then I find very few patterns in the guest's memory'
Output 1

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

After features/support/hooks.rb:326 10.589

SCENARIO FAILED: 'Erasure of the overlayfs read-write branch on shutdown' (at time 00:30:47)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3447/artifact/build-artifacts/00:30:47_Erasure_of_the_overlayfs_read-write_branch_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3447/artifact/build-artifacts/00:30:47_Erasure_of_the_overlayfs_read-write_branch_on_shutdown.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3447/artifact/build-artifacts/00:30:47_Erasure_of_the_overlayfs_read-write_branch_on_shutdown.journal

After features/support/hooks.rb:100 0.000
7:55.966
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:11.845
And I prepare Tails for memory erasure tests 0.436
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.565
When I trigger shutdown 0.011
And I wait 20 seconds 20.016

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.511
After features/support/hooks.rb:100 0.013