Project Number Date
test_Tails_ISO_stable 4758 30 Mar 2024, 11:50

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

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

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

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

After features/support/hooks.rb:291 0.659
After features/support/hooks.rb:75 0.000
22.688
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.127
And I prepare Tails for memory erasure tests 0.386
And I find very few patterns in the guest's memory 4.168

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

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

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

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

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

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

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

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

Pattern coverage: 87.403% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.001

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.554
After features/support/hooks.rb:75 0.000
6:24.099
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:41.816
And I prepare Tails for memory erasure tests 0.476
When I fill a 128 MiB file with a known pattern on the persistent filesystem 19.596
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.178

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

After features/support/hooks.rb:291 3.523
After features/support/hooks.rb:75 0.011