Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 46 18 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 10:17.675 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.982
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.635
And I prepare Tails for memory erasure tests 0.537
When I start a process allocating 128 MiB of memory with a known pattern 1.218
Then patterns cover at least 128 MiB in the guest's memory 3.808

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.005

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.574
After features/support/hooks.rb:89 0.000
6:52.838
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:9.388
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.859
When I trigger shutdown 0.011
And I wait 20 seconds 20.001

Slept for 20 seconds

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

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

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