Project Number Date
test_Tails_ISO_devel 3904 09 Jul 2025, 14:01

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 23:51.114 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.
37.679
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails from DVD without network and logged in 9.876
And I prepare Tails for memory erasure tests 0.460
When I start a process allocating 128 MiB of memory with a known pattern 3.711
Then patterns cover at least 128 MiB in the guest's memory 9.785

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

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

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

After features/support/hooks.rb:330 1.793
After features/support/hooks.rb:100 0.000
40.062
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails from DVD without network and logged in 9.664
And I prepare Tails for memory erasure tests 0.473
And I find very few patterns in the guest's memory 10.362

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

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

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

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

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

After features/support/hooks.rb:330 1.725
After features/support/hooks.rb:100 0.000
1:21.893
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 10.876
And I prepare Tails for memory erasure tests 3.416
When I plug and mount a 128 MiB USB drive with a vfat filesystem 13.423
Then I find very few patterns in the guest's memory 11.888

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.122
After features/support/hooks.rb:100 0.000
3:6.378
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 29.741
And I prepare Tails for memory erasure tests 2.520
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 1:22.109
Then I find very few patterns in the guest's memory 6.199

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 5.458
After features/support/hooks.rb:100 0.016
1:12.177
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.031
Given I have started Tails from DVD without network and logged in 15.255
And I prepare Tails for memory erasure tests 5.839
When I fill a 128 MiB file with a known pattern on the root filesystem 23.012
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.446
Then patterns cover at least 128 MiB in the guest's memory 3.621

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 20.983

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

After features/support/hooks.rb:330 6.615
After features/support/hooks.rb:100 0.000
16:52.922
Before features/support/hooks.rb:266 0.020
Before features/support/hooks.rb:273 0.090
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15:55.974
And I prepare Tails for memory erasure tests 1.539
When I fill a 128 MiB file with a known pattern on the persistent filesystem 33.382
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 22.011

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

After features/support/hooks.rb:330 4.826
After features/support/hooks.rb:100 0.052