Project Number Date
test_Tails_ISO_stable 5140 03 Oct 2024, 22:27

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:6.362 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.475
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.500
And I prepare Tails for memory erasure tests 0.577
When I start a process allocating 128 MiB of memory with a known pattern 1.459
Then patterns cover at least 128 MiB in the guest's memory 3.439

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.215
After features/support/hooks.rb:100 0.000
55.093
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.363
And I prepare Tails for memory erasure tests 0.419
When I fill a 128 MiB file with a known pattern on the root filesystem 20.178
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.052
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.014
Then I find very few patterns in the guest's memory after 20 seconds 20.892

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

After features/support/hooks.rb:326 3.494
After features/support/hooks.rb:100 0.000
7:7.398
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:23.324
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.271
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.359

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

After features/support/hooks.rb:326 3.541
After features/support/hooks.rb:100 0.015