Project Number Date
test_Tails_ISO_stable 6760 21 Oct 2026, 21:57

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

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

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

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

After features/support/hooks.rb:339 1.147
After features/support/hooks.rb:108 0.000
22.105
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.009
Given I have started Tails from DVD without network and logged in 7.206
And I prepare Tails for memory erasure tests 0.352
And I find very few patterns in the guest's memory 2.833

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

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

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

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

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

After features/support/hooks.rb:339 0.683
After features/support/hooks.rb:108 0.000
39.633
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.013
Given I have started Tails from DVD without network and logged in 6.513
And I prepare Tails for memory erasure tests 0.346
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.411
Then I find very few patterns in the guest's memory 2.536

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.795
After features/support/hooks.rb:108 0.000
1:5.619
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.004
Given I have started Tails from DVD without network and logged in 6.706
And I prepare Tails for memory erasure tests 0.386
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 30.960
Then I find very few patterns in the guest's memory 2.797

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 3.838
After features/support/hooks.rb:108 0.000
4:40.440
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4:8.514
And I prepare Tails for memory erasure tests 0.315
When I fill a 128 MiB file with a known pattern on the persistent filesystem 10.348
When I trigger shutdown 0.008
Then I find very few patterns in the guest's memory after 20 seconds 21.253

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

After features/support/hooks.rb:339 3.887
After features/support/hooks.rb:108 0.024