Project Number Date
test_Tails_ISO_devel 4449 16 Jun 2026, 11:29

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

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

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

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

After features/support/hooks.rb:339 1.272
After features/support/hooks.rb:108 0.000
19.408
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.025
Given I have started Tails from DVD without network and logged in 7.768
And I prepare Tails for memory erasure tests 0.389
And I find very few patterns in the guest's memory 1.809

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

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

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

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

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

After features/support/hooks.rb:339 1.005
After features/support/hooks.rb:108 0.000
36.047
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.021
Given I have started Tails from DVD without network and logged in 7.687
And I prepare Tails for memory erasure tests 0.377
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.279
Then I find very few patterns in the guest's memory 2.267

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 3.622
After features/support/hooks.rb:108 0.061