Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 68 14 Dec 2024, 07:18

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.572
After features/support/hooks.rb:100 0.000
8:21.536
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:35.719
And I prepare Tails for memory erasure tests 0.593
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.777
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.433

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

After features/support/hooks.rb:326 3.789
After features/support/hooks.rb:100 0.016