Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 43 30 Nov 2024, 19:50

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

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

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

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

After features/support/hooks.rb:326 1.148
After features/support/hooks.rb:100 0.000
26.153
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.419
And I find very few patterns in the guest's memory 3.679

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

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

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

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

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

After features/support/hooks.rb:326 0.788
After features/support/hooks.rb:100 0.000
48.313
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.348
And I prepare Tails for memory erasure tests 0.470
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.059
Then I find very few patterns in the guest's memory 3.057

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

Pattern coverage: 90.544% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 1.241
After features/support/hooks.rb:100 0.001
1:19.229
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.703
And I prepare Tails for memory erasure tests 0.468
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.988
Then I find very few patterns in the guest's memory 3.090

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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