Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 16 01 Jul 2025, 21: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 20:14.421 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.
35.766
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.548
And I prepare Tails for memory erasure tests 3.794
When I start a process allocating 128 MiB of memory with a known pattern 3.072
Then patterns cover at least 128 MiB in the guest's memory 5.041

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

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

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

After features/support/hooks.rb:330 2.331
After features/support/hooks.rb:100 0.000
34.523
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.678
And I prepare Tails for memory erasure tests 0.583
And I find very few patterns in the guest's memory 9.361

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

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

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

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

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

After features/support/hooks.rb:330 1.927
After features/support/hooks.rb:100 0.000
1:11.124
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 10.481
And I prepare Tails for memory erasure tests 0.746
When I plug and mount a 128 MiB USB drive with a vfat filesystem 16.023
Then I find very few patterns in the guest's memory 3.090

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.101
After features/support/hooks.rb:100 0.001
1:39.782
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 15.187
And I prepare Tails for memory erasure tests 0.434
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 42.224
Then I find very few patterns in the guest's memory 4.004

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

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

Pattern coverage: 101.054% (92 MiB out of 91 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 2.635
After features/support/hooks.rb:100 0.002
58.182
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.111
Given I have started Tails from DVD without network and logged in 12.790
And I prepare Tails for memory erasure tests 0.719
When I fill a 128 MiB file with a known pattern on the root filesystem 18.675
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.030
Then patterns cover at least 128 MiB in the guest's memory 3.236

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

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

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

After features/support/hooks.rb:330 6.098
After features/support/hooks.rb:100 0.000
15:15.041
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14:24.981
And I prepare Tails for memory erasure tests 0.889
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.017
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 22.140

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

After features/support/hooks.rb:330 6.005
After features/support/hooks.rb:100 0.029