Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 43 15 Apr 2024, 06:14

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 86.120% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.017
And I wait 20 seconds 20.008

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.534
After features/support/hooks.rb:89 0.000
7:13.186
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:25.794
And I prepare Tails for memory erasure tests 0.405
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.509
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.442

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

After features/support/hooks.rb:305 3.506
After features/support/hooks.rb:89 0.016