Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 42 23 Nov 2024, 07:26

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:38.675 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.769
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.130
And I prepare Tails for memory erasure tests 0.445
When I start a process allocating 128 MiB of memory with a known pattern 1.258
Then patterns cover at least 128 MiB in the guest's memory 3.204

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 80.444% (102 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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