Project Number Date
test_Tails_ISO_stable 5384 09 Jan 2025, 17:38

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 12:16.209 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.
25.405
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.640
And I prepare Tails for memory erasure tests 0.638
When I start a process allocating 128 MiB of memory with a known pattern 2.504
Then patterns cover at least 128 MiB in the guest's memory 3.688

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

When I kill the allocating process 2.866
Then I find very few patterns in the guest's memory after 3 seconds 6.065

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

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

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

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

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

When I umount "/mnt" 0.703
Then I find very few patterns in the guest's memory after 3 seconds 6.657

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

After features/support/hooks.rb:326 1.303
After features/support/hooks.rb:100 0.000
53.737
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.798
And I prepare Tails for memory erasure tests 0.401
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.506
Then I find very few patterns in the guest's memory 3.953

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

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

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

When I umount the USB drive 1.208
Then I find very few patterns in the guest's memory after 3 seconds 6.784

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

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

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

When I umount the USB drive 1.128
Then I find very few patterns in the guest's memory after 3 seconds 6.979

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

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

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

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

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

When I umount the USB drive 1.009
Then I find very few patterns in the guest's memory after 3 seconds 6.188

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

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

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

When I umount the USB drive 1.593
Then I find very few patterns in the guest's memory after 3 seconds 6.288

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

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

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

When I trigger shutdown 0.019
Then I find very few patterns in the guest's memory after 20 seconds 20.865

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

After features/support/hooks.rb:326 3.562
After features/support/hooks.rb:100 0.000
8:13.956
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:30.644
And I prepare Tails for memory erasure tests 0.519
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.525
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.254

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

After features/support/hooks.rb:326 3.500
After features/support/hooks.rb:100 0.013