Project Number Date
test_Tails_ISO_21322-change-domain-deb.tails.boum.org 37 22 Jun 2026, 08:05

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 8:15.148 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.
18.633
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.017
Given I have started Tails from DVD without network and logged in 7.302
And I prepare Tails for memory erasure tests 0.367
When I start a process allocating 128 MiB of memory with a known pattern 1.387
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 2.281

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

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

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

After features/support/hooks.rb:339 0.608
After features/support/hooks.rb:108 0.000
18.406
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.017
Given I have started Tails from DVD without network and logged in 7.400
And I prepare Tails for memory erasure tests 0.450
And I find very few patterns in the guest's memory 1.737

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

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

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

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

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

After features/support/hooks.rb:339 0.888
After features/support/hooks.rb:108 0.000
33.248
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.020
Given I have started Tails from DVD without network and logged in 7.018
And I prepare Tails for memory erasure tests 0.305
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.570
Then I find very few patterns in the guest's memory 2.236

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 1.080
After features/support/hooks.rb:108 0.000
58.874
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.019
Given I have started Tails from DVD without network and logged in 7.382
And I prepare Tails for memory erasure tests 0.380
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 29.404
Then I find very few patterns in the guest's memory 1.784

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 1.019
After features/support/hooks.rb:108 0.000
1:3.749
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.018
Given I have started Tails from DVD without network and logged in 7.071
And I prepare Tails for memory erasure tests 0.312
When I fill a 128 MiB file with a known pattern on the root filesystem 32.080
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.217
Then patterns cover at least 128 MiB in the guest's memory 1.538

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

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

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

After features/support/hooks.rb:339 3.832
After features/support/hooks.rb:108 0.000
5:2.237
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.018
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4:14.828
And I prepare Tails for memory erasure tests 0.362
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.126
When I trigger shutdown 0.005
Then I find very few patterns in the guest's memory after 20 seconds 20.913

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

After features/support/hooks.rb:339 3.624
After features/support/hooks.rb:108 0.047