Project Number Date
test_Tails_ISO_20522-ocr-more 2 12 Dec 2024, 17:21

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

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

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

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

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

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.461
Then patterns cover at least 99% of the test FS size in the guest's memory 3.850

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

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

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

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

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

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

Pattern coverage: 83.120% (106 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.000
1:14.055
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.476
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.151
Then I find very few patterns in the guest's memory 2.776

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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