Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 80 22 May 2024, 06:51

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 87.669% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.600
After features/support/hooks.rb:89 0.000
8:8.302
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:22.886
And I prepare Tails for memory erasure tests 0.504
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.557
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.329

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

After features/support/hooks.rb:305 3.543
After features/support/hooks.rb:89 0.021