Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 8 29 Oct 2024, 21:58

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.801
After features/support/hooks.rb:100 0.000
52.447
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.837
And I prepare Tails for memory erasure tests 0.446
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.154
Then I find very few patterns in the guest's memory 3.385

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 2.263
After features/support/hooks.rb:100 0.000
50.765
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.714
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.256
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.265
Then patterns cover at least 128 MiB in the guest's memory 3.325

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

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

After features/support/hooks.rb:326 3.504
After features/support/hooks.rb:100 0.000
7:34.787
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 6:49.093
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.813
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.275

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

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