Project Number Date
test_Tails_ISO_20660-fix-random-seed-update 15 24 Nov 2024, 17:07

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 87.161% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.498
After features/support/hooks.rb:100 0.011