Project Number Date
test_Tails_ISO_devel 3422 09 Jun 2024, 12:34

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

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

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

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

After features/support/hooks.rb:315 0.831
After features/support/hooks.rb:100 0.000
23.551
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.037
And I prepare Tails for memory erasure tests 0.478
And I find very few patterns in the guest's memory 4.204

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

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

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

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

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

After features/support/hooks.rb:315 0.775
After features/support/hooks.rb:100 0.000
46.287
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.744
And I prepare Tails for memory erasure tests 0.436
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.169
Then I find very few patterns in the guest's memory 4.362

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.004

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.521
After features/support/hooks.rb:100 0.000
7:55.356
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:11.883
And I prepare Tails for memory erasure tests 0.481
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.753
When I trigger shutdown 0.012
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.529
After features/support/hooks.rb:100 0.014