Project Number Date
test_Tails_ISO_stable 6228 24 Mar 2026, 12:33

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

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

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

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

After features/support/hooks.rb:331 1.018
After features/support/hooks.rb:100 0.000
18.489
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.039
And I prepare Tails for memory erasure tests 0.429
And I find very few patterns in the guest's memory 1.959

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

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

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

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

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

After features/support/hooks.rb:331 0.952
After features/support/hooks.rb:100 0.000
35.921
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 6.957
And I prepare Tails for memory erasure tests 0.450
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.718
Then I find very few patterns in the guest's memory 2.149

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.917
After features/support/hooks.rb:100 0.000
1:2.578
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 6.743
And I prepare Tails for memory erasure tests 0.384
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 30.341
Then I find very few patterns in the guest's memory 1.901

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.895
After features/support/hooks.rb:100 0.000
46.133
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 7.178
And I prepare Tails for memory erasure tests 0.518
When I fill a 128 MiB file with a known pattern on the root filesystem 13.890
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.202
Then patterns cover at least 128 MiB in the guest's memory 1.673

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

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

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

After features/support/hooks.rb:331 3.496
After features/support/hooks.rb:100 0.000
4:32.436
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 3:59.958
And I prepare Tails for memory erasure tests 0.378
When I fill a 128 MiB file with a known pattern on the persistent filesystem 11.112
When I trigger shutdown 0.007
Then I find very few patterns in the guest's memory after 20 seconds 20.980

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

After features/support/hooks.rb:331 3.823
After features/support/hooks.rb:100 0.012