Project Number Date
test_Tails_ISO_devel 3444 02 Jul 2024, 12:17

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 10:51.777 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.688
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.892
And I prepare Tails for memory erasure tests 0.358
When I start a process allocating 128 MiB of memory with a known pattern 2.324
Then patterns cover at least 128 MiB in the guest's memory 3.358

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

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

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

After features/support/hooks.rb:326 1.108
After features/support/hooks.rb:100 0.000
21.877
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.810
And I prepare Tails for memory erasure tests 0.371
And I find very few patterns in the guest's memory 3.795

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

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

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

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

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

After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.000
54.837
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.824
And I prepare Tails for memory erasure tests 0.383
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.209
Then I find very few patterns in the guest's memory 3.839

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.783
After features/support/hooks.rb:100 0.000
1:8.714
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.853
And I prepare Tails for memory erasure tests 0.384
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.287
Then I find very few patterns in the guest's memory 3.455

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.830
After features/support/hooks.rb:100 0.000
48.744
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.945
And I prepare Tails for memory erasure tests 0.380
When I fill a 128 MiB file with a known pattern on the root filesystem 14.163
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.921
Then patterns cover at least 128 MiB in the guest's memory 2.577

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.468
After features/support/hooks.rb:100 0.000
7:18.915
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:34.719
And I prepare Tails for memory erasure tests 0.412
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.622
When I trigger shutdown 0.010
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.556
After features/support/hooks.rb:100 0.010