Project Number Date
test_Tails_ISO_devel 4062 09 Nov 2025, 12:11

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 15:25.864 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.
45.529
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.428
And I prepare Tails for memory erasure tests 0.491
When I start a process allocating 128 MiB of memory with a known pattern 2.302
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 15.261

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

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

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

After features/support/hooks.rb:331 0.862
After features/support/hooks.rb:100 0.000
57.658
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 8.724
And I prepare Tails for memory erasure tests 0.384
And I find very few patterns in the guest's memory 14.594

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

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

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

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

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

After features/support/hooks.rb:331 0.844
After features/support/hooks.rb:100 0.000
1:49.565
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.778
And I prepare Tails for memory erasure tests 0.418
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.528
Then I find very few patterns in the guest's memory 14.301

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.554
After features/support/hooks.rb:100 0.000
7:3.709
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:30.527
And I prepare Tails for memory erasure tests 0.367
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.231
When I trigger shutdown 0.010
Then I find very few patterns in the guest's memory after 20 seconds 23.571

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

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