Project Number Date
test_Tails_ISO_devel 4093 29 Nov 2025, 15:15

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

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

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

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

After features/support/hooks.rb:331 0.899
After features/support/hooks.rb:100 0.000
2:18.469
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.056
And I prepare Tails for memory erasure tests 0.671
And I find very few patterns in the guest's memory 54.525

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.818
Then patterns cover at least 99% of the test FS size in the guest's memory 37.132

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

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

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

After features/support/hooks.rb:331 1.034
After features/support/hooks.rb:100 0.000
4:4.062
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.027
And I prepare Tails for memory erasure tests 0.750
When I plug and mount a 128 MiB USB drive with a vfat filesystem 1:3.666
Then I find very few patterns in the guest's memory 36.861

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 23.298

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

After features/support/hooks.rb:331 4.158
After features/support/hooks.rb:100 0.000
7:6.955
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:34.083
And I prepare Tails for memory erasure tests 0.466
When I fill a 128 MiB file with a known pattern on the persistent filesystem 8.655
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 23.736

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

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