Project Number Date
test_Tails_ISO_stable 4967 24 Jul 2024, 00:15

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 13:0.329 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.
25.033
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.912
And I prepare Tails for memory erasure tests 0.668
When I start a process allocating 128 MiB of memory with a known pattern 2.329
Then patterns cover at least 128 MiB in the guest's memory 5.893

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

When I kill the allocating process 2.228
Then I find very few patterns in the guest's memory 5.001

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

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

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

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

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

When I umount "/mnt" 1.220
Then I find very few patterns in the guest's memory 8.953

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

After features/support/hooks.rb:326 2.031
After features/support/hooks.rb:100 0.000
1:25.254
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 11.679
And I prepare Tails for memory erasure tests 0.407
When I plug and mount a 128 MiB USB drive with a vfat filesystem 12.168
Then I find very few patterns in the guest's memory 9.145

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

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

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

When I umount the USB drive 1.485
Then I find very few patterns in the guest's memory 10.636

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

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

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

When I umount the USB drive 0.718
Then I find very few patterns in the guest's memory 12.213

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

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

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

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

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

When I umount the USB drive 2.614
Then I find very few patterns in the guest's memory 4.382

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

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

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

When I umount the USB drive 1.484
Then I find very few patterns in the guest's memory 4.657

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.006

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.081

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

After features/support/hooks.rb:326 3.556
After features/support/hooks.rb:100 0.000
8:7.969
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:20.795
And I prepare Tails for memory erasure tests 0.418
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.511
When I trigger shutdown 0.012
And I wait 20 seconds 20.004

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.226

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

After features/support/hooks.rb:326 3.507
After features/support/hooks.rb:100 0.010