Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 113 21 Jun 2024, 06:49

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 11:6.520 Passed
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.458
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.193
And I prepare Tails for memory erasure tests 0.496
When I start a process allocating 128 MiB of memory with a known pattern 2.430
Then patterns cover at least 128 MiB in the guest's memory 3.547

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.000
1:0.960
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.978
And I prepare Tails for memory erasure tests 0.397
When I fill a 128 MiB file with a known pattern on the root filesystem 15.070
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 13.178
Then patterns cover at least 128 MiB in the guest's memory 2.554

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

When I trigger shutdown 0.014
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.528
After features/support/hooks.rb:100 0.000
7:24.710
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 6:39.976
And I prepare Tails for memory erasure tests 0.398
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.126
When I trigger shutdown 0.014
And I wait 20 seconds 20.016

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.508
After features/support/hooks.rb:100 0.011