Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 2 05 Mar 2025, 07:06

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 10:50.320 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.
22.935
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 7.950
And I prepare Tails for memory erasure tests 0.497
When I start a process allocating 128 MiB of memory with a known pattern 1.377
Then patterns cover at least 128 MiB in the guest's memory 3.651

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 86.019% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 20.721

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

After features/support/hooks.rb:330 3.525
After features/support/hooks.rb:100 0.000
7:14.435
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:31.591
And I prepare Tails for memory erasure tests 0.479
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.165
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.185

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

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