Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 27 10 Nov 2024, 06:53

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.526
After features/support/hooks.rb:100 0.011