Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 67 27 Dec 2024, 21: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 11:39.799 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.545
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.621
And I prepare Tails for memory erasure tests 0.476
When I start a process allocating 128 MiB of memory with a known pattern 1.211
Then patterns cover at least 128 MiB in the guest's memory 3.322

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.534
After features/support/hooks.rb:100 0.000
7:30.300
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:43.131
And I prepare Tails for memory erasure tests 0.446
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.299
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.404

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

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