Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 13 01 Nov 2024, 18:36

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 95.139% (121 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.462
After features/support/hooks.rb:100 0.000
7:8.962
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.975
And I prepare Tails for memory erasure tests 0.390
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.454
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.131

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

After features/support/hooks.rb:326 3.492
After features/support/hooks.rb:100 0.037