Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 17 04 Nov 2024, 20:07

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.090
Then patterns cover at least 99% of the test FS size in the guest's memory 3.813

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.486
After features/support/hooks.rb:100 0.000
8:42.253
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:56.327
And I prepare Tails for memory erasure tests 0.519
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.036
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.353

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

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