Project Number Date
test_Tails_ISO_stable 5961 20 Nov 2025, 09:19

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

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

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

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

After features/support/hooks.rb:331 0.758
After features/support/hooks.rb:100 0.000
56.535
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.206
And I prepare Tails for memory erasure tests 0.342
And I find very few patterns in the guest's memory 14.663

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

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

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

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

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

After features/support/hooks.rb:331 0.820
After features/support/hooks.rb:100 0.000
3:10.404
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.876
And I prepare Tails for memory erasure tests 0.502
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.860
Then I find very few patterns in the guest's memory 37.264

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.751
After features/support/hooks.rb:100 0.001
1:59.916
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 8.177
And I prepare Tails for memory erasure tests 0.395
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 27.977
Then I find very few patterns in the guest's memory 13.078

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 4.083
After features/support/hooks.rb:100 0.000
7:12.102
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 6:38.620
And I prepare Tails for memory erasure tests 0.438
When I fill a 128 MiB file with a known pattern on the persistent filesystem 8.669
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 24.359

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

After features/support/hooks.rb:331 3.914
After features/support/hooks.rb:100 0.070