Project Number Date
test_Tails_ISO_devel 4132 20 Dec 2025, 12:09

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

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

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

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

After features/support/hooks.rb:331 1.018
After features/support/hooks.rb:100 0.000
59.857
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 9.161
And I prepare Tails for memory erasure tests 0.423
And I find very few patterns in the guest's memory 15.336

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

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

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

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

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

After features/support/hooks.rb:331 1.318
After features/support/hooks.rb:100 0.000
2:56.032
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.863
And I prepare Tails for memory erasure tests 0.404
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.390
Then I find very few patterns in the guest's memory 17.745

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.386
After features/support/hooks.rb:100 0.000
2:20.182
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 9.130
And I prepare Tails for memory erasure tests 0.440
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 32.560
Then I find very few patterns in the guest's memory 27.549

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.203
After features/support/hooks.rb:100 0.001
1:10.863
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD without network and logged in 8.798
And I prepare Tails for memory erasure tests 0.541
When I fill a 128 MiB file with a known pattern on the root filesystem 10.759
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.121
Then patterns cover at least 128 MiB in the guest's memory 13.258

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

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

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

After features/support/hooks.rb:331 6.016
After features/support/hooks.rb:100 0.000
10:48.578
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 10:12.231
And I prepare Tails for memory erasure tests 0.395
When I fill a 128 MiB file with a known pattern on the persistent filesystem 10.042
When I trigger shutdown 0.010
Then I find very few patterns in the guest's memory after 20 seconds 25.898

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

After features/support/hooks.rb:331 6.131
After features/support/hooks.rb:100 0.014