Project Number Date
test_Tails_ISO_stable 6017 20 Dec 2025, 11:35

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

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

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

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

After features/support/hooks.rb:331 1.593
After features/support/hooks.rb:100 0.000
1:3.943
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.438
And I prepare Tails for memory erasure tests 0.336
And I find very few patterns in the guest's memory 16.621

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.917
After features/support/hooks.rb:100 0.000
6:3.429
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:28.745
And I prepare Tails for memory erasure tests 0.360
When I fill a 128 MiB file with a known pattern on the persistent filesystem 8.818
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 25.494

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

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