Project Number Date
test_Tails_ISO_stable 5268 15 Nov 2024, 16:05

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

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

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

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

After features/support/hooks.rb:326 0.783
After features/support/hooks.rb:100 0.000
25.114
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.008
And I prepare Tails for memory erasure tests 0.510
And I find very few patterns in the guest's memory 3.259

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

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

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

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

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

After features/support/hooks.rb:326 1.093
After features/support/hooks.rb:100 0.000
52.955
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.107
And I prepare Tails for memory erasure tests 0.468
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.404
Then I find very few patterns in the guest's memory 3.306

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

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

Pattern coverage: 88.909% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 0.830
After features/support/hooks.rb:100 0.000
1:16.803
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.461
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" 37.276
Then I find very few patterns in the guest's memory 2.644

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.038
After features/support/hooks.rb:100 0.001
1:1.726
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.714
And I prepare Tails for memory erasure tests 0.501
When I fill a 128 MiB file with a known pattern on the root filesystem 17.748
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 11.003
Then patterns cover at least 128 MiB in the guest's memory 2.913

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

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

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

After features/support/hooks.rb:326 3.502
After features/support/hooks.rb:100 0.000
8:9.942
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:23.580
And I prepare Tails for memory erasure tests 1.495
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.637
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.215

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

After features/support/hooks.rb:326 3.571
After features/support/hooks.rb:100 0.014