Project Number Date
test_Tails_ISO_stable 5978 01 Dec 2025, 16:24

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 13:53.453 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.
48.936
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 8.413
And I prepare Tails for memory erasure tests 0.353
When I start a process allocating 128 MiB of memory with a known pattern 1.179
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 18.537

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

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

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

After features/support/hooks.rb:331 1.409
After features/support/hooks.rb:100 0.000
58.288
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.324
And I prepare Tails for memory erasure tests 0.730
And I find very few patterns in the guest's memory 14.135

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

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

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

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

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

After features/support/hooks.rb:331 1.305
After features/support/hooks.rb:100 0.000
1:45.112
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails from DVD without network and logged in 8.266
And I prepare Tails for memory erasure tests 0.834
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.073
Then I find very few patterns in the guest's memory 16.621

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.725

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

After features/support/hooks.rb:331 3.556
After features/support/hooks.rb:100 0.000
7:24.726
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 6:47.132
And I prepare Tails for memory erasure tests 0.449
When I fill a 128 MiB file with a known pattern on the persistent filesystem 8.934
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 28.196

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

After features/support/hooks.rb:331 3.812
After features/support/hooks.rb:100 0.016