Project Number Date
test_Tails_ISO_stable 4684 27 Feb 2024, 21:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 10:6.812 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.277
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.819
And I prepare Tails for memory erasure tests 0.421
When I start a process allocating 128 MiB of memory with a known pattern 1.175
Then patterns cover at least 128 MiB in the guest's memory 3.541

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

When I kill the allocating process 0.997
Then I find very few patterns in the guest's memory 5.322

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

After features/support/hooks.rb:291 0.997
After features/support/hooks.rb:75 0.000
23.297
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.163
And I prepare Tails for memory erasure tests 0.394
And I find very few patterns in the guest's memory 4.501

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

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

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

When I umount "/mnt" 0.397
Then I find very few patterns in the guest's memory 4.375

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

After features/support/hooks.rb:291 0.640
After features/support/hooks.rb:75 0.000
40.961
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.892
And I prepare Tails for memory erasure tests 0.389
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.804
Then I find very few patterns in the guest's memory 3.708

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

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

Pattern coverage: 97.551% (124 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.094
Then I find very few patterns in the guest's memory 4.611

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

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

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

When I umount the USB drive 0.632
Then I find very few patterns in the guest's memory 4.235

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

After features/support/hooks.rb:291 2.601
After features/support/hooks.rb:75 0.000
1:8.813
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.500
And I prepare Tails for memory erasure tests 0.431
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 31.293
Then I find very few patterns in the guest's memory 3.929

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

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

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

When I umount the USB drive 1.180
Then I find very few patterns in the guest's memory 3.255

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

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

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

When I umount the USB drive 0.636
Then I find very few patterns in the guest's memory 4.025

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

After features/support/hooks.rb:291 0.746
After features/support/hooks.rb:75 0.000
55.458
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.119
And I prepare Tails for memory erasure tests 0.386
When I fill a 128 MiB file with a known pattern on the root filesystem 17.682
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.290
Then patterns cover at least 128 MiB in the guest's memory 6.212

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.005

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.746

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

After features/support/hooks.rb:291 3.504
After features/support/hooks.rb:75 0.000
6:38.004
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:53.074
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 22.034
When I trigger shutdown 0.010
And I wait 20 seconds 20.019

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.474

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

After features/support/hooks.rb:291 3.547
After features/support/hooks.rb:75 0.012