Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 51 27 Nov 2024, 07:28

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:1.597 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.633
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.109
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.328
Then patterns cover at least 128 MiB in the guest's memory 4.022

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.469
After features/support/hooks.rb:100 0.000
8:14.209
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:29.880
And I prepare Tails for memory erasure tests 0.467
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.551
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.297

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

After features/support/hooks.rb:326 3.533
After features/support/hooks.rb:100 0.014