Project Number Date
test_Tails_ISO_20297-test-suite-reject-allow-internal-dns-resolution 19 17 Apr 2025, 23:31

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:16.760 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.897
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.607
And I prepare Tails for memory erasure tests 0.435
When I start a process allocating 128 MiB of memory with a known pattern 1.442
Then patterns cover at least 128 MiB in the guest's memory 4.241

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

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

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

After features/support/hooks.rb:330 0.691
After features/support/hooks.rb:100 0.000
24.569
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.514
And I prepare Tails for memory erasure tests 0.444
And I find very few patterns in the guest's memory 3.160

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

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

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

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

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

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

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

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

Pattern coverage: 92.080% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.861

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

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

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

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