Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 65 05 May 2024, 06:39

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.774
After features/support/hooks.rb:89 0.000
49.308
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.976
And I prepare Tails for memory erasure tests 0.469
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.184
Then I find very few patterns in the guest's memory 5.964

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.017
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.506
After features/support/hooks.rb:89 0.000
7:42.737
Before features/support/hooks.rb:259 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:59.120
And I prepare Tails for memory erasure tests 0.404
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.034
When I trigger shutdown 0.010
And I wait 20 seconds 20.012

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.501
After features/support/hooks.rb:89 0.010