Project Number Date
test_Tails_ISO_20619-wait-for-persistent-storage-check 4 23 Oct 2024, 21:42

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.527
After features/support/hooks.rb:100 0.000
7:27.567
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:44.312
And I prepare Tails for memory erasure tests 0.446
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.364
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.432

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

After features/support/hooks.rb:326 3.585
After features/support/hooks.rb:100 0.014