Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 30 14 Nov 2024, 07:06

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 80.989% (103 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.525
After features/support/hooks.rb:100 0.000
7:30.532
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:47.927
And I prepare Tails for memory erasure tests 0.510
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.939
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.138

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

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