Project Number Date
test_Tails_ISO_stable 5262 13 Nov 2024, 12:39

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:5.276 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.237
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.423
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.364
Then patterns cover at least 128 MiB in the guest's memory 3.781

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

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

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

After features/support/hooks.rb:326 0.904
After features/support/hooks.rb:100 0.000
27.112
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.587
And I prepare Tails for memory erasure tests 0.445
And I find very few patterns in the guest's memory 3.695

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

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

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

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

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

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

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

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

Pattern coverage: 87.513% (111 MiB out of 127 MiB reference memory)

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

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

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

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 6.732

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

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

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

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

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

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

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

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

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 6.131

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

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

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.938

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

After features/support/hooks.rb:326 3.585
After features/support/hooks.rb:100 0.000
8:4.609
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:17.357
And I prepare Tails for memory erasure tests 0.608
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.216
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.408

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

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