Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 47 26 Nov 2024, 16:37

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

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

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

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

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

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

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

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

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

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

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

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.251
Then patterns cover at least 75% of the test FS size in the guest's memory 3.911

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.554
After features/support/hooks.rb:100 0.000
7:26.543
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:42.283
And I prepare Tails for memory erasure tests 0.511
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.499
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.237

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

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