Project Number Date
test_Tails_ISO_feature-arti 23 08 Dec 2024, 16:12

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 86.346% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.553
After features/support/hooks.rb:100 0.000
7:36.040
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:49.416
And I prepare Tails for memory erasure tests 0.441
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.020
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.148

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

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