Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 68 08 May 2024, 07:11

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

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

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

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

After features/support/hooks.rb:305 0.792
After features/support/hooks.rb:89 0.000
23.193
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.647
And I prepare Tails for memory erasure tests 0.920
And I find very few patterns in the guest's memory 3.955

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

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

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

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

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

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

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

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

Pattern coverage: 88.881% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:305 0.837
After features/support/hooks.rb:89 0.001
1:17.076
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 9.464
And I prepare Tails for memory erasure tests 0.454
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 37.607
Then I find very few patterns in the guest's memory 4.239

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.004

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.503
After features/support/hooks.rb:89 0.000
8:25.401
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:36.974
And I prepare Tails for memory erasure tests 0.510
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.248
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 2.635

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

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