Project Number Date
test_Tails_ISO_devel 3262 31 Jan 2024, 12:27

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

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

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

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

After features/support/hooks.rb:291 0.790
After features/support/hooks.rb:75 0.000
19.698
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.460
And I prepare Tails for memory erasure tests 0.359
And I find very few patterns in the guest's memory 3.580

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

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

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

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

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

After features/support/hooks.rb:291 0.660
After features/support/hooks.rb:75 0.000
35.253
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.439
And I prepare Tails for memory erasure tests 0.367
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.651
Then I find very few patterns in the guest's memory 3.544

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 0.855
After features/support/hooks.rb:75 0.000
1:2.642
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.406
And I prepare Tails for memory erasure tests 0.387
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 33.236
Then I find very few patterns in the guest's memory 3.269

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.436
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.517
After features/support/hooks.rb:75 0.000
6:30.197
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:46.783
And I prepare Tails for memory erasure tests 0.390
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.899
When I trigger shutdown 0.045
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.541
After features/support/hooks.rb:75 0.009