Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 32 22 Aug 2024, 16:19

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 106.116% (97 MiB out of 91 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 5.584

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

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

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

When I trigger shutdown 0.042
Then I find very few patterns in the guest's memory after 20 seconds 20.724

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

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

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

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