Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 84 25 May 2024, 19:07

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:54.562 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.
22.658
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.415
And I prepare Tails for memory erasure tests 0.896
When I start a process allocating 128 MiB of memory with a known pattern 3.637
Then patterns cover at least 128 MiB in the guest's memory 3.849

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

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

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

After features/support/hooks.rb:305 1.526
After features/support/hooks.rb:89 0.000
23.658
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.173
And I prepare Tails for memory erasure tests 0.773
And I find very few patterns in the guest's memory 4.207

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

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

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

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

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

After features/support/hooks.rb:305 2.023
After features/support/hooks.rb:89 0.000
46.977
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.597
And I prepare Tails for memory erasure tests 0.451
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.251
Then I find very few patterns in the guest's memory 4.784

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.539
After features/support/hooks.rb:89 0.000
1:21.104
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.139
And I prepare Tails for memory erasure tests 0.796
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 34.534
Then I find very few patterns in the guest's memory 3.568

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 2.232
After features/support/hooks.rb:89 0.000
1:8.465
Before features/support/hooks.rb:259 0.004
Given I have started Tails from DVD without network and logged in 8.902
And I prepare Tails for memory erasure tests 0.489
When I fill a 128 MiB file with a known pattern on the root filesystem 16.445
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 17.474
Then patterns cover at least 128 MiB in the guest's memory 3.245

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.570
After features/support/hooks.rb:89 0.000
7:51.697
Before features/support/hooks.rb:259 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:1.976
And I prepare Tails for memory erasure tests 0.517
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.892
When I trigger shutdown 0.040
And I wait 20 seconds 20.006

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.582
After features/support/hooks.rb:89 0.013