Project Number Date
test_Tails_ISO_stable 5114 24 Sep 2024, 12:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 10:40.143 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.
22.429
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.895
And I prepare Tails for memory erasure tests 0.576
When I start a process allocating 128 MiB of memory with a known pattern 2.478
Then patterns cover at least 128 MiB in the guest's memory 3.903

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

When I kill the allocating process 1.442
Then I find very few patterns in the guest's memory after 3 seconds 6.133

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

After features/support/hooks.rb:326 0.646
After features/support/hooks.rb:100 0.000
23.534
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.905
And I prepare Tails for memory erasure tests 0.499
And I find very few patterns in the guest's memory 3.077

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

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

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

When I umount "/mnt" 0.530
Then I find very few patterns in the guest's memory after 3 seconds 6.017

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

After features/support/hooks.rb:326 0.715
After features/support/hooks.rb:100 0.000
44.990
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.897
And I prepare Tails for memory erasure tests 0.449
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.054
Then I find very few patterns in the guest's memory 3.087

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

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

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

When I umount the USB drive 1.188
Then I find very few patterns in the guest's memory after 3 seconds 6.091

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

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

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

When I umount the USB drive 0.713
Then I find very few patterns in the guest's memory after 3 seconds 6.021

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

After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.000
1:13.017
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.932
And I prepare Tails for memory erasure tests 0.470
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 36.334
Then I find very few patterns in the guest's memory 2.455

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

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

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

When I umount the USB drive 0.851
Then I find very few patterns in the guest's memory after 3 seconds 5.687

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

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

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

When I umount the USB drive 0.598
Then I find very few patterns in the guest's memory after 3 seconds 5.507

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

After features/support/hooks.rb:326 0.801
After features/support/hooks.rb:100 0.000
51.334
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.902
And I prepare Tails for memory erasure tests 0.552
When I fill a 128 MiB file with a known pattern on the root filesystem 17.385
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.906
Then patterns cover at least 128 MiB in the guest's memory 2.844

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

When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 20.729

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

After features/support/hooks.rb:326 3.481
After features/support/hooks.rb:100 0.000
7:4.837
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:19.620
And I prepare Tails for memory erasure tests 0.453
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.598
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.152

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

After features/support/hooks.rb:326 3.469
After features/support/hooks.rb:100 0.011