Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 45 17 Apr 2024, 06:49

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 9:46.715 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.
17.492
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.119
And I prepare Tails for memory erasure tests 0.481
When I start a process allocating 128 MiB of memory with a known pattern 1.213
Then patterns cover at least 128 MiB in the guest's memory 3.288

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

When I kill the allocating process 0.535
Then I find very few patterns in the guest's memory 3.854

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

After features/support/hooks.rb:305 0.585
After features/support/hooks.rb:89 0.000
21.445
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 7.995
And I prepare Tails for memory erasure tests 0.460
And I find very few patterns in the guest's memory 3.930

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.441
Then patterns cover at least 99% of the test FS size in the guest's memory 3.205

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

When I umount "/mnt" 0.253
Then I find very few patterns in the guest's memory 4.155

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

After features/support/hooks.rb:305 0.565
After features/support/hooks.rb:89 0.000
38.566
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.045
And I prepare Tails for memory erasure tests 0.482
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.879
Then I find very few patterns in the guest's memory 4.006

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

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

Pattern coverage: 86.111% (109 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 3.737

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

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

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

When I umount the USB drive 0.376
Then I find very few patterns in the guest's memory 4.496

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

After features/support/hooks.rb:305 0.691
After features/support/hooks.rb:89 0.000
1:2.234
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.356
And I prepare Tails for memory erasure tests 0.409
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 29.575
Then I find very few patterns in the guest's memory 3.950

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

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

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

When I umount the USB drive 0.877
Then I find very few patterns in the guest's memory 3.235

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

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

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

When I umount the USB drive 0.611
Then I find very few patterns in the guest's memory 3.907

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

After features/support/hooks.rb:305 0.706
After features/support/hooks.rb:89 0.000
48.217
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.047
And I prepare Tails for memory erasure tests 0.514
When I fill a 128 MiB file with a known pattern on the root filesystem 13.509
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 0.967
Then patterns cover at least 128 MiB in the guest's memory 3.039

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.017

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.106

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

After features/support/hooks.rb:305 3.497
After features/support/hooks.rb:89 0.000
6:38.759
Before features/support/hooks.rb:259 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:55.920
And I prepare Tails for memory erasure tests 0.399
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.314
When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.093

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

After features/support/hooks.rb:305 3.471
After features/support/hooks.rb:89 0.010