Project Number Date
test_Tails_ISO_devel 4421 29 May 2026, 11:17

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

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

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

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

After features/support/hooks.rb:335 0.976
After features/support/hooks.rb:104 0.000
17.759
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails from DVD without network and logged in 6.928
And I prepare Tails for memory erasure tests 0.335
And I find very few patterns in the guest's memory 1.873

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

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

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

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

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

After features/support/hooks.rb:335 1.028
After features/support/hooks.rb:104 0.000
31.737
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails from DVD without network and logged in 6.681
And I prepare Tails for memory erasure tests 0.318
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.208
Then I find very few patterns in the guest's memory 1.624

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:335 1.029
After features/support/hooks.rb:104 0.000
55.984
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails from DVD without network and logged in 6.416
And I prepare Tails for memory erasure tests 0.324
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 27.767
Then I find very few patterns in the guest's memory 1.818

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:335 0.801
After features/support/hooks.rb:104 0.000
53.811
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails from DVD without network and logged in 6.797
And I prepare Tails for memory erasure tests 0.325
When I fill a 128 MiB file with a known pattern on the root filesystem 22.586
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.839
Then patterns cover at least 128 MiB in the guest's memory 1.725

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

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

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

After features/support/hooks.rb:335 3.792
After features/support/hooks.rb:104 0.000
4:30.571
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 3:51.017
And I prepare Tails for memory erasure tests 0.314
When I fill a 128 MiB file with a known pattern on the persistent filesystem 18.271
When I trigger shutdown 0.005
Then I find very few patterns in the guest's memory after 20 seconds 20.962

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

After features/support/hooks.rb:335 3.635
After features/support/hooks.rb:104 0.022