Project Number Date
test_Tails_ISO_devel 3403 28 May 2024, 18:06

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.069
After features/support/hooks.rb:89 0.000
52.664
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.858
And I prepare Tails for memory erasure tests 0.456
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.382
Then I find very few patterns in the guest's memory 4.603

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

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

Pattern coverage: 88.082% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.601
After features/support/hooks.rb:89 0.000
9:11.129
Before features/support/hooks.rb:259 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:23.533
And I prepare Tails for memory erasure tests 0.443
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.807
When I trigger shutdown 0.011
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.488
After features/support/hooks.rb:89 0.010