Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 17 20 Mar 2025, 18:30

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:23.222 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.
25.805
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.742
And I prepare Tails for memory erasure tests 0.439
When I start a process allocating 128 MiB of memory with a known pattern 4.226
Then patterns cover at least 128 MiB in the guest's memory 3.619

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

When I kill the allocating process 0.771
Then I find very few patterns in the guest's memory after 5 seconds 8.006

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

After features/support/hooks.rb:330 0.939
After features/support/hooks.rb:100 0.000
22.943
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.200
And I prepare Tails for memory erasure tests 0.411
And I find very few patterns in the guest's memory 2.825

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

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

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

When I umount "/mnt" 0.652
Then I find very few patterns in the guest's memory after 3 seconds 5.890

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

After features/support/hooks.rb:330 0.837
After features/support/hooks.rb:100 0.000
48.292
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.091
And I prepare Tails for memory erasure tests 0.397
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.838
Then I find very few patterns in the guest's memory 2.882

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

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

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

When I umount the USB drive 1.463
Then I find very few patterns in the guest's memory after 3 seconds 5.835

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

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

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

When I umount the USB drive 0.496
Then I find very few patterns in the guest's memory after 3 seconds 6.567

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

After features/support/hooks.rb:330 0.965
After features/support/hooks.rb:100 0.000
1:16.075
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 7.986
And I prepare Tails for memory erasure tests 0.439
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.049
Then I find very few patterns in the guest's memory 3.125

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

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

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

When I umount the USB drive 0.730
Then I find very few patterns in the guest's memory after 3 seconds 6.043

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

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

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

When I umount the USB drive 0.574
Then I find very few patterns in the guest's memory after 3 seconds 5.539

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

After features/support/hooks.rb:330 1.664
After features/support/hooks.rb:100 0.000
50.119
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.454
When I fill a 128 MiB file with a known pattern on the root filesystem 14.813
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.817
Then patterns cover at least 128 MiB in the guest's memory 3.019

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

When I trigger shutdown 0.026
Then I find very few patterns in the guest's memory after 20 seconds 20.858

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

After features/support/hooks.rb:330 3.549
After features/support/hooks.rb:100 0.000
7:39.985
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:56.316
And I prepare Tails for memory erasure tests 0.422
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.946
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.288

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

After features/support/hooks.rb:330 3.472
After features/support/hooks.rb:100 0.013