Project Number Date
test_Tails_ISO_stable 4777 07 Apr 2024, 12:03

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:4.568 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.721
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 9.156
And I prepare Tails for memory erasure tests 0.383
When I start a process allocating 128 MiB of memory with a known pattern 1.233
Then patterns cover at least 128 MiB in the guest's memory 3.851

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

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

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

After features/support/hooks.rb:305 1.593
After features/support/hooks.rb:89 0.000
27.793
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.631
And I prepare Tails for memory erasure tests 0.445
And I find very few patterns in the guest's memory 4.978

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

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

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

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

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

After features/support/hooks.rb:305 1.591
After features/support/hooks.rb:89 0.000
43.073
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.235
And I prepare Tails for memory erasure tests 0.604
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.839
Then I find very few patterns in the guest's memory 4.101

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.484
After features/support/hooks.rb:89 0.000
1:11.145
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.356
And I prepare Tails for memory erasure tests 0.420
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 31.042
Then I find very few patterns in the guest's memory 4.322

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.671
After features/support/hooks.rb:89 0.000
50.175
Before features/support/hooks.rb:259 0.004
Given I have started Tails from DVD without network and logged in 8.385
And I prepare Tails for memory erasure tests 0.499
When I fill a 128 MiB file with a known pattern on the root filesystem 15.249
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.227
Then patterns cover at least 128 MiB in the guest's memory 3.022

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.013

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.517
After features/support/hooks.rb:89 0.000
7:31.658
Before features/support/hooks.rb:259 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:47.266
And I prepare Tails for memory erasure tests 0.421
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.573
When I trigger shutdown 0.012
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.547
After features/support/hooks.rb:89 0.013