Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 48 11 Dec 2024, 21:16

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.063
Then patterns cover at least 99% of the test FS size in the guest's memory 3.113

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.531
After features/support/hooks.rb:100 0.000
7:37.321
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:52.693
And I prepare Tails for memory erasure tests 0.585
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.717
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.312

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

After features/support/hooks.rb:326 3.560
After features/support/hooks.rb:100 0.013