Project Number Date
test_Tails_ISO_devel 3326 18 Mar 2024, 15:49

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.019
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.450
After features/support/hooks.rb:75 0.000
6:32.805
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:42.373
And I prepare Tails for memory erasure tests 0.368
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.856
When I trigger shutdown 0.011
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.513
After features/support/hooks.rb:75 0.012