Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 77 06 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:43.868 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.938
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.532
And I prepare Tails for memory erasure tests 0.457
When I start a process allocating 128 MiB of memory with a known pattern 1.245
Then patterns cover at least 128 MiB in the guest's memory 3.807

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 93.155% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.540
After features/support/hooks.rb:100 0.032