Project Number Date
test_Tails_ISO_devel 3449 07 Jul 2024, 12:27

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 10:41.339 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.238
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.987
And I prepare Tails for memory erasure tests 0.373
When I start a process allocating 128 MiB of memory with a known pattern 1.227
Then patterns cover at least 128 MiB in the guest's memory 3.690

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

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

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

After features/support/hooks.rb:326 0.805
After features/support/hooks.rb:100 0.000
21.282
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.964
And I prepare Tails for memory erasure tests 0.395
And I find very few patterns in the guest's memory 3.480

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

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

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

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

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

After features/support/hooks.rb:326 0.783
After features/support/hooks.rb:100 0.000
45.181
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.035
And I prepare Tails for memory erasure tests 0.404
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.177
Then I find very few patterns in the guest's memory 3.905

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

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

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

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 864 MiB reference memory)

After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
1:7.318
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.974
And I prepare Tails for memory erasure tests 0.391
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 34.882
Then I find very few patterns in the guest's memory 3.410

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.074
After features/support/hooks.rb:100 0.000
54.892
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.024
And I prepare Tails for memory erasure tests 0.392
When I fill a 128 MiB file with a known pattern on the root filesystem 20.418
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.763
Then patterns cover at least 128 MiB in the guest's memory 2.609

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.013

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.673
After features/support/hooks.rb:100 0.000
7:14.425
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:30.855
And I prepare Tails for memory erasure tests 0.412
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.944
When I trigger shutdown 0.011
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.521
After features/support/hooks.rb:100 0.015