Project Number Date
test_Tails_ISO_devel 3354 18 Apr 2024, 12:38

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

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

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

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

After features/support/hooks.rb:305 0.965
After features/support/hooks.rb:89 0.000
24.089
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.049
And I prepare Tails for memory erasure tests 0.409
And I find very few patterns in the guest's memory 4.848

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 2.961
After features/support/hooks.rb:89 0.012
1:9.135
Before features/support/hooks.rb:259 0.015
Given I have started Tails from DVD without network and logged in 9.355
And I prepare Tails for memory erasure tests 0.450
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 30.921
Then I find very few patterns in the guest's memory 3.948

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.011

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.575
After features/support/hooks.rb:89 0.000
7:6.635
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:21.363
And I prepare Tails for memory erasure tests 0.498
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.383
When I trigger shutdown 0.011
And I wait 20 seconds 20.008

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.549
After features/support/hooks.rb:89 0.017