Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 35 09 Apr 2024, 06:16

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.803
After features/support/hooks.rb:89 0.000
1:1.283
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 9.355
And I prepare Tails for memory erasure tests 0.518
When I fill a 128 MiB file with a known pattern on the root filesystem 19.354
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 7.403
Then patterns cover at least 128 MiB in the guest's memory 2.892

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

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 1.727

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

After features/support/hooks.rb:305 3.586
After features/support/hooks.rb:89 0.000
6:45.296
Before features/support/hooks.rb:259 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:1.671
And I prepare Tails for memory erasure tests 0.393
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.933
When I trigger shutdown 0.010
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

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