Project Number Date
test_Tails_ISO_stable 4784 11 Apr 2024, 19:02

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 10:17.725 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.
19.825
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.348
And I prepare Tails for memory erasure tests 0.616
When I start a process allocating 128 MiB of memory with a known pattern 1.292
Then patterns cover at least 128 MiB in the guest's memory 4.153

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

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

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

After features/support/hooks.rb:305 0.782
After features/support/hooks.rb:89 0.000
24.979
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.289
And I prepare Tails for memory erasure tests 0.680
And I find very few patterns in the guest's memory 4.537

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

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

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

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

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

After features/support/hooks.rb:305 0.745
After features/support/hooks.rb:89 0.000
42.989
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.051
And I prepare Tails for memory erasure tests 0.549
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.922
Then I find very few patterns in the guest's memory 4.638

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

Pattern coverage: 86.625% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:305 0.777
After features/support/hooks.rb:89 0.000
1:6.755
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.011
And I prepare Tails for memory erasure tests 0.478
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 29.391
Then I find very few patterns in the guest's memory 4.057

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.751
After features/support/hooks.rb:89 0.000
53.369
Before features/support/hooks.rb:259 0.004
Given I have started Tails from DVD without network and logged in 8.667
And I prepare Tails for memory erasure tests 0.655
When I fill a 128 MiB file with a known pattern on the root filesystem 17.303
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.499
Then patterns cover at least 128 MiB in the guest's memory 3.278

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

When I trigger shutdown 0.034
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.525
After features/support/hooks.rb:89 0.000
6:49.804
Before features/support/hooks.rb:259 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:4.603
And I prepare Tails for memory erasure tests 0.383
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.418
When I trigger shutdown 0.010
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.526
After features/support/hooks.rb:89 0.013