Project Number Date
test_Tails_ISO_devel 3415 04 Jun 2024, 18:47

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

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

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

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

After features/support/hooks.rb:315 2.379
After features/support/hooks.rb:100 0.000
28.132
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.707
And I prepare Tails for memory erasure tests 0.521
And I find very few patterns in the guest's memory 5.094

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

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

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

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

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

After features/support/hooks.rb:315 2.559
After features/support/hooks.rb:100 0.000
49.199
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.063
And I prepare Tails for memory erasure tests 0.727
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.010
Then I find very few patterns in the guest's memory 5.080

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

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

Pattern coverage: 92.396% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.015
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.534
After features/support/hooks.rb:100 0.000
8:17.271
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 7:33.053
And I prepare Tails for memory erasure tests 0.480
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.513
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 2.199

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

After features/support/hooks.rb:315 3.506
After features/support/hooks.rb:100 0.010