Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 4 16 Dec 2024, 20:32

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:10.824 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.
23.202
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.204
And I prepare Tails for memory erasure tests 0.426
When I start a process allocating 128 MiB of memory with a known pattern 3.122
Then patterns cover at least 128 MiB in the guest's memory 3.349

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

When I kill the allocating process 2.178
Then I find very few patterns in the guest's memory after 3 seconds 5.919

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

After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.000
25.416
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.074
And I prepare Tails for memory erasure tests 0.403
And I find very few patterns in the guest's memory 2.722

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

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

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

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

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

After features/support/hooks.rb:326 2.838
After features/support/hooks.rb:100 0.000
49.237
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.410
And I prepare Tails for memory erasure tests 0.440
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.156
Then I find very few patterns in the guest's memory 2.863

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

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

Pattern coverage: 87.596% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.000
1:11.530
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.195
And I prepare Tails for memory erasure tests 0.414
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 33.627
Then I find very few patterns in the guest's memory 2.441

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.896
After features/support/hooks.rb:100 0.000
50.706
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.339
And I prepare Tails for memory erasure tests 0.463
When I fill a 128 MiB file with a known pattern on the root filesystem 16.561
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.902
Then patterns cover at least 128 MiB in the guest's memory 2.622

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

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

After features/support/hooks.rb:326 3.512
After features/support/hooks.rb:100 0.000
7:30.730
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:44.776
And I prepare Tails for memory erasure tests 0.574
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.214
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.150

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

After features/support/hooks.rb:326 3.525
After features/support/hooks.rb:100 0.010