Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 25 28 Mar 2025, 06:41

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:49.648 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.705
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.934
And I prepare Tails for memory erasure tests 0.396
When I start a process allocating 128 MiB of memory with a known pattern 2.478
Then patterns cover at least 128 MiB in the guest's memory 3.210

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

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

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

After features/support/hooks.rb:330 0.684
After features/support/hooks.rb:100 0.000
24.820
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.190
And I prepare Tails for memory erasure tests 0.431
And I find very few patterns in the guest's memory 2.927

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.516
After features/support/hooks.rb:100 0.000
7:6.071
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:19.511
And I prepare Tails for memory erasure tests 0.471
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.891
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.180

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

After features/support/hooks.rb:330 3.540
After features/support/hooks.rb:100 0.011