Project Number Date
test_Tails_ISO_stable 4991 01 Aug 2024, 16:04

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 13:36.209 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.
29.305
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.888
And I prepare Tails for memory erasure tests 0.514
When I start a process allocating 128 MiB of memory with a known pattern 3.843
Then patterns cover at least 128 MiB in the guest's memory 5.729

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

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

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

After features/support/hooks.rb:326 1.414
After features/support/hooks.rb:100 0.000
34.359
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 10.546
And I prepare Tails for memory erasure tests 0.486
And I find very few patterns in the guest's memory 7.411

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

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

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

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

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

After features/support/hooks.rb:326 1.064
After features/support/hooks.rb:100 0.000
53.525
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.794
And I prepare Tails for memory erasure tests 0.601
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.314
Then I find very few patterns in the guest's memory 4.851

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 2.017
After features/support/hooks.rb:100 0.001
1:20.745
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and logged in 9.451
And I prepare Tails for memory erasure tests 0.519
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 39.031
Then I find very few patterns in the guest's memory 5.172

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.019
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.598
After features/support/hooks.rb:100 0.000
9:19.627
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:26.428
And I prepare Tails for memory erasure tests 0.427
When I fill a 128 MiB file with a known pattern on the persistent filesystem 30.275
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.462

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

After features/support/hooks.rb:326 3.559
After features/support/hooks.rb:100 0.016