Project Number Date
test_Tails_ISO_devel 3504 05 Sep 2024, 12:51

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.034
After features/support/hooks.rb:100 0.000
51.637
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 8.467
And I prepare Tails for memory erasure tests 1.177
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.340
Then I find very few patterns in the guest's memory 3.891

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

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

Pattern coverage: 86.328% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.710
After features/support/hooks.rb:100 0.000
8:10.144
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:25.712
And I prepare Tails for memory erasure tests 0.443
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.834
When I trigger shutdown 0.019
Then I find very few patterns in the guest's memory after 20 seconds 21.133

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

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