Project Number Date
test_Tails_ISO_stable 5919 30 Oct 2025, 12:50

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

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

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

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

After features/support/hooks.rb:331 0.945
After features/support/hooks.rb:100 0.000
58.246
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.972
And I prepare Tails for memory erasure tests 0.415
And I find very few patterns in the guest's memory 14.563

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.648
After features/support/hooks.rb:100 0.000
7:10.120
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:36.902
And I prepare Tails for memory erasure tests 0.356
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.459
When I trigger shutdown 0.022
Then I find very few patterns in the guest's memory after 20 seconds 23.379

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

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