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

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

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

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

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

After features/support/hooks.rb:291 0.759
After features/support/hooks.rb:75 0.000
25.588
Before features/support/hooks.rb:245 0.004
Given I have started Tails from DVD without network and logged in 8.247
And I prepare Tails for memory erasure tests 0.543
And I find very few patterns in the guest's memory 4.250

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.016

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.497
After features/support/hooks.rb:75 0.000
6:55.823
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 6:12.590
And I prepare Tails for memory erasure tests 0.371
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.567
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 2.262

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

After features/support/hooks.rb:291 3.577
After features/support/hooks.rb:75 0.012