Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 35 20 Nov 2024, 20:22

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

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

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

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

After features/support/hooks.rb:326 0.793
After features/support/hooks.rb:100 0.000
27.027
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD without network and logged in 8.290
And I prepare Tails for memory erasure tests 0.454
And I find very few patterns in the guest's memory 2.951

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

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

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

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

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

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

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

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

Pattern coverage: 89.928% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.518
After features/support/hooks.rb:100 0.000
7:42.435
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:57.558
And I prepare Tails for memory erasure tests 0.540
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.840
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 21.481

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

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