Project Number Date
test_Tails_ISO_devel 3610 12 Dec 2024, 12:52

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.244% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.474
After features/support/hooks.rb:100 0.000
7:34.458
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 6:48.562
And I prepare Tails for memory erasure tests 1.347
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.320
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.214

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

After features/support/hooks.rb:326 3.495
After features/support/hooks.rb:100 0.011