Project Number Date
test_Tails_ISO_devel 4138 26 Dec 2025, 11:52

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

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

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

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

After features/support/hooks.rb:331 0.918
After features/support/hooks.rb:100 0.000
1:59.909
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.084
And I prepare Tails for memory erasure tests 0.358
And I find very few patterns in the guest's memory 21.379

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

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

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

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

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

After features/support/hooks.rb:331 0.721
After features/support/hooks.rb:100 0.000
2:50.410
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.116
And I prepare Tails for memory erasure tests 0.387
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.579
Then I find very few patterns in the guest's memory 26.044

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.980
After features/support/hooks.rb:100 0.000
6:27.345
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 5:54.390
And I prepare Tails for memory erasure tests 0.380
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.253
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 23.310

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

After features/support/hooks.rb:331 3.862
After features/support/hooks.rb:100 0.020