Project Number Date
test_Tails_ISO_stable 5230 29 Oct 2024, 13:00

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

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

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

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

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

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 2.506
Then patterns cover at least 99% of the test FS size in the guest's memory 8.475

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

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

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

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

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

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

Pattern coverage: 94.924% (121 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.702
After features/support/hooks.rb:100 0.000
8:43.683
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:54.802
And I prepare Tails for memory erasure tests 0.931
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.595
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.338

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

After features/support/hooks.rb:326 3.546
After features/support/hooks.rb:100 0.009