Project Number Date
test_Tails_ISO_devel 3348 04 Apr 2024, 12:08

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 9:53.625 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.
16.897
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.928
And I prepare Tails for memory erasure tests 0.411
When I start a process allocating 128 MiB of memory with a known pattern 1.173
Then patterns cover at least 128 MiB in the guest's memory 3.329

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

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

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

After features/support/hooks.rb:291 0.746
After features/support/hooks.rb:75 0.000
21.577
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 7.819
And I prepare Tails for memory erasure tests 0.463
And I find very few patterns in the guest's memory 3.939

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.011

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.503
After features/support/hooks.rb:75 0.000
6:40.271
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:56.756
And I prepare Tails for memory erasure tests 0.399
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.847
When I trigger shutdown 0.015
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

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