Project Number Date
test_Tails_ISO_stable 4779 09 Apr 2024, 12:01

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:12.332 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.894
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.322
And I prepare Tails for memory erasure tests 0.391
When I start a process allocating 128 MiB of memory with a known pattern 1.202
Then patterns cover at least 128 MiB in the guest's memory 3.593

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

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

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

After features/support/hooks.rb:305 0.807
After features/support/hooks.rb:89 0.000
23.692
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.025
And I prepare Tails for memory erasure tests 0.393
And I find very few patterns in the guest's memory 4.677

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

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

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

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

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

After features/support/hooks.rb:305 0.819
After features/support/hooks.rb:89 0.000
42.710
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.100
And I prepare Tails for memory erasure tests 0.414
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.849
Then I find very few patterns in the guest's memory 4.915

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.782
After features/support/hooks.rb:89 0.000
1:6.004
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.129
And I prepare Tails for memory erasure tests 0.433
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 26.335
Then I find very few patterns in the guest's memory 3.437

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

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

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

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

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

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

Pattern coverage: 106.115% (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 4.053

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

After features/support/hooks.rb:305 1.098
After features/support/hooks.rb:89 0.001
49.005
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 7.988
And I prepare Tails for memory erasure tests 0.420
When I fill a 128 MiB file with a known pattern on the root filesystem 14.683
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.057
Then patterns cover at least 128 MiB in the guest's memory 2.960

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.598
After features/support/hooks.rb:89 0.000
6:50.025
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:59.522
And I prepare Tails for memory erasure tests 0.431
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.765
When I trigger shutdown 0.012
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.515
After features/support/hooks.rb:89 0.010