Project Number Date
test_Tails_ISO_devel 3598 24 Nov 2024, 12:53

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.011% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 866 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.538
After features/support/hooks.rb:100 0.000
7:45.647
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 6:58.945
And I prepare Tails for memory erasure tests 0.817
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.475
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.391

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

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