Code coverage build fails to instrument file in use

Author: ericstjCreated Mar 12, 2025Updated Sep 19, 2026
Labelsblocking-clean-ciKnown Build Errorarea-Infrastructure

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=976256&view=logs&j=12b34f85-96db-5b04-05cf-faf2be278867 Build error leg or test failing: Windows_x64 / Windows_x64 Build_Debug / Run All Tests. Pull request: https://github.com/dotnet/machinelearning/pull/7414

Error Message

Fill the error message using step by step known issues guidance.

json
{
  "ErrorMessage": "",
  "ErrorPattern": ["Unable to instrument module", "The process cannot access the file .* because it is being used by another process."],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: Result validation: :x: There was a problem creating a known issue. Check the exception message and proceed accordingly: Invalid pattern ' The process cannot access the file .*\Microsoft.ML.TestFramework.pdb' because it is being used by another process.' at offset 40. Unrecognized escape sequence \\M. Validation performed at: 3/12/2025 1:10:33 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=976256 Error message validated: [ The process cannot access the file .*\\Microsoft.ML.TestFramework.pdb' because it is being used by another process.] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 3/12/2025 5:28:06 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=976256 Error message validated: [Unable to instrument module The process cannot access the file .* because it is being used by another process.] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 3/12/2025 5:30:54 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Report

Build Repository Step Name Console log Pull Request
1590415 dotnet/machinelearning Run All Tests. Log dotnet/machinelearning#7610
1589489 dotnet/machinelearning Run All Tests. Log dotnet/machinelearning#7704
1586786 dotnet/machinelearning Run All Tests. Log dotnet/machinelearning#7695
1585177 dotnet/machinelearning Run All Tests. Log dotnet/machinelearning#7694

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 4