Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 2 30 Oct 2024, 20:55

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 93.054% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.487
After features/support/hooks.rb:100 0.000
7:55.594
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 7:8.913
And I prepare Tails for memory erasure tests 0.531
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.595
When I trigger shutdown 0.021
Then I find very few patterns in the guest's memory after 20 seconds 21.532

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

After features/support/hooks.rb:326 3.611
After features/support/hooks.rb:100 0.015