Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 83 25 May 2024, 06:44

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:42.040 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.
24.694
Before features/support/hooks.rb:259 0.005
Given I have started Tails from DVD without network and logged in 10.777
And I prepare Tails for memory erasure tests 0.474
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 4.597

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.108
Then patterns cover at least 99% of the test FS size in the guest's memory 3.525

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.010
After features/support/hooks.rb:89 0.000
51.766
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.997
And I prepare Tails for memory erasure tests 0.540
When I fill a 128 MiB file with a known pattern on the root filesystem 15.164
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.755
Then patterns cover at least 128 MiB in the guest's memory 3.364

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.751
After features/support/hooks.rb:89 0.000
7:42.026
Before features/support/hooks.rb:259 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:56.210
And I prepare Tails for memory erasure tests 0.519
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.904
When I trigger shutdown 0.009
And I wait 20 seconds 20.004

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.500
After features/support/hooks.rb:89 0.012