Project Number Date
test_Tails_ISO_stable 5913 27 Oct 2025, 20:27

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

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

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

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

After features/support/hooks.rb:331 1.058
After features/support/hooks.rb:100 0.000
57.736
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.685
And I prepare Tails for memory erasure tests 0.481
And I find very few patterns in the guest's memory 13.744

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

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

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 16.539

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 4.072
After features/support/hooks.rb:100 0.000
7:21.488
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 6:44.035
And I prepare Tails for memory erasure tests 0.345
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.330
When I trigger shutdown 0.010
Then I find very few patterns in the guest's memory after 20 seconds 27.767

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

After features/support/hooks.rb:331 4.087
After features/support/hooks.rb:100 0.014