Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 48 06 Jul 2025, 09:51

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:9.978 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.
22.405
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.458
And I prepare Tails for memory erasure tests 0.393
When I start a process allocating 128 MiB of memory with a known pattern 1.175
Then patterns cover at least 128 MiB in the guest's memory 3.304

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

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

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

After features/support/hooks.rb:330 0.858
After features/support/hooks.rb:100 0.000
24.651
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.582
And I prepare Tails for memory erasure tests 0.467
And I find very few patterns in the guest's memory 2.617

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.667

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

After features/support/hooks.rb:330 3.505
After features/support/hooks.rb:100 0.000
7:28.909
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:43.607
And I prepare Tails for memory erasure tests 1.137
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.640
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.511

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

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