Project Number Date
test_Tails_ISO_20660-fix-random-seed-update 8 17 Nov 2024, 17:29

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

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

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

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

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

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

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

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

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

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

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

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.754
Then patterns cover at least 75% of the test FS size in the guest's memory 4.406

Pattern coverage: 85.398% (108 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 20.975

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

After features/support/hooks.rb:326 3.741
After features/support/hooks.rb:100 0.000
7:59.442
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:15.916
And I prepare Tails for memory erasure tests 0.549
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.635
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.323

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

After features/support/hooks.rb:326 3.553
After features/support/hooks.rb:100 0.029