Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 26 12 Jun 2026, 20:00

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

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

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

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

After features/support/hooks.rb:339 0.622
After features/support/hooks.rb:108 0.000
17.355
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
Given I have started Tails from DVD without network and logged in 6.795
And I prepare Tails for memory erasure tests 0.358
And I find very few patterns in the guest's memory 1.696

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

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

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

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

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

After features/support/hooks.rb:339 0.863
After features/support/hooks.rb:108 0.000
31.706
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
Given I have started Tails from DVD without network and logged in 6.911
And I prepare Tails for memory erasure tests 0.357
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.290
Then I find very few patterns in the guest's memory 1.811

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

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

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

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

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

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

Pattern coverage: 100.000% (127 MiB out of 127 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 4.681

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.801
After features/support/hooks.rb:108 0.000
51.263
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
Given I have started Tails from DVD without network and logged in 6.882
And I prepare Tails for memory erasure tests 0.315
When I fill a 128 MiB file with a known pattern on the root filesystem 20.307
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.868
Then patterns cover at least 128 MiB in the guest's memory 1.390

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

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

After features/support/hooks.rb:339 3.869
After features/support/hooks.rb:108 0.000
4:27.249
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 3:50.940
And I prepare Tails for memory erasure tests 0.313
When I fill a 128 MiB file with a known pattern on the persistent filesystem 15.084
When I trigger shutdown 0.009
Then I find very few patterns in the guest's memory after 20 seconds 20.900

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

After features/support/hooks.rb:339 3.480
After features/support/hooks.rb:108 0.041