Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 26 31 Mar 2024, 06:23

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:31.583 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.
17.697
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.050
And I prepare Tails for memory erasure tests 0.502
When I start a process allocating 128 MiB of memory with a known pattern 1.360
Then patterns cover at least 128 MiB in the guest's memory 3.386

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

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

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

After features/support/hooks.rb:291 1.766
After features/support/hooks.rb:75 0.000
21.387
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.338
And I prepare Tails for memory erasure tests 0.582
And I find very few patterns in the guest's memory 3.916

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

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

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

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

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

After features/support/hooks.rb:291 1.725
After features/support/hooks.rb:75 0.000
41.228
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.347
And I prepare Tails for memory erasure tests 0.550
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.873
Then I find very few patterns in the guest's memory 4.119

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

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

Pattern coverage: 89.873% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:291 1.683
After features/support/hooks.rb:75 0.000
1:9.344
Before features/support/hooks.rb:245 0.006
Given I have started Tails from DVD without network and logged in 7.993
And I prepare Tails for memory erasure tests 0.453
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 31.464
Then I find very few patterns in the guest's memory 4.190

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 1.040
After features/support/hooks.rb:75 0.000
48.635
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.181
And I prepare Tails for memory erasure tests 0.354
When I fill a 128 MiB file with a known pattern on the root filesystem 13.670
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.158
Then patterns cover at least 128 MiB in the guest's memory 3.422

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.003

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.513
After features/support/hooks.rb:75 0.000
7:13.291
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:28.152
And I prepare Tails for memory erasure tests 0.495
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.511
When I trigger shutdown 0.011
And I wait 20 seconds 20.002

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.523
After features/support/hooks.rb:75 0.011