Project Number Date
test_Tails_ISO_stable 6028 31 Dec 2025, 09:06

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

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

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

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

After features/support/hooks.rb:331 4.377
After features/support/hooks.rb:100 0.000
1:3.002
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.100
Given I have started Tails from DVD without network and logged in 12.226
And I prepare Tails for memory erasure tests 0.453
And I find very few patterns in the guest's memory 14.727

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.998
After features/support/hooks.rb:100 0.000
3:34.723
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD without network and logged in 9.038
And I prepare Tails for memory erasure tests 0.423
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 34.791
Then I find very few patterns in the guest's memory 28.392

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

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

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

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

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

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

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

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

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

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

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 22.826

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

After features/support/hooks.rb:331 3.607
After features/support/hooks.rb:100 0.000
6:11.579
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.563
And I prepare Tails for memory erasure tests 0.386
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.043
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 23.574

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

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