Project Number Date
test_Tails_ISO_20522-ocr-more 14 23 Dec 2024, 05:39

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:37.006 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.
21.015
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.645
And I prepare Tails for memory erasure tests 0.504
When I start a process allocating 128 MiB of memory with a known pattern 1.233
Then patterns cover at least 128 MiB in the guest's memory 3.290

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

When I kill the allocating process 1.301
Then I find very few patterns in the guest's memory after 3 seconds 6.039

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

After features/support/hooks.rb:326 0.918
After features/support/hooks.rb:100 0.000
24.149
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.555
And I prepare Tails for memory erasure tests 0.468
And I find very few patterns in the guest's memory 3.229

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

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

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

When I umount "/mnt" 0.280
Then I find very few patterns in the guest's memory after 3 seconds 6.663

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

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

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

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

Pattern coverage: 81.470% (103 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.433
Then I find very few patterns in the guest's memory after 3 seconds 6.771

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

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

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

When I umount the USB drive 0.399
Then I find very few patterns in the guest's memory after 3 seconds 7.122

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

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

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

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

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

When I umount the USB drive 0.800
Then I find very few patterns in the guest's memory after 3 seconds 5.447

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

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

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

When I umount the USB drive 0.631
Then I find very few patterns in the guest's memory after 3 seconds 5.174

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

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

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

When I trigger shutdown 0.047
Then I find very few patterns in the guest's memory after 20 seconds 20.721

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

After features/support/hooks.rb:326 3.541
After features/support/hooks.rb:100 0.000
7:56.554
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:13.841
And I prepare Tails for memory erasure tests 0.483
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.915
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.302

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

After features/support/hooks.rb:326 3.547
After features/support/hooks.rb:100 0.012