Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 43 10 Dec 2024, 20:56

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.492
After features/support/hooks.rb:100 0.000
7:21.129
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:35.688
And I prepare Tails for memory erasure tests 0.486
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.664
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.273

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

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