Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 5 18 Mar 2024, 06:23

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.515
After features/support/hooks.rb:75 0.000
6:19.058
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:36.084
And I prepare Tails for memory erasure tests 0.522
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.291
When I trigger shutdown 0.010
And I wait 20 seconds 20.004

Slept for 20 seconds

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

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

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