Project Number Date
test_Tails_ISO_devel 3289 20 Feb 2024, 12:36

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.537
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.490
After features/support/hooks.rb:75 0.000
7:40.892
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:57.060
And I prepare Tails for memory erasure tests 0.404
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.196
When I trigger shutdown 0.051
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.544
After features/support/hooks.rb:75 0.012