Project Number Date
test_Tails_ISO_stable 4851 23 May 2024, 14:03

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.984% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.484
After features/support/hooks.rb:89 0.000
7:30.935
Before features/support/hooks.rb:259 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:45.395
And I prepare Tails for memory erasure tests 0.450
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.775
When I trigger shutdown 0.016
And I wait 20 seconds 20.002

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.582
After features/support/hooks.rb:89 0.011