Project Number Date
test_Tails_ISO_stable 6379 15 May 2026, 11:35

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

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

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

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

After features/support/hooks.rb:335 0.794
After features/support/hooks.rb:104 0.000
18.651
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.881
And I prepare Tails for memory erasure tests 0.440
And I find very few patterns in the guest's memory 1.818

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

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

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

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

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

After features/support/hooks.rb:335 0.633
After features/support/hooks.rb:104 0.000
34.446
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.626
And I prepare Tails for memory erasure tests 0.407
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.544
Then I find very few patterns in the guest's memory 2.463

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:335 1.162
After features/support/hooks.rb:104 0.000
1:0.229
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.809
And I prepare Tails for memory erasure tests 0.394
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 29.475
Then I find very few patterns in the guest's memory 2.344

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:335 1.140
After features/support/hooks.rb:104 0.000
1:0.465
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.862
And I prepare Tails for memory erasure tests 0.437
When I fill a 128 MiB file with a known pattern on the root filesystem 28.495
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.246
Then patterns cover at least 128 MiB in the guest's memory 1.632

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

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

After features/support/hooks.rb:335 3.591
After features/support/hooks.rb:104 0.000
4:51.403
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4:11.926
And I prepare Tails for memory erasure tests 0.483
When I fill a 128 MiB file with a known pattern on the persistent filesystem 18.067
When I trigger shutdown 0.008
Then I find very few patterns in the guest's memory after 20 seconds 20.917

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

After features/support/hooks.rb:335 3.911
After features/support/hooks.rb:104 0.023