Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 60 30 Apr 2024, 06:42

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:44.696 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.
21.487
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.859
And I prepare Tails for memory erasure tests 0.508
When I start a process allocating 128 MiB of memory with a known pattern 2.386
Then patterns cover at least 128 MiB in the guest's memory 4.095

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

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

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

After features/support/hooks.rb:305 0.929
After features/support/hooks.rb:89 0.000
23.747
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.482
And I prepare Tails for memory erasure tests 0.411
And I find very few patterns in the guest's memory 4.002

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

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

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

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

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

After features/support/hooks.rb:305 1.096
After features/support/hooks.rb:89 0.000
50.015
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 9.091
And I prepare Tails for memory erasure tests 0.665
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.254
Then I find very few patterns in the guest's memory 4.933

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.012
After features/support/hooks.rb:89 0.000
1:28.967
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.374
And I prepare Tails for memory erasure tests 0.444
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 40.372
Then I find very few patterns in the guest's memory 3.923

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.196
After features/support/hooks.rb:89 0.000
52.490
Before features/support/hooks.rb:259 0.004
Given I have started Tails from DVD without network and logged in 8.602
And I prepare Tails for memory erasure tests 0.505
When I fill a 128 MiB file with a known pattern on the root filesystem 15.386
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.455
Then patterns cover at least 128 MiB in the guest's memory 3.653

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.003

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.473
After features/support/hooks.rb:89 0.000
7:47.988
Before features/support/hooks.rb:259 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:2.606
And I prepare Tails for memory erasure tests 0.441
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.036
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.888

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

After features/support/hooks.rb:305 3.533
After features/support/hooks.rb:89 0.013