Project Number Date
test_Tails_ISO_stable 5038 20 Aug 2024, 12:31

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 94.239% (120 MiB out of 127 MiB reference memory)

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

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

# read cache
When I mount the USB drive again 0.991
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.937

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.521
After features/support/hooks.rb:100 0.000
7:47.053
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:0.755
And I prepare Tails for memory erasure tests 0.494
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.448
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.342

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

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