Project Number Date
test_Tails_ISO_stable 5056 29 Aug 2024, 08:49

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 89.233% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.812

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

After features/support/hooks.rb:326 3.550
After features/support/hooks.rb:100 0.000
8:24.093
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 7:39.140
And I prepare Tails for memory erasure tests 0.452
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.004
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.480

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

After features/support/hooks.rb:326 3.526
After features/support/hooks.rb:100 0.044