Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 78 16 Jan 2025, 19:12

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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