Project Number Date
test_Tails_ISO_19139-arti-bridges 6 19 Nov 2024, 22:56

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 12:17.979 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.
24.982
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 9.929
And I prepare Tails for memory erasure tests 0.759
When I start a process allocating 128 MiB of memory with a known pattern 2.463
Then patterns cover at least 128 MiB in the guest's memory 4.448

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 85.306% (108 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.094
After features/support/hooks.rb:100 0.000
1:9.922
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 22.516
And I prepare Tails for memory erasure tests 0.443
When I fill a 128 MiB file with a known pattern on the root filesystem 19.939
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.727
Then patterns cover at least 128 MiB in the guest's memory 3.113

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

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

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

After features/support/hooks.rb:326 3.605
After features/support/hooks.rb:100 0.000
8:1.155
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:15.128
And I prepare Tails for memory erasure tests 0.477
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.219
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.313

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

After features/support/hooks.rb:326 3.582
After features/support/hooks.rb:100 0.015