Project Number Date
test_Tails_ISO_stable 5360 29 Dec 2024, 12:15

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.234% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.802

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

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

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

After features/support/hooks.rb:326 3.513
After features/support/hooks.rb:100 0.010