Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 40 12 Apr 2024, 21:02

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:50.478 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.310
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 7.921
And I prepare Tails for memory erasure tests 0.392
When I start a process allocating 128 MiB of memory with a known pattern 1.159
Then patterns cover at least 128 MiB in the guest's memory 3.385

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 92.044% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.511
After features/support/hooks.rb:89 0.000
6:41.881
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:57.772
And I prepare Tails for memory erasure tests 0.345
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.502
When I trigger shutdown 0.016
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.511
After features/support/hooks.rb:89 0.011