Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 59 08 Dec 2024, 07:04

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

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

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

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

After features/support/hooks.rb:326 1.127
After features/support/hooks.rb:100 0.000
23.786
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.235
And I prepare Tails for memory erasure tests 0.519
And I find very few patterns in the guest's memory 2.633

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

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

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

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

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

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

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

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

Pattern coverage: 79.220% (101 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.532
After features/support/hooks.rb:100 0.010