Project Number Date
test_Tails_ISO_stable 5148 07 Oct 2024, 12:37

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

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

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

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

After features/support/hooks.rb:326 1.220
After features/support/hooks.rb:100 0.000
28.190
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.304
And I prepare Tails for memory erasure tests 0.645
And I find very few patterns in the guest's memory 3.512

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

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

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

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

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

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

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

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

Pattern coverage: 88.232% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.663
After features/support/hooks.rb:100 0.000
8:35.644
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:51.069
And I prepare Tails for memory erasure tests 0.455
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.680
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.420

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

After features/support/hooks.rb:326 3.578
After features/support/hooks.rb:100 0.019