Project Number Date
test_Tails_ISO_devel 4158 08 Jan 2026, 12:22

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 14:55.938 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.
45.670
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.472
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.319
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 15.155

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

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

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

After features/support/hooks.rb:331 0.824
After features/support/hooks.rb:100 0.000
58.681
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.980
And I prepare Tails for memory erasure tests 0.482
And I find very few patterns in the guest's memory 15.194

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I umount the USB drive 0.570
Then I find very few patterns in the guest's memory after 3 seconds 1:17.004

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

After features/support/hooks.rb:331 4.599
After features/support/hooks.rb:100 0.007
1:8.500
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
Given I have started Tails from DVD without network and logged in 15.043
And I prepare Tails for memory erasure tests 0.429
When I fill a 128 MiB file with a known pattern on the root filesystem 10.695
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.658
Then patterns cover at least 128 MiB in the guest's memory 16.514

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 23.147

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

After features/support/hooks.rb:331 3.715
After features/support/hooks.rb:100 0.000
6:11.912
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:38.350
And I prepare Tails for memory erasure tests 0.375
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.718
When I trigger shutdown 0.022
Then I find very few patterns in the guest's memory after 20 seconds 23.445

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

After features/support/hooks.rb:331 3.604
After features/support/hooks.rb:100 0.014