Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 105 14 Jun 2024, 07:03

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 11:54.542 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.010
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 10.230
And I prepare Tails for memory erasure tests 0.583
When I start a process allocating 128 MiB of memory with a known pattern 2.426
Then patterns cover at least 128 MiB in the guest's memory 3.393

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

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

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

After features/support/hooks.rb:320 0.822
After features/support/hooks.rb:100 0.000
29.086
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.140
And I prepare Tails for memory erasure tests 0.395
And I find very few patterns in the guest's memory 4.322

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

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

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

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

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

After features/support/hooks.rb:320 1.071
After features/support/hooks.rb:100 0.000
1:10.826
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.171
And I prepare Tails for memory erasure tests 0.430
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.024
Then I find very few patterns in the guest's memory 4.653

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:320 1.113
After features/support/hooks.rb:100 0.000
1:22.290
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.385
And I prepare Tails for memory erasure tests 0.455
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.053
Then I find very few patterns in the guest's memory 3.546

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:320 0.832
After features/support/hooks.rb:100 0.000
1:1.485
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.139
And I prepare Tails for memory erasure tests 0.436
When I fill a 128 MiB file with a known pattern on the root filesystem 16.879
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 11.085
Then patterns cover at least 128 MiB in the guest's memory 2.926

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

When I trigger shutdown 0.017
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:320 3.527
After features/support/hooks.rb:100 0.000
7:28.842
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:44.429
And I prepare Tails for memory erasure tests 0.372
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.872
When I trigger shutdown 0.015
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:320 3.489
After features/support/hooks.rb:100 0.059