Project Number Date
test_Tails_ISO_devel 3538 09 Oct 2024, 12:46

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.984

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

After features/support/hooks.rb:326 3.558
After features/support/hooks.rb:100 0.000
8:37.403
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:50.952
And I prepare Tails for memory erasure tests 0.506
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.616
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.314

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

After features/support/hooks.rb:326 3.616
After features/support/hooks.rb:100 0.015