Project Number Date
test_Tails_ISO_20448-tor-browser-14-force-all-tests 43 11 Sep 2024, 07:25

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 87.412% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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