Project Number Date
test_Tails_ISO_21318-tor-browser-16.0 56 28 Jul 2026, 08:05

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

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

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

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

After features/support/hooks.rb:339 0.793
After features/support/hooks.rb:108 0.000
16.682
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails from DVD without network and logged in 6.469
And I prepare Tails for memory erasure tests 0.299
And I find very few patterns in the guest's memory 1.544

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

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

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

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

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

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

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.536
Then patterns cover at least 75% of the test FS size in the guest's memory 1.976

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 3.902
After features/support/hooks.rb:108 0.000
4:28.563
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:40.588
And I prepare Tails for memory erasure tests 0.318
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.783
When I trigger shutdown 0.030
Then I find very few patterns in the guest's memory after 20 seconds 20.842

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

After features/support/hooks.rb:339 3.694
After features/support/hooks.rb:108 0.009