Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 8 04 Nov 2024, 21:10

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.038% (114 MiB out of 127 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 6.022

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.501
After features/support/hooks.rb:100 0.000
7:20.438
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:33.509
And I prepare Tails for memory erasure tests 0.447
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.217
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.246

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

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