Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 89 29 May 2024, 08:01

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:22.412 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.
20.040
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.102
And I prepare Tails for memory erasure tests 0.474
When I start a process allocating 128 MiB of memory with a known pattern 2.392
Then patterns cover at least 128 MiB in the guest's memory 3.568

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

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

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

After features/support/hooks.rb:305 2.463
After features/support/hooks.rb:89 0.000
24.873
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.373
And I prepare Tails for memory erasure tests 0.573
And I find very few patterns in the guest's memory 4.297

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.654
After features/support/hooks.rb:89 0.000
7:36.891
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 6:51.826
And I prepare Tails for memory erasure tests 0.361
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.484
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 2.181

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

After features/support/hooks.rb:305 3.612
After features/support/hooks.rb:89 0.016