Project Number Date
test_Tails_ISO_devel 4250 24 Feb 2026, 12:45

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 15:17.649 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.
54.960
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.509
And I prepare Tails for memory erasure tests 0.437
When I start a process allocating 128 MiB of memory with a known pattern 2.233
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 16.310

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

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

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

After features/support/hooks.rb:331 3.147
After features/support/hooks.rb:100 0.000
1:8.770
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.511
And I prepare Tails for memory erasure tests 0.446
And I find very few patterns in the guest's memory 14.535

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

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

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

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

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

After features/support/hooks.rb:331 0.673
After features/support/hooks.rb:100 0.000
3:26.044
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.418
And I prepare Tails for memory erasure tests 0.397
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.448
Then I find very few patterns in the guest's memory 27.735

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 4.011
After features/support/hooks.rb:100 0.000
6:26.753
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 5:53.727
And I prepare Tails for memory erasure tests 0.391
When I fill a 128 MiB file with a known pattern on the persistent filesystem 8.789
When I trigger shutdown 0.010
Then I find very few patterns in the guest's memory after 20 seconds 23.834

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

After features/support/hooks.rb:331 3.826
After features/support/hooks.rb:100 0.015