Project Number Date
test_Tails_ISO_devel 3521 26 Sep 2024, 13:20

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 91.854% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.524
After features/support/hooks.rb:100 0.000
8:3.009
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:19.073
And I prepare Tails for memory erasure tests 0.436
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.204
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.282

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

After features/support/hooks.rb:326 3.514
After features/support/hooks.rb:100 0.025