Project Number Date
test_Tails_ISO_devel 3442 30 Jun 2024, 12:48

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:36.363 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.
21.614
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.156
And I prepare Tails for memory erasure tests 0.523
When I start a process allocating 128 MiB of memory with a known pattern 2.285
Then patterns cover at least 128 MiB in the guest's memory 4.080

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

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

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

After features/support/hooks.rb:326 2.052
After features/support/hooks.rb:100 0.000
23.386
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and logged in 8.450
And I prepare Tails for memory erasure tests 0.434
And I find very few patterns in the guest's memory 4.170

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

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

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

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

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

After features/support/hooks.rb:326 0.900
After features/support/hooks.rb:100 0.000
53.600
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.514
And I prepare Tails for memory erasure tests 0.487
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.524
Then I find very few patterns in the guest's memory 4.467

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

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

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

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 875 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.015
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.534
After features/support/hooks.rb:100 0.000
8:42.785
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 7:57.243
And I prepare Tails for memory erasure tests 0.560
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.519
When I trigger shutdown 0.014
And I wait 20 seconds 20.014

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.543
After features/support/hooks.rb:100 0.017