Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 14 01 Nov 2024, 19:37

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 83.414% (106 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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