Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 30 19 Jun 2025, 23:09

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 20:47.544 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.
36.689
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.885
And I prepare Tails for memory erasure tests 0.462
When I start a process allocating 128 MiB of memory with a known pattern 2.899
Then patterns cover at least 128 MiB in the guest's memory 9.469

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

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

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

After features/support/hooks.rb:330 2.143
After features/support/hooks.rb:100 0.000
34.481
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.412
And I prepare Tails for memory erasure tests 0.568
And I find very few patterns in the guest's memory 10.611

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

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

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

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

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

After features/support/hooks.rb:330 3.180
After features/support/hooks.rb:100 0.000
1:3.716
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails from DVD without network and logged in 9.810
And I prepare Tails for memory erasure tests 0.898
When I plug and mount a 128 MiB USB drive with a vfat filesystem 14.343
Then I find very few patterns in the guest's memory 2.835

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 23.242

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

After features/support/hooks.rb:330 5.235
After features/support/hooks.rb:100 0.000
15:43.827
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14:52.083
And I prepare Tails for memory erasure tests 1.505
When I fill a 128 MiB file with a known pattern on the persistent filesystem 28.993
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.228

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

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