Project Number Date
test_Tails_ISO_feature-arti 33 18 Dec 2024, 16:36

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:22.478 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.
22.439
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.290
And I prepare Tails for memory erasure tests 0.417
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.665

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 89.071% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.498
After features/support/hooks.rb:100 0.000
7:29.088
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:39.379
And I prepare Tails for memory erasure tests 0.448
When I fill a 128 MiB file with a known pattern on the persistent filesystem 28.068
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.177

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

After features/support/hooks.rb:326 3.515
After features/support/hooks.rb:100 0.010