Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 70 30 Dec 2024, 21:29

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.549
After features/support/hooks.rb:100 0.010