Project Number Date
test_Tails_ISO_devel 4522 30 Jul 2026, 00:58

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

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

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

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

After features/support/hooks.rb:339 0.923
After features/support/hooks.rb:108 0.000
19.617
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.149
And I prepare Tails for memory erasure tests 0.279
And I find very few patterns in the guest's memory 2.594

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

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

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

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

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

After features/support/hooks.rb:339 0.567
After features/support/hooks.rb:108 0.000
36.765
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.107
And I prepare Tails for memory erasure tests 0.280
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.086
Then I find very few patterns in the guest's memory 2.969

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 1.001
After features/support/hooks.rb:108 0.000
1:6.092
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.249
And I prepare Tails for memory erasure tests 0.266
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 28.568
Then I find very few patterns in the guest's memory 4.408

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.632
After features/support/hooks.rb:108 0.000
42.642
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.105
And I prepare Tails for memory erasure tests 0.282
When I fill a 128 MiB file with a known pattern on the root filesystem 12.101
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.414
Then patterns cover at least 128 MiB in the guest's memory 2.045

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

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

After features/support/hooks.rb:339 3.374
After features/support/hooks.rb:108 0.000
4:21.308
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 3:50.466
And I prepare Tails for memory erasure tests 0.271
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.583
When I trigger shutdown 0.004
Then I find very few patterns in the guest's memory after 20 seconds 20.982

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

After features/support/hooks.rb:339 3.351
After features/support/hooks.rb:108 0.054