Project Number Date
test_Tails_ISO_stable 6013 18 Dec 2025, 13:10

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

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

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

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

After features/support/hooks.rb:331 0.936
After features/support/hooks.rb:100 0.000
1:8.456
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.471
And I prepare Tails for memory erasure tests 0.598
And I find very few patterns in the guest's memory 24.052

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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