Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 3 17 Mar 2024, 06:10

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 9:26.805 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.237
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.848
And I prepare Tails for memory erasure tests 0.366
When I start a process allocating 128 MiB of memory with a known pattern 1.425
Then patterns cover at least 128 MiB in the guest's memory 4.802

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

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

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

After features/support/hooks.rb:291 0.878
After features/support/hooks.rb:75 0.000
21.781
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.917
And I prepare Tails for memory erasure tests 0.361
And I find very few patterns in the guest's memory 4.448

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

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

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

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

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

After features/support/hooks.rb:291 0.734
After features/support/hooks.rb:75 0.000
38.022
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.815
And I prepare Tails for memory erasure tests 0.358
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.759
Then I find very few patterns in the guest's memory 4.053

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 0.902
After features/support/hooks.rb:75 0.000
57.046
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.865
And I prepare Tails for memory erasure tests 0.356
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 25.422
Then I find very few patterns in the guest's memory 3.505

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

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

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

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

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

# read cache
When I mount the USB drive again 3.706
And I read the content of the test FS 0.327
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.582
Then I find very few patterns in the guest's memory 3.627

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

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

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

When I trigger shutdown 0.017
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.487
After features/support/hooks.rb:75 0.000
6:24.639
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:41.691
And I prepare Tails for memory erasure tests 0.370
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.436
When I trigger shutdown 0.010
And I wait 20 seconds 20.002

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.455
After features/support/hooks.rb:75 0.011