Project Number Date
test_Tails_ISO_devel 3905 14 Jul 2025, 19:38

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 12:17.912 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.
26.391
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.662
And I prepare Tails for memory erasure tests 1.601
When I start a process allocating 128 MiB of memory with a known pattern 2.163
Then patterns cover at least 128 MiB in the guest's memory 4.705

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

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

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

After features/support/hooks.rb:330 0.799
After features/support/hooks.rb:100 0.000
28.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 12.011
And I prepare Tails for memory erasure tests 0.558
And I find very few patterns in the guest's memory 2.677

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

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

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

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

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

After features/support/hooks.rb:330 1.335
After features/support/hooks.rb:100 0.000
59.420
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.028
Given I have started Tails from DVD without network and logged in 9.930
And I prepare Tails for memory erasure tests 0.576
When I plug and mount a 128 MiB USB drive with a vfat filesystem 13.138
Then I find very few patterns in the guest's memory 2.621

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.129
After features/support/hooks.rb:100 0.000
1:33.661
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 9.450
And I prepare Tails for memory erasure tests 0.554
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 51.597
Then I find very few patterns in the guest's memory 2.306

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 2.630
After features/support/hooks.rb:100 0.002
58.601
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails from DVD without network and logged in 9.692
And I prepare Tails for memory erasure tests 0.834
When I fill a 128 MiB file with a known pattern on the root filesystem 19.758
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.335
Then patterns cover at least 128 MiB in the guest's memory 4.730

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

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

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

After features/support/hooks.rb:330 3.724
After features/support/hooks.rb:100 0.000
7:51.214
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:8.085
And I prepare Tails for memory erasure tests 0.431
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.323
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.360

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

After features/support/hooks.rb:330 3.703
After features/support/hooks.rb:100 0.012