Project Number Date
test_Tails_ISO_devel 4550 15 Aug 2026, 11:23

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 7:33.488 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.
20.312
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 6.326
And I prepare Tails for memory erasure tests 0.296
When I start a process allocating 128 MiB of memory with a known pattern 2.229
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 2.972

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

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

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

After features/support/hooks.rb:339 0.945
After features/support/hooks.rb:108 0.000
19.869
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails from DVD without network and logged in 6.394
And I prepare Tails for memory erasure tests 0.360
And I find very few patterns in the guest's memory 2.554

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

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

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

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

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

After features/support/hooks.rb:339 0.852
After features/support/hooks.rb:108 0.000
38.759
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 6.188
And I prepare Tails for memory erasure tests 0.344
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.282
Then I find very few patterns in the guest's memory 3.816

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.988
After features/support/hooks.rb:108 0.000
1:4.452
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails from DVD without network and logged in 6.248
And I prepare Tails for memory erasure tests 0.293
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 32.373
Then I find very few patterns in the guest's memory 2.491

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.768
After features/support/hooks.rb:108 0.000
43.402
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 6.383
And I prepare Tails for memory erasure tests 0.332
When I fill a 128 MiB file with a known pattern on the root filesystem 12.265
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.525
Then patterns cover at least 128 MiB in the guest's memory 2.190

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

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

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

After features/support/hooks.rb:339 3.600
After features/support/hooks.rb:108 0.000
4:26.692
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 3:55.336
And I prepare Tails for memory erasure tests 0.241
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.923
When I trigger shutdown 0.009
Then I find very few patterns in the guest's memory after 20 seconds 21.180

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

After features/support/hooks.rb:339 3.515
After features/support/hooks.rb:108 0.008