Project Number Date
test_Tails_ISO_stable 5957 16 Nov 2025, 12:11

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 13:26.593 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.
43.725
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.050
Given I have started Tails from DVD without network and logged in 8.135
And I prepare Tails for memory erasure tests 0.382
When I start a process allocating 128 MiB of memory with a known pattern 1.162
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 14.598

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

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

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

After features/support/hooks.rb:331 0.736
After features/support/hooks.rb:100 0.000
58.775
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.798
And I prepare Tails for memory erasure tests 0.333
And I find very few patterns in the guest's memory 15.869

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

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

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

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

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

After features/support/hooks.rb:331 1.386
After features/support/hooks.rb:100 0.000
1:46.377
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.753
And I prepare Tails for memory erasure tests 0.358
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.347
Then I find very few patterns in the guest's memory 14.036

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.138
After features/support/hooks.rb:100 0.000
2:2.196
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.930
And I prepare Tails for memory erasure tests 0.588
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.198
Then I find very few patterns in the guest's memory 13.124

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.800
After features/support/hooks.rb:100 0.001
55.143
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 8.025
And I prepare Tails for memory erasure tests 0.393
When I fill a 128 MiB file with a known pattern on the root filesystem 9.720
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 0.308
Then patterns cover at least 128 MiB in the guest's memory 13.187

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

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

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

After features/support/hooks.rb:331 3.585
After features/support/hooks.rb:100 0.000
7:0.376
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:27.778
And I prepare Tails for memory erasure tests 0.393
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.034
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 23.155

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

After features/support/hooks.rb:331 5.066
After features/support/hooks.rb:100 0.016