Project Number Date
test_Tails_ISO_20297-test-suite-reject-allow-internal-dns-resolution 25 24 Apr 2025, 00:43

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:13.019 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.628
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.185
And I prepare Tails for memory erasure tests 0.420
When I start a process allocating 128 MiB of memory with a known pattern 2.412
Then patterns cover at least 128 MiB in the guest's memory 4.016

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

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

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

After features/support/hooks.rb:330 0.900
After features/support/hooks.rb:100 0.000
24.361
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.161
And I prepare Tails for memory erasure tests 0.367
And I find very few patterns in the guest's memory 3.757

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

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

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

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

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

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

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

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

Pattern coverage: 88.131% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.500
After features/support/hooks.rb:100 0.014