Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 34 16 Nov 2024, 14:54

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.505
After features/support/hooks.rb:100 0.000
7:48.958
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:4.457
And I prepare Tails for memory erasure tests 0.666
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.517
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.300

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

After features/support/hooks.rb:326 3.598
After features/support/hooks.rb:100 0.013