Project Number Date
test_Tails_ISO_devel 4182 22 Jan 2026, 12:00

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

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

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

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

After features/support/hooks.rb:331 0.967
After features/support/hooks.rb:100 0.000
55.597
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 7.827
And I prepare Tails for memory erasure tests 0.382
And I find very few patterns in the guest's memory 14.322

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.941
After features/support/hooks.rb:100 0.000
6:24.857
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 5:49.557
And I prepare Tails for memory erasure tests 0.413
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.404
When I trigger shutdown 0.009
Then I find very few patterns in the guest's memory after 20 seconds 25.472

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

After features/support/hooks.rb:331 5.379
After features/support/hooks.rb:100 0.026