Project Number Date
test_Tails_ISO_stable 5060 31 Aug 2024, 09:05

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 91.223% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.842

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

After features/support/hooks.rb:326 3.515
After features/support/hooks.rb:100 0.000
7:51.702
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:4.768
And I prepare Tails for memory erasure tests 0.386
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.187
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.348

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

After features/support/hooks.rb:326 3.503
After features/support/hooks.rb:100 0.019