Project Number Date
test_Tails_ISO_stable 5233 30 Oct 2024, 12:49

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.545
After features/support/hooks.rb:100 0.000
8:36.811
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:51.376
And I prepare Tails for memory erasure tests 0.458
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.141
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.821

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

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