Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 56 26 Apr 2024, 06:37

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.002

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.561
After features/support/hooks.rb:89 0.000
8:1.293
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 7:16.841
And I prepare Tails for memory erasure tests 0.427
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.405
When I trigger shutdown 0.011
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.878
After features/support/hooks.rb:89 0.016