Project Number Date
test_Tails_ISO_stable 4717 13 Mar 2024, 20:52

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

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

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

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

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

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.633
Then patterns cover at least 99% of the test FS size in the guest's memory 7.678

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

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

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

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

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

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

Pattern coverage: 94.906% (121 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.512
After features/support/hooks.rb:75 0.000
6:48.301
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 6:2.929
And I prepare Tails for memory erasure tests 0.467
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.613
When I trigger shutdown 0.016
And I wait 20 seconds 20.004

Slept for 20 seconds

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

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

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