Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 39 20 Nov 2024, 07:09

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:48.924 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.
18.787
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.429
When I start a process allocating 128 MiB of memory with a known pattern 1.172
Then patterns cover at least 128 MiB in the guest's memory 3.191

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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