Project Number Date
test_Tails_ISO_devel 3305 01 Mar 2024, 12:10

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 93.492% (119 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.016

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.489
After features/support/hooks.rb:75 0.000
6:30.348
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:47.208
And I prepare Tails for memory erasure tests 0.408
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.582
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.119

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

After features/support/hooks.rb:291 3.532
After features/support/hooks.rb:75 0.022