Project Number Date
test_Tails_ISO_stable 5981 03 Dec 2025, 15:49

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 25:16.751 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.
2:19.566
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 12.552
And I prepare Tails for memory erasure tests 1.122
When I start a process allocating 128 MiB of memory with a known pattern 1.230
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 1:20.795

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

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

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

After features/support/hooks.rb:331 5.971
After features/support/hooks.rb:100 0.000
3:17.360
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 17.388
And I prepare Tails for memory erasure tests 0.437
And I find very few patterns in the guest's memory 40.290

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

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

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

When I umount "/mnt" 0.433
Then I find very few patterns in the guest's memory after 3 seconds 1:4.328

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

After features/support/hooks.rb:331 0.964
After features/support/hooks.rb:100 0.000
5:50.661
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 9.655
And I prepare Tails for memory erasure tests 0.435
When I plug and mount a 128 MiB USB drive with a vfat filesystem 54.374
Then I find very few patterns in the guest's memory 1:0.855

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

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

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

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

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

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

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

When I umount the USB drive 0.444
Then I find very few patterns in the guest's memory after 3 seconds 1:2.562

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

After features/support/hooks.rb:331 0.715
After features/support/hooks.rb:100 0.001
4:57.001
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.347
And I prepare Tails for memory erasure tests 0.371
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 36.951
Then I find very few patterns in the guest's memory 30.973

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 4.116
After features/support/hooks.rb:100 0.000
7:39.067
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:59.566
And I prepare Tails for memory erasure tests 0.395
When I fill a 128 MiB file with a known pattern on the persistent filesystem 15.029
When I trigger shutdown 0.261
Then I find very few patterns in the guest's memory after 20 seconds 23.813

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

After features/support/hooks.rb:331 4.038
After features/support/hooks.rb:100 0.017