Project Number Date
test_Tails_ISO_devel 3537 08 Oct 2024, 19:31

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 87.938% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

Pattern coverage: 105.601% (96 MiB out of 91 MiB reference memory)

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.504
After features/support/hooks.rb:100 0.000
8:16.343
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:29.385
And I prepare Tails for memory erasure tests 0.421
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.602
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.916

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

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