Project Number Date
test_Tails_ISO_stable 6029 31 Dec 2025, 12:44

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 6:49.011 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.
16.668
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Given I have started Tails from DVD without network and logged in 6.399
And I prepare Tails for memory erasure tests 0.318
When I start a process allocating 128 MiB of memory with a known pattern 1.127
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 1.968

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

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

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

After features/support/hooks.rb:331 0.513
After features/support/hooks.rb:100 0.000
16.881
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Given I have started Tails from DVD without network and logged in 6.457
And I prepare Tails for memory erasure tests 0.345
And I find very few patterns in the guest's memory 1.662

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

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

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

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

After features/support/hooks.rb:331 0.848
After features/support/hooks.rb:100 0.000
30.399
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Given I have started Tails from DVD without network and logged in 6.459
And I prepare Tails for memory erasure tests 0.315
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.089
Then I find very few patterns in the guest's memory 1.777

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.552
After features/support/hooks.rb:100 0.000
4:6.805
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 3:34.988
And I prepare Tails for memory erasure tests 0.291
When I fill a 128 MiB file with a known pattern on the persistent filesystem 10.590
When I trigger shutdown 0.004
Then I find very few patterns in the guest's memory after 20 seconds 20.930

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

After features/support/hooks.rb:331 3.464
After features/support/hooks.rb:100 0.027