Project Number Date
test_Tails_ISO_devel 4039 28 Oct 2025, 14:31

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

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

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

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

After features/support/hooks.rb:331 1.804
After features/support/hooks.rb:100 0.000
1:2.364
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 9.036
And I prepare Tails for memory erasure tests 0.449
And I find very few patterns in the guest's memory 14.005

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.943
After features/support/hooks.rb:100 0.000
2:50.146
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 8.706
And I prepare Tails for memory erasure tests 0.397
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 32.561
Then I find very few patterns in the guest's memory 25.565

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.486
After features/support/hooks.rb:100 0.020
57.034
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.032
Given I have started Tails from DVD without network and logged in 9.342
And I prepare Tails for memory erasure tests 0.501
When I fill a 128 MiB file with a known pattern on the root filesystem 10.877
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.142
Then patterns cover at least 128 MiB in the guest's memory 10.193

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

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

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

After features/support/hooks.rb:331 4.096
After features/support/hooks.rb:100 0.000
8:37.294
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:3.083
And I prepare Tails for memory erasure tests 0.499
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.083
When I trigger shutdown 0.009
Then I find very few patterns in the guest's memory after 20 seconds 24.618

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

After features/support/hooks.rb:331 3.863
After features/support/hooks.rb:100 0.025