Project Number Date
test_Tails_ISO_stable 5403 20 Jan 2025, 12:41

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# read cache
When I mount the USB drive again 0.223
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.863

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.516
After features/support/hooks.rb:100 0.000
7:6.258
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:23.802
And I prepare Tails for memory erasure tests 0.461
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.844
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.136

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

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