Project Number Date
test_Tails_ISO_devel 3346 02 Apr 2024, 12:14

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

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

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

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

After features/support/hooks.rb:291 1.018
After features/support/hooks.rb:75 0.000
25.016
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.622
And I find very few patterns in the guest's memory 4.721

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.017
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.602
After features/support/hooks.rb:75 0.000
7:18.945
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:32.177
And I prepare Tails for memory erasure tests 0.422
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.717
When I trigger shutdown 0.015
And I wait 20 seconds 20.004

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.556
After features/support/hooks.rb:75 0.013