Project Number Date
test_Tails_ISO_stable 5312 04 Dec 2024, 12:54

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:0.921 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.
24.803
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.578
And I prepare Tails for memory erasure tests 0.501
When I start a process allocating 128 MiB of memory with a known pattern 1.283
Then patterns cover at least 128 MiB in the guest's memory 5.712

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.806
Then patterns cover at least 99% of the test FS size in the guest's memory 3.292

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.536
After features/support/hooks.rb:100 0.000
7:55.743
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:8.731
And I prepare Tails for memory erasure tests 0.905
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.869
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.225

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

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