Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 51 12 Dec 2024, 22:01

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

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

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

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

After features/support/hooks.rb:326 0.894
After features/support/hooks.rb:100 0.000
27.835
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.751
And I prepare Tails for memory erasure tests 0.402
And I find very few patterns in the guest's memory 4.368

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

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

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

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

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

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

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

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

Pattern coverage: 87.146% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.530
After features/support/hooks.rb:100 0.000
8:8.764
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:23.257
And I prepare Tails for memory erasure tests 0.651
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.266
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.571

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

After features/support/hooks.rb:326 3.613
After features/support/hooks.rb:100 0.123