Project Number Date
test_Tails_ISO_stable 4753 27 Mar 2024, 19:45

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.002
Then patterns cover at least 99% of the test FS size in the guest's memory 2.597

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.014
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.547
After features/support/hooks.rb:75 0.000
6:34.628
Before features/support/hooks.rb:245 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:51.532
And I prepare Tails for memory erasure tests 0.430
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.349
When I trigger shutdown 0.010
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.580
After features/support/hooks.rb:75 0.011