Project Number Date
test_Tails_ISO_stable 4883 11 Jun 2024, 17:58

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

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

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

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

After features/support/hooks.rb:315 1.618
After features/support/hooks.rb:100 0.000
44.603
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 10.430
And I prepare Tails for memory erasure tests 0.509
And I find very few patterns in the guest's memory 10.285

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

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

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

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

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

After features/support/hooks.rb:315 3.100
After features/support/hooks.rb:100 0.000
1:8.965
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 10.161
And I prepare Tails for memory erasure tests 0.543
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.959
Then I find very few patterns in the guest's memory 10.089

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

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

Pattern coverage: 92.080% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.673
After features/support/hooks.rb:100 0.000
9:34.654
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 8:49.512
And I prepare Tails for memory erasure tests 0.450
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.298
When I trigger shutdown 0.023
And I wait 20 seconds 20.014

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.550
After features/support/hooks.rb:100 0.012