Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 38 23 Aug 2024, 20:23

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

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

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

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

After features/support/hooks.rb:326 0.687
After features/support/hooks.rb:100 0.000
26.605
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.970
And I prepare Tails for memory erasure tests 0.602
And I find very few patterns in the guest's memory 3.141

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.576
After features/support/hooks.rb:100 0.000
8:7.972
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:21.222
And I prepare Tails for memory erasure tests 0.440
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.999
When I trigger shutdown 0.020
Then I find very few patterns in the guest's memory after 20 seconds 21.289

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

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