Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 79 16 Jan 2025, 21:52

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

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

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

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

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

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.835
Then patterns cover at least 99% of the test FS size in the guest's memory 3.913

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.738
After features/support/hooks.rb:100 0.000
8:36.878
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 7:47.052
And I prepare Tails for memory erasure tests 0.518
When I fill a 128 MiB file with a known pattern on the persistent filesystem 28.049
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.242

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

After features/support/hooks.rb:326 3.564
After features/support/hooks.rb:100 0.017