Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 17 07 Jun 2025, 09:34

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 11:24.828 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.
24.723
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.039
And I prepare Tails for memory erasure tests 0.445
When I start a process allocating 128 MiB of memory with a known pattern 2.425
Then patterns cover at least 128 MiB in the guest's memory 4.860

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

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

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

After features/support/hooks.rb:330 0.727
After features/support/hooks.rb:100 0.000
30.813
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.928
And I prepare Tails for memory erasure tests 0.418
And I find very few patterns in the guest's memory 5.328

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

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

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

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

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

After features/support/hooks.rb:330 1.217
After features/support/hooks.rb:100 0.000
53.881
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.641
And I prepare Tails for memory erasure tests 0.457
When I plug and mount a 128 MiB USB drive with a vfat filesystem 12.320
Then I find very few patterns in the guest's memory 4.264

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.112
After features/support/hooks.rb:100 0.000
52.695
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.182
And I prepare Tails for memory erasure tests 0.431
When I fill a 128 MiB file with a known pattern on the root filesystem 17.690
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.336
Then patterns cover at least 128 MiB in the guest's memory 3.138

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

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

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

After features/support/hooks.rb:330 3.514
After features/support/hooks.rb:100 0.000
7:22.361
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:35.664
And I prepare Tails for memory erasure tests 0.460
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.861
When I trigger shutdown 0.019
Then I find very few patterns in the guest's memory after 20 seconds 21.355

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

After features/support/hooks.rb:330 3.497
After features/support/hooks.rb:100 0.014