Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 13 31 Oct 2024, 22:42

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:41.715 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.438
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.566
And I prepare Tails for memory erasure tests 0.433
When I start a process allocating 128 MiB of memory with a known pattern 2.385
Then patterns cover at least 128 MiB in the guest's memory 3.653

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

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

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

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

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

When I mount a 128 MiB tmpfs on "/mnt" and fill it with a known pattern 1.987
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.638
Then I find very few patterns in the guest's memory after 3 seconds 6.832

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

After features/support/hooks.rb:326 0.830
After features/support/hooks.rb:100 0.000
55.539
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD without network and logged in 8.500
And I prepare Tails for memory erasure tests 0.629
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.129
Then I find very few patterns in the guest's memory 3.935

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.544
After features/support/hooks.rb:100 0.000
7:43.024
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:55.375
And I prepare Tails for memory erasure tests 0.447
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.866
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.316

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

After features/support/hooks.rb:326 3.509
After features/support/hooks.rb:100 0.011