Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 27 13 Nov 2024, 19:56

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

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

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

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

After features/support/hooks.rb:326 1.386
After features/support/hooks.rb:100 0.000
23.091
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.042
And I prepare Tails for memory erasure tests 0.413
And I find very few patterns in the guest's memory 2.715

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.543
After features/support/hooks.rb:100 0.000
8:16.717
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 7:32.595
And I prepare Tails for memory erasure tests 0.906
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.047
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.156

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

After features/support/hooks.rb:326 3.584
After features/support/hooks.rb:100 0.014