Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 12 09 Nov 2024, 21: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 11:15.157 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.442
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.869
And I prepare Tails for memory erasure tests 0.527
When I start a process allocating 128 MiB of memory with a known pattern 1.241
Then patterns cover at least 128 MiB in the guest's memory 3.531

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 87.859% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.491
After features/support/hooks.rb:100 0.000
7:32.739
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:48.658
And I prepare Tails for memory erasure tests 0.911
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.983
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.173

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

After features/support/hooks.rb:326 3.560
After features/support/hooks.rb:100 0.012