Project Number Date
test_Tails_ISO_stable 4859 29 May 2024, 13:34

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 11:44.337 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.
21.881
Before features/support/hooks.rb:259 0.005
Given I have started Tails from DVD without network and logged in 8.193
And I prepare Tails for memory erasure tests 0.413
When I start a process allocating 128 MiB of memory with a known pattern 2.404
Then patterns cover at least 128 MiB in the guest's memory 4.225

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 91.009% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 879 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.004

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.524
After features/support/hooks.rb:89 0.000
8:5.764
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 7:21.753
And I prepare Tails for memory erasure tests 0.458
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.957
When I trigger shutdown 0.013
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.497
After features/support/hooks.rb:89 0.011