Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 58 28 Apr 2024, 06:38

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 12:9.807 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.093
Before features/support/hooks.rb:259 0.004
Given I have started Tails from DVD without network and logged in 9.103
And I prepare Tails for memory erasure tests 0.521
When I start a process allocating 128 MiB of memory with a known pattern 2.682
Then patterns cover at least 128 MiB in the guest's memory 3.934

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.798
After features/support/hooks.rb:89 0.000
1:6.192
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 25.899
And I prepare Tails for memory erasure tests 0.533
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.239
Then I find very few patterns in the guest's memory 3.744

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

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

Pattern coverage: 90.764% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.536
After features/support/hooks.rb:89 0.000
7:57.776
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 7:10.453
And I prepare Tails for memory erasure tests 0.368
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.629
When I trigger shutdown 0.012
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.498
After features/support/hooks.rb:89 0.013