Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 22 09 Aug 2024, 16:24

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

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

When I kill the allocating process 0.267
Then I find very few patterns in the guest's memory after 3 seconds 5.819

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

After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
36.448
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 20.812
And I prepare Tails for memory erasure tests 0.386
And I find very few patterns in the guest's memory 2.877

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.114
After features/support/hooks.rb:100 0.000
52.490
Scenario Erasure of the overlayfs read-write branch on shutdown
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails from DVD without network and logged in 9.256
And I prepare Tails for memory erasure tests 0.412
When I fill a 128 MiB file with a known pattern on the root filesystem 15.930
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.731
Then patterns cover at least 128 MiB in the guest's memory 2.589

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

When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 22.556
14.286% 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:72:in `Then I find very few patterns in the guest's memory after 20 seconds'
Output 1

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

After features/support/hooks.rb:326 10.555

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/22/artifact/build-artifacts/00:31:57_Erasure_of_the_overlayfs_read-write_branch_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/22/artifact/build-artifacts/00:31:57_Erasure_of_the_overlayfs_read-write_branch_on_shutdown.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/22/artifact/build-artifacts/00:31:57_Erasure_of_the_overlayfs_read-write_branch_on_shutdown.journal

After features/support/hooks.rb:100 0.000
7:18.882
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 6:35.288
And I prepare Tails for memory erasure tests 0.942
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.524
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.113

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

After features/support/hooks.rb:326 3.504
After features/support/hooks.rb:100 0.014