Project Number Date
test_Tails_ISO_devel 3427 15 Jun 2024, 13:04

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

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

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

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

After features/support/hooks.rb:315 1.004
After features/support/hooks.rb:100 0.000
44.991
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 25.148
And I prepare Tails for memory erasure tests 0.499
And I find very few patterns in the guest's memory 4.190

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

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

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

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

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

After features/support/hooks.rb:315 0.998
After features/support/hooks.rb:100 0.000
52.937
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 9.339
And I prepare Tails for memory erasure tests 0.562
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.316
Then I find very few patterns in the guest's memory 4.915

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:315 3.599
After features/support/hooks.rb:100 0.000
8:44.228
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:0.856
And I prepare Tails for memory erasure tests 0.446
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.708
When I trigger shutdown 0.014
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.539
After features/support/hooks.rb:100 0.013