Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 58 18 Dec 2024, 22:27

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.381
After features/support/hooks.rb:100 0.000
53.424
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.621
And I prepare Tails for memory erasure tests 0.454
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.079
Then I find very few patterns in the guest's memory 3.202

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

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

Pattern coverage: 90.874% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.543
After features/support/hooks.rb:100 0.000
7:34.076
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.554
And I prepare Tails for memory erasure tests 0.540
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.970
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.993

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

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