Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 16 22 Mar 2024, 04:42

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 9:33.609 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.
20.201
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 9.517
And I prepare Tails for memory erasure tests 0.419
When I start a process allocating 128 MiB of memory with a known pattern 1.300
Then patterns cover at least 128 MiB in the guest's memory 4.237

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

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

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

After features/support/hooks.rb:291 1.672
After features/support/hooks.rb:75 0.000
24.531
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.571
And I prepare Tails for memory erasure tests 0.482
And I find very few patterns in the guest's memory 4.818

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

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

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

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

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

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

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

Pattern coverage: 86.852% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.014
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.564
After features/support/hooks.rb:75 0.000
6:9.226
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 5:25.603
And I prepare Tails for memory erasure tests 0.444
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.958
When I trigger shutdown 0.010
And I wait 20 seconds 20.013

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.494
After features/support/hooks.rb:75 0.026