Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 25 10 Nov 2024, 19:48

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 92.619% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.479
After features/support/hooks.rb:100 0.000
7:39.770
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:55.998
And I prepare Tails for memory erasure tests 0.392
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.092
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.274

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

After features/support/hooks.rb:326 3.535
After features/support/hooks.rb:100 0.012