Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 82 24 May 2024, 06:44

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

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

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

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

After features/support/hooks.rb:305 1.628
After features/support/hooks.rb:89 0.000
29.913
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.553
And I prepare Tails for memory erasure tests 0.626
And I find very few patterns in the guest's memory 4.022

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

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

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

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

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

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

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

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

Pattern coverage: 92.613% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.563
After features/support/hooks.rb:89 0.000
7:52.306
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:5.806
And I prepare Tails for memory erasure tests 0.518
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.713
When I trigger shutdown 0.012
And I wait 20 seconds 20.012

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.549
After features/support/hooks.rb:89 0.014