Project Number Date
test_Tails_ISO_devel 4057 06 Nov 2025, 09:48

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

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

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

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

After features/support/hooks.rb:331 1.398
After features/support/hooks.rb:100 0.000
59.132
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.900
And I prepare Tails for memory erasure tests 0.524
And I find very few patterns in the guest's memory 15.317

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

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.244

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.985
After features/support/hooks.rb:100 0.000
3:4.644
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 8.843
And I prepare Tails for memory erasure tests 0.384
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.155
Then I find very few patterns in the guest's memory 17.176

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

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

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

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

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

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

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

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

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

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

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 26.462

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

After features/support/hooks.rb:331 3.661
After features/support/hooks.rb:100 0.000
7:52.236
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 7:18.878
And I prepare Tails for memory erasure tests 0.415
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.357
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 23.573

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

After features/support/hooks.rb:331 3.670
After features/support/hooks.rb:100 0.015