Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 39 26 Jun 2025, 11:23

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 14:48.609 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.218
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 8.474
And I prepare Tails for memory erasure tests 0.568
When I start a process allocating 128 MiB of memory with a known pattern 1.609
Then patterns cover at least 128 MiB in the guest's memory 10.641

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

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

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

After features/support/hooks.rb:330 1.669
After features/support/hooks.rb:100 0.000
38.750
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 9.516
And I prepare Tails for memory erasure tests 0.726
And I find very few patterns in the guest's memory 9.128

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

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

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

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

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

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

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

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

Pattern coverage: 86.778% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.526
After features/support/hooks.rb:100 0.000
9:31.002
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:41.556
And I prepare Tails for memory erasure tests 0.863
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.157
When I trigger shutdown 0.033
Then I find very few patterns in the guest's memory after 20 seconds 21.391

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

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