Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 29 13 Nov 2024, 07:13

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 81.580% (104 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.483
After features/support/hooks.rb:100 0.000
6:59.986
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:16.564
And I prepare Tails for memory erasure tests 0.441
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.823
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.144

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

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