Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 115 23 Jun 2024, 06:41

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:43.243 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.
20.963
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.419
And I prepare Tails for memory erasure tests 0.393
When I start a process allocating 128 MiB of memory with a known pattern 2.287
Then patterns cover at least 128 MiB in the guest's memory 3.522

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

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

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

After features/support/hooks.rb:326 0.740
After features/support/hooks.rb:100 0.000
26.098
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.979
And I prepare Tails for memory erasure tests 0.393
And I find very few patterns in the guest's memory 4.660

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

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

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

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

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

After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.000
46.027
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.092
And I prepare Tails for memory erasure tests 0.402
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.137
Then I find very few patterns in the guest's memory 3.976

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

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

Pattern coverage: 92.215% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 1.020
After features/support/hooks.rb:100 0.001
1:29.430
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 20.985
And I prepare Tails for memory erasure tests 0.483
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.960
Then I find very few patterns in the guest's memory 4.054

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.764
After features/support/hooks.rb:100 0.000
52.890
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.382
And I prepare Tails for memory erasure tests 0.375
When I fill a 128 MiB file with a known pattern on the root filesystem 17.769
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.835
Then patterns cover at least 128 MiB in the guest's memory 2.693

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

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

After features/support/hooks.rb:326 3.548
After features/support/hooks.rb:100 0.000
7:47.831
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:59.543
And I prepare Tails for memory erasure tests 0.437
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.666
When I trigger shutdown 0.021
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.477
After features/support/hooks.rb:100 0.012