Project Number Date
test_Tails_ISO_devel 4076 16 Nov 2025, 12:44

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

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

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

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

After features/support/hooks.rb:331 1.139
After features/support/hooks.rb:100 0.000
2:43.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 9.277
And I prepare Tails for memory erasure tests 0.442
And I find very few patterns in the guest's memory 45.121

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

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

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

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

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

After features/support/hooks.rb:331 1.215
After features/support/hooks.rb:100 0.000
3:37.019
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 8.710
And I prepare Tails for memory erasure tests 0.417
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.110
Then I find very few patterns in the guest's memory 40.070

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.598
After features/support/hooks.rb:100 0.000
8:54.259
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 8:19.523
And I prepare Tails for memory erasure tests 0.382
When I fill a 128 MiB file with a known pattern on the persistent filesystem 10.606
When I trigger shutdown 0.022
Then I find very few patterns in the guest's memory after 20 seconds 23.725

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

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