Project Number Date
test_Tails_ISO_feature-arti 4 19 Nov 2024, 16:43

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.955
After features/support/hooks.rb:100 0.000
59.306
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.874
And I prepare Tails for memory erasure tests 0.494
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.425
Then I find very few patterns in the guest's memory 3.983

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.816
After features/support/hooks.rb:100 0.000
1:2.760
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.409
And I prepare Tails for memory erasure tests 0.557
When I fill a 128 MiB file with a known pattern on the root filesystem 18.889
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.163
Then patterns cover at least 128 MiB in the guest's memory 9.745

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

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

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

After features/support/hooks.rb:326 3.703
After features/support/hooks.rb:100 0.000
8:16.993
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 7:33.070
And I prepare Tails for memory erasure tests 0.742
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.850
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.313

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

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