Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 53 24 Apr 2024, 19: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 11:46.795 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.
34.098
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 10.550
And I prepare Tails for memory erasure tests 0.453
When I start a process allocating 128 MiB of memory with a known pattern 2.396
Then patterns cover at least 128 MiB in the guest's memory 13.668

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

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

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

After features/support/hooks.rb:305 0.909
After features/support/hooks.rb:89 0.000
26.020
Before features/support/hooks.rb:259 0.013
Given I have started Tails from DVD without network and logged in 9.514
And I prepare Tails for memory erasure tests 0.645
And I find very few patterns in the guest's memory 4.474

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.871
After features/support/hooks.rb:89 0.000
53.862
Before features/support/hooks.rb:259 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.394
When I fill a 128 MiB file with a known pattern on the root filesystem 18.925
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.012
Then patterns cover at least 128 MiB in the guest's memory 2.688

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

When I trigger shutdown 0.010
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.489
After features/support/hooks.rb:89 0.000
7:47.067
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 7:0.960
And I prepare Tails for memory erasure tests 0.360
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.238
When I trigger shutdown 0.010
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.531
After features/support/hooks.rb:89 0.012