Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 93 31 Jan 2025, 20:54

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

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

When I kill the allocating process 0.361
Then I find very few patterns in the guest's memory after 5 seconds 8.017

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 89.359% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.515
After features/support/hooks.rb:100 0.000
7:41.582
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 6:58.897
And I prepare Tails for memory erasure tests 0.440
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.113
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.117

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

After features/support/hooks.rb:326 3.576
After features/support/hooks.rb:100 0.011