Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 47 11 Dec 2024, 21:08

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:14.054 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.098
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.020
And I prepare Tails for memory erasure tests 0.432
When I start a process allocating 128 MiB of memory with a known pattern 1.242
Then patterns cover at least 128 MiB in the guest's memory 3.967

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

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

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

After features/support/hooks.rb:326 1.132
After features/support/hooks.rb:100 0.000
24.349
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.344
And I prepare Tails for memory erasure tests 0.449
And I find very few patterns in the guest's memory 3.364

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

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

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

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

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

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

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

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

Pattern coverage: 88.796% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 21.391

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

After features/support/hooks.rb:326 3.511
After features/support/hooks.rb:100 0.000
7:33.478
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:46.028
And I prepare Tails for memory erasure tests 0.472
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.758
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.200

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

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