Project Number Date
test_Tails_ISO_stable 5960 19 Nov 2025, 12: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 15:36.335 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.
44.274
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 7.875
And I prepare Tails for memory erasure tests 0.443
When I start a process allocating 128 MiB of memory with a known pattern 0.113
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 16.728

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

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

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

After features/support/hooks.rb:331 1.045
After features/support/hooks.rb:100 0.000
1:5.596
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.231
And I prepare Tails for memory erasure tests 0.327
And I find very few patterns in the guest's memory 18.712

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

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

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

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

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

After features/support/hooks.rb:331 0.847
After features/support/hooks.rb:100 0.000
3:14.233
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.042
And I prepare Tails for memory erasure tests 0.400
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.753
Then I find very few patterns in the guest's memory 14.651

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 7.243
After features/support/hooks.rb:100 0.013
2:21.114
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.037
Given I have started Tails from DVD without network and logged in 9.194
And I prepare Tails for memory erasure tests 0.384
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 28.957
Then I find very few patterns in the guest's memory 23.779

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

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

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

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

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

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

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

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

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

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

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 24.100

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

After features/support/hooks.rb:331 3.484
After features/support/hooks.rb:100 0.000
7:18.347
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:45.777
And I prepare Tails for memory erasure tests 0.356
When I fill a 128 MiB file with a known pattern on the persistent filesystem 8.905
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 23.293

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

After features/support/hooks.rb:331 3.856
After features/support/hooks.rb:100 0.015