Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 5 28 Oct 2024, 06:36

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 80.389% (102 MiB out of 127 MiB reference memory)

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 689 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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