Project Number Date
test_Tails_ISO_devel 3528 02 Oct 2024, 20:56

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 92.592% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.824
After features/support/hooks.rb:100 0.000
49.112
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.185
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 14.704
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.105
Then patterns cover at least 128 MiB in the guest's memory 2.921

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

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

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

After features/support/hooks.rb:326 3.469
After features/support/hooks.rb:100 0.000
7:33.553
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:47.011
And I prepare Tails for memory erasure tests 0.783
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.556
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 21.187

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

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