Project Number Date
test_Tails_ISO_devel 3510 10 Sep 2024, 12:50

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:7.998 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.987
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.472
And I prepare Tails for memory erasure tests 0.432
When I start a process allocating 128 MiB of memory with a known pattern 2.521
Then patterns cover at least 128 MiB in the guest's memory 3.702

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

When I kill the allocating process 0.385
Then I find very few patterns in the guest's memory after 3 seconds 6.473

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

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

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

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

When I umount "/mnt" 1.035
Then I find very few patterns in the guest's memory after 3 seconds 7.436

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

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

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

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

Pattern coverage: 89.965% (114 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.462
Then I find very few patterns in the guest's memory after 3 seconds 6.619

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

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

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

When I umount the USB drive 1.819
Then I find very few patterns in the guest's memory after 3 seconds 6.611

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

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

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

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

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

When I umount the USB drive 0.884
Then I find very few patterns in the guest's memory after 3 seconds 5.600

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

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

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

When I umount the USB drive 4.042
Then I find very few patterns in the guest's memory after 3 seconds 6.141

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

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

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

When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 20.870

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

After features/support/hooks.rb:326 3.505
After features/support/hooks.rb:100 0.000
7:11.615
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:25.644
And I prepare Tails for memory erasure tests 0.445
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.236
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.272

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

After features/support/hooks.rb:326 3.518
After features/support/hooks.rb:100 0.013