Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 7 11 Mar 2025, 07:15

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:39.985 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.
23.798
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.096
And I prepare Tails for memory erasure tests 0.611
When I start a process allocating 128 MiB of memory with a known pattern 1.267
Then patterns cover at least 128 MiB in the guest's memory 4.249

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

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

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

After features/support/hooks.rb:330 0.814
After features/support/hooks.rb:100 0.000
29.288
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.101
And I prepare Tails for memory erasure tests 0.560
And I find very few patterns in the guest's memory 3.739

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

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

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

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

After features/support/hooks.rb:330 1.481
After features/support/hooks.rb:100 0.000
52.057
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.112
And I prepare Tails for memory erasure tests 0.587
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.175
Then I find very few patterns in the guest's memory 3.872

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

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

Pattern coverage: 87.072% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.747
After features/support/hooks.rb:100 0.000
1:23.306
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.036
And I prepare Tails for memory erasure tests 0.572
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 39.882
Then I find very few patterns in the guest's memory 3.366

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.190
After features/support/hooks.rb:100 0.000
53.863
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.182
And I prepare Tails for memory erasure tests 0.616
When I fill a 128 MiB file with a known pattern on the root filesystem 17.659
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.085
Then patterns cover at least 128 MiB in the guest's memory 3.665

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

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

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

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

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

After features/support/hooks.rb:330 3.487
After features/support/hooks.rb:100 0.012