Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 62 11 Dec 2024, 07:16

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.799
After features/support/hooks.rb:100 0.000
1:19.220
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.438
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.657
Then I find very few patterns in the guest's memory 2.509

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.509
After features/support/hooks.rb:100 0.000
8:5.211
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:20.672
And I prepare Tails for memory erasure tests 0.480
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.860
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.187

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

After features/support/hooks.rb:326 3.523
After features/support/hooks.rb:100 0.015