Project Number Date
test_Tails_ISO_stable 4679 23 Feb 2024, 12:08

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

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

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

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

After features/support/hooks.rb:291 0.688
After features/support/hooks.rb:75 0.000
57.946
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.774
And I prepare Tails for memory erasure tests 0.674
And I find very few patterns in the guest's memory 4.674

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

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

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

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

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

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

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

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

Pattern coverage: 96.745% (120 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.992
And I wait 20 seconds 20.013

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.412
After features/support/hooks.rb:75 0.000
5:47.781
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.677
And I prepare Tails for memory erasure tests 0.434
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.271
When I trigger shutdown 0.191
And I wait 20 seconds 20.006

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.474
After features/support/hooks.rb:75 0.011