Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 75 17 May 2024, 06:48

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:38.617 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.
23.562
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 9.156
And I prepare Tails for memory erasure tests 0.376
When I start a process allocating 128 MiB of memory with a known pattern 2.279
Then patterns cover at least 128 MiB in the guest's memory 5.403

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.358
After features/support/hooks.rb:89 0.000
56.949
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 10.494
And I prepare Tails for memory erasure tests 0.429
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.239
Then I find very few patterns in the guest's memory 6.444

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.023
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.502
After features/support/hooks.rb:89 0.000
7:41.330
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 6:55.202
And I prepare Tails for memory erasure tests 0.436
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.511
When I trigger shutdown 0.010
And I wait 20 seconds 20.014

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.517
After features/support/hooks.rb:89 0.011