Project Number Date
test_Tails_ISO_devel 3434 20 Jun 2024, 12:22

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

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

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

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

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

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

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

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

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

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

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

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.953
Then patterns cover at least 86% of the test FS size in the guest's memory 3.682

Pattern coverage: 91.165% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.014
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.488
After features/support/hooks.rb:100 0.000
7:31.345
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:47.072
And I prepare Tails for memory erasure tests 0.432
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.567
When I trigger shutdown 0.011
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

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