Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 87 25 Jan 2025, 20:50

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

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

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

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

After features/support/hooks.rb:326 2.274
After features/support/hooks.rb:100 0.000
25.061
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.769
And I prepare Tails for memory erasure tests 0.555
And I find very few patterns in the guest's memory 3.067

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

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

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

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

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

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

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

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

Pattern coverage: 86.095% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.519
After features/support/hooks.rb:100 0.000
8:8.174
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:24.153
And I prepare Tails for memory erasure tests 0.529
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.121
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.353

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

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