Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 15 21 Mar 2024, 06:14

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:22.116 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.
18.581
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.143
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.162
Then patterns cover at least 128 MiB in the guest's memory 3.813

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

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

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

After features/support/hooks.rb:291 0.975
After features/support/hooks.rb:75 0.000
23.245
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.011
And I prepare Tails for memory erasure tests 0.386
And I find very few patterns in the guest's memory 4.685

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

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

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

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

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

After features/support/hooks.rb:291 1.240
After features/support/hooks.rb:75 0.000
37.972
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.985
And I prepare Tails for memory erasure tests 0.376
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.864
Then I find very few patterns in the guest's memory 4.069

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

Pattern coverage: 86.108% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:291 1.526
After features/support/hooks.rb:75 0.000
1:4.282
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.901
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" 32.182
Then I find very few patterns in the guest's memory 3.482

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 0.687
After features/support/hooks.rb:75 0.000
52.187
Before features/support/hooks.rb:245 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.368
When I fill a 128 MiB file with a known pattern on the root filesystem 18.422
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.057
Then patterns cover at least 128 MiB in the guest's memory 2.683

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.703

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

After features/support/hooks.rb:291 3.513
After features/support/hooks.rb:75 0.000
6:5.847
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:23.036
And I prepare Tails for memory erasure tests 0.377
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.299
When I trigger shutdown 0.012
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.523
After features/support/hooks.rb:75 0.011