Project Number Date
test_Tails_ISO_stable 4830 06 May 2024, 15:32

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.048 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.928
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.672
And I prepare Tails for memory erasure tests 0.451
When I start a process allocating 128 MiB of memory with a known pattern 2.434
Then patterns cover at least 128 MiB in the guest's memory 3.754

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.431
After features/support/hooks.rb:89 0.001
51.597
Before features/support/hooks.rb:259 0.006
Given I have started Tails from DVD without network and logged in 8.947
And I prepare Tails for memory erasure tests 0.439
When I fill a 128 MiB file with a known pattern on the root filesystem 15.845
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.032
Then patterns cover at least 128 MiB in the guest's memory 2.479

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.006

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.597
After features/support/hooks.rb:89 0.000
7:54.019
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:10.009
And I prepare Tails for memory erasure tests 0.457
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.094
When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

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