Project Number Date
test_Tails_ISO_devel 4255 26 Feb 2026, 12:23

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 16:18.578 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.
53.440
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.600
And I prepare Tails for memory erasure tests 0.386
When I start a process allocating 128 MiB of memory with a known pattern 1.180
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 19.118

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

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

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

After features/support/hooks.rb:331 1.933
After features/support/hooks.rb:100 0.000
2:8.166
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 16.019
And I prepare Tails for memory erasure tests 1.523
And I find very few patterns in the guest's memory 29.517

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

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

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

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

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

After features/support/hooks.rb:331 4.813
After features/support/hooks.rb:100 0.000
2:5.546
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 17.665
And I prepare Tails for memory erasure tests 0.376
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.783
Then I find very few patterns in the guest's memory 23.981

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.382
After features/support/hooks.rb:100 0.000
3:41.254
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 18.506
And I prepare Tails for memory erasure tests 0.488
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 54.131
Then I find very few patterns in the guest's memory 36.527

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.880
After features/support/hooks.rb:100 0.000
6:37.171
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:4.374
And I prepare Tails for memory erasure tests 0.380
When I fill a 128 MiB file with a known pattern on the persistent filesystem 8.910
When I trigger shutdown 0.009
Then I find very few patterns in the guest's memory after 20 seconds 23.496

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

After features/support/hooks.rb:331 3.637
After features/support/hooks.rb:100 0.029