Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 47 18 Apr 2024, 22:54

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:8.778 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.
18.465
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 7.993
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.179
Then patterns cover at least 128 MiB in the guest's memory 3.541

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.012

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.552
After features/support/hooks.rb:89 0.000
6:47.297
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:3.388
And I prepare Tails for memory erasure tests 0.423
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.262
When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

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