Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 27 23 Nov 2024, 20:53

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.547
After features/support/hooks.rb:100 0.000
7:7.940
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:24.590
And I prepare Tails for memory erasure tests 0.408
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.753
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.175

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

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