Project Number Date
test_Tails_ISO_devel 3616 19 Dec 2024, 12:57

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.210% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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