Project Number Date
test_Tails_ISO_devel 3282 14 Feb 2024, 20:45

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

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

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

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

After features/support/hooks.rb:291 1.579
After features/support/hooks.rb:75 0.000
23.858
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.526
And I prepare Tails for memory erasure tests 0.381
And I find very few patterns in the guest's memory 3.979

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

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

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

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

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

After features/support/hooks.rb:291 0.773
After features/support/hooks.rb:75 0.000
42.597
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.202
And I prepare Tails for memory erasure tests 0.617
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.879
Then I find very few patterns in the guest's memory 4.741

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.467
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.540
After features/support/hooks.rb:75 0.000
7:34.132
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:50.086
And I prepare Tails for memory erasure tests 0.459
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.129
When I trigger shutdown 0.057
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.535
After features/support/hooks.rb:75 0.018