Project Number Date
test_Tails_ISO_stable 5059 30 Aug 2024, 12:43

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 91.658% (116 MiB out of 127 MiB reference memory)

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

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

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

Pattern coverage: 100.596% (128 MiB out of 127 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 7.263

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.568
After features/support/hooks.rb:100 0.012