Project Number Date
test_Tails_ISO_stable 5211 22 Oct 2024, 15:11

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

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

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

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

After features/support/hooks.rb:326 0.931
After features/support/hooks.rb:100 0.000
28.000
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 11.388
And I prepare Tails for memory erasure tests 0.445
And I find very few patterns in the guest's memory 3.636

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

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

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

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

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

After features/support/hooks.rb:326 1.100
After features/support/hooks.rb:100 0.000
57.503
Before features/support/hooks.rb:269 0.009
Given I have started Tails from DVD without network and logged in 9.771
And I prepare Tails for memory erasure tests 0.499
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.043
Then I find very few patterns in the guest's memory 3.915

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.961
After features/support/hooks.rb:100 0.001
1:26.744
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 11.296
And I prepare Tails for memory erasure tests 0.454
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.550
Then I find very few patterns in the guest's memory 4.574

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.496
After features/support/hooks.rb:100 0.000
8:8.843
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:23.942
And I prepare Tails for memory erasure tests 0.523
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.879
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.485

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

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