Project Number Date
test_Tails_ISO_feature-11897-improve-random-seed-file 52 19 Mar 2024, 19:39

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:10.270 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.
19.279
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.284
And I prepare Tails for memory erasure tests 0.506
When I start a process allocating 128 MiB of memory with a known pattern 1.232
Then patterns cover at least 128 MiB in the guest's memory 4.608

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 1.918

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

After features/support/hooks.rb:291 3.468
After features/support/hooks.rb:75 0.000
6:38.376
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:53.049
And I prepare Tails for memory erasure tests 0.356
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.796
When I trigger shutdown 0.015
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.581
After features/support/hooks.rb:75 0.010