Project Number Date
test_Tails_ISO_stable 4626 20 Jan 2024, 12:49

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 94.745% (118 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.326
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.453
After features/support/hooks.rb:75 0.000
6:5.167
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:18.953
And I prepare Tails for memory erasure tests 0.472
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.035
When I trigger shutdown 0.475
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.488
After features/support/hooks.rb:75 0.014