Project Number Date
test_Tails_ISO_stable 4927 10 Jul 2024, 12:09

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

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

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

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

After features/support/hooks.rb:326 0.824
After features/support/hooks.rb:100 0.000
23.428
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.885
And I prepare Tails for memory erasure tests 0.394
And I find very few patterns in the guest's memory 4.141

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

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

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

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

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

After features/support/hooks.rb:326 0.723
After features/support/hooks.rb:100 0.000
44.255
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 7.875
And I prepare Tails for memory erasure tests 0.368
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.938
Then I find very few patterns in the guest's memory 4.108

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.497
After features/support/hooks.rb:100 0.000
7:7.028
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:19.998
And I prepare Tails for memory erasure tests 0.392
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.457
When I trigger shutdown 0.015
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.483
After features/support/hooks.rb:100 0.011