Project Number Date
test_Tails_ISO_stable 4668 16 Feb 2024, 12:22

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:43.587 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.526
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.954
And I prepare Tails for memory erasure tests 0.465
When I start a process allocating 128 MiB of memory with a known pattern 1.248
Then patterns cover at least 128 MiB in the guest's memory 4.381

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

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

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

After features/support/hooks.rb:291 0.717
After features/support/hooks.rb:75 0.000
1:2.859
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 9.030
And I prepare Tails for memory erasure tests 0.503
And I find very few patterns in the guest's memory 4.973

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

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

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

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

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

After features/support/hooks.rb:291 0.915
After features/support/hooks.rb:75 0.000
3:41.517
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 7.866
And I prepare Tails for memory erasure tests 0.527
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.977
Then I find very few patterns in the guest's memory 4.495

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

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

Pattern coverage: 97.184% (121 MiB out of 124 MiB reference memory)

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

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

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

Pattern coverage: 102.400% (127 MiB out of 124 MiB reference memory)

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

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

After features/support/hooks.rb:291 0.875
After features/support/hooks.rb:75 0.000
2:44.987
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 7.543
And I prepare Tails for memory erasure tests 0.504
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 26.521
Then I find very few patterns in the guest's memory 3.462

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.663% (97 MiB out of 89 MiB reference memory)

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

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

After features/support/hooks.rb:291 0.846
After features/support/hooks.rb:75 0.000
48.828
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.915
And I prepare Tails for memory erasure tests 0.644
When I fill a 128 MiB file with a known pattern on the root filesystem 12.679
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.525
Then patterns cover at least 128 MiB in the guest's memory 2.645

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

When I trigger shutdown 0.556
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.469
After features/support/hooks.rb:75 0.000
6:5.867
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:22.497
And I prepare Tails for memory erasure tests 0.490
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.400
When I trigger shutdown 0.209
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.469
After features/support/hooks.rb:75 0.010