Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 53 14 Dec 2024, 21:20

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 106.113% (97 MiB out of 91 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 5.745

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

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

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

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

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

After features/support/hooks.rb:326 4.099
After features/support/hooks.rb:100 0.001
51.251
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 9.411
And I prepare Tails for memory erasure tests 0.733
When I fill a 128 MiB file with a known pattern on the root filesystem 15.258
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.933
Then patterns cover at least 128 MiB in the guest's memory 3.023

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

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

After features/support/hooks.rb:326 3.547
After features/support/hooks.rb:100 0.000
8:8.001
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:24.958
And I prepare Tails for memory erasure tests 0.541
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.188
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.296

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

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