Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 83 21 Jan 2025, 23:09

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

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

When I kill the allocating process 1.330
Then I find very few patterns in the guest's memory after 5 seconds 8.590

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 88.018% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 21.021

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

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

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

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