Project Number Date
test_Tails_ISO_stable 4581 21 Dec 2023, 12:09

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:57.964 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.341
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.179
And I prepare Tails for memory erasure tests 0.455
When I start a process allocating 128 MiB of memory with a known pattern 1.299
Then patterns cover at least 128 MiB in the guest's memory 3.357

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

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

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

After features/support/hooks.rb:291 0.705
After features/support/hooks.rb:75 0.000
57.965
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.232
And I prepare Tails for memory erasure tests 0.480
And I find very few patterns in the guest's memory 3.701

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

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

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

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

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

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

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

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

Pattern coverage: 96.014% (119 MiB out of 124 MiB reference memory)

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

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

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

Pattern coverage: 102.400% (127 MiB out of 124 MiB reference memory)

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

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

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

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.662% (97 MiB out of 89 MiB reference memory)

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

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

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

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

When I trigger shutdown 0.524
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.475
After features/support/hooks.rb:75 0.000
5:47.774
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:4.336
And I prepare Tails for memory erasure tests 0.435
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.638
When I trigger shutdown 0.280
And I wait 20 seconds 20.008

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.507
After features/support/hooks.rb:75 0.012