Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 111 19 Jun 2024, 06:52

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.049
After features/support/hooks.rb:100 0.000
53.475
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.278
And I prepare Tails for memory erasure tests 1.427
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.202
Then I find very few patterns in the guest's memory 3.778

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.015
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.549
After features/support/hooks.rb:100 0.000
7:12.581
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:25.795
And I prepare Tails for memory erasure tests 0.383
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.159
When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.530
After features/support/hooks.rb:100 0.013