Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 52 13 Dec 2024, 23: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 11:38.906 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.
25.912
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.578
And I prepare Tails for memory erasure tests 0.491
When I start a process allocating 128 MiB of memory with a known pattern 2.557
Then patterns cover at least 128 MiB in the guest's memory 3.398

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.823
After features/support/hooks.rb:100 0.000
1:15.783
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.439
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.008
Then I find very few patterns in the guest's memory 2.407

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.518
After features/support/hooks.rb:100 0.000
7:44.770
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:58.817
And I prepare Tails for memory erasure tests 0.397
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.134
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.408

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

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