Project Number Date
test_Tails_ISO_devel 4110 09 Dec 2025, 17:40

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

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

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

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

After features/support/hooks.rb:331 0.756
After features/support/hooks.rb:100 0.000
1:1.510
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.615
And I prepare Tails for memory erasure tests 0.407
And I find very few patterns in the guest's memory 14.153

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.386
After features/support/hooks.rb:100 0.003
1:59.891
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails from DVD without network and logged in 9.031
And I prepare Tails for memory erasure tests 0.408
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 25.194
Then I find very few patterns in the guest's memory 13.917

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.830
After features/support/hooks.rb:100 0.005
51.982
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails from DVD without network and logged in 8.218
And I prepare Tails for memory erasure tests 0.418
When I fill a 128 MiB file with a known pattern on the root filesystem 9.710
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 0.898
Then patterns cover at least 128 MiB in the guest's memory 9.994

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

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

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

After features/support/hooks.rb:331 3.804
After features/support/hooks.rb:100 0.000
8:53.311
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:20.334
And I prepare Tails for memory erasure tests 0.407
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.423
When I trigger shutdown 0.010
Then I find very few patterns in the guest's memory after 20 seconds 23.135

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

After features/support/hooks.rb:331 3.623
After features/support/hooks.rb:100 0.016