Project Number Date
test_Tails_ISO_stable 5226 28 Oct 2024, 16:45

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.539
After features/support/hooks.rb:100 0.000
8:11.348
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:26.210
And I prepare Tails for memory erasure tests 0.466
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.319
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.339

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

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