Project Number Date
test_Tails_ISO_devel 3548 14 Oct 2024, 13:03

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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