Project Number Date
test_Tails_ISO_devel 3666 28 Jan 2025, 09:09

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

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

When I kill the allocating process 3.017
Then I find very few patterns in the guest's memory after 5 seconds 7.892

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

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

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

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

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

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

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

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

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

Pattern coverage: 86.166% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 21.023

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.000
8:21.163
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 7:35.859
And I prepare Tails for memory erasure tests 2.016
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.101
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 21.171

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

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