Project Number Date
test_Tails_ISO_20671-electrum-campaign-2024 3 22 Nov 2024, 03:31

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 86.264% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.482
After features/support/hooks.rb:100 0.000
7:31.148
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:45.005
And I prepare Tails for memory erasure tests 1.679
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.372
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.078

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

After features/support/hooks.rb:326 3.516
After features/support/hooks.rb:100 0.018