Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 55 16 Dec 2024, 22:18

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 89.888% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.529
After features/support/hooks.rb:100 0.000
7:43.303
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:56.627
And I prepare Tails for memory erasure tests 0.452
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.989
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.221

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

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