Project Number Date
test_Tails_ISO_stable 5288 24 Nov 2024, 12:51

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:30.853 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.
22.457
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.836
And I prepare Tails for memory erasure tests 0.653
When I start a process allocating 128 MiB of memory with a known pattern 2.347
Then patterns cover at least 128 MiB in the guest's memory 3.434

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

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

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

After features/support/hooks.rb:326 0.800
After features/support/hooks.rb:100 0.000
29.898
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 9.596
And I prepare Tails for memory erasure tests 0.782
And I find very few patterns in the guest's memory 3.814

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

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

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

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

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

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

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

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

Pattern coverage: 88.627% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 106.116% (97 MiB out of 91 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 6.062

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

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

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

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

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

After features/support/hooks.rb:326 3.568
After features/support/hooks.rb:100 0.000
8:21.515
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:34.303
And I prepare Tails for memory erasure tests 0.781
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.126
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.291

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

After features/support/hooks.rb:326 3.624
After features/support/hooks.rb:100 0.014