Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 17 03 Nov 2024, 06:49

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 77.600% (99 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.119
After features/support/hooks.rb:100 0.000
50.324
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.427
When I fill a 128 MiB file with a known pattern on the root filesystem 16.832
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.164
Then patterns cover at least 128 MiB in the guest's memory 3.252

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

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

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

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

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

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