Project Number Date
test_Tails_ISO_devel 4041 29 Oct 2025, 14:03

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

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

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

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

After features/support/hooks.rb:331 0.706
After features/support/hooks.rb:100 0.000
48.701
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.025
And I prepare Tails for memory erasure tests 0.585
And I find very few patterns in the guest's memory 10.121

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 100.000% (127 MiB out of 127 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 12.405

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

After features/support/hooks.rb:331 1.181
After features/support/hooks.rb:100 0.000
1:40.083
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD without network and logged in 8.671
And I prepare Tails for memory erasure tests 0.453
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 28.216
Then I find very few patterns in the guest's memory 9.106

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.616
After features/support/hooks.rb:100 0.013