Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The process cannot access the file '...\NativeAOTFX\.def' because it is being used by another process. #95961

Closed
jkotas opened this issue Dec 13, 2023 · 2 comments · Fixed by #95962
Labels
area-Infrastructure-libraries blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab

Comments

@jkotas
Copy link
Member

jkotas commented Dec 13, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=497783
Build error leg or test failing: Build / windows-x64 Checked NativeAOT / Build Tests
Pull request: #95951

Error Message

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

{
  "ErrorMessage": "",
  "ErrorPattern": "Unhandled exception: System.IO.IOException: The process cannot access the file .*NativeAOTFX.* because it is being used by another process.",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=497783
Error message validated: Unhandled exception: System.IO.IOException: The process cannot access the file .*NativeAOTFX.* because it is being used by another process.
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 12/13/2023 1:58:59 PM UTC

Report

Build Definition Step Name Console log Pull Request
498036 dotnet/runtime Build Tests Log #93517
497783 dotnet/runtime Build Tests Log #95951

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 2 2
@jkotas jkotas added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Dec 13, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Dec 13, 2023
@ghost
Copy link

ghost commented Dec 13, 2023

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=497783
Build error leg or test failing: Build / windows-x64 Checked NativeAOT / Build Tests
Pull request: #95951

Error Message

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

{
  "ErrorMessage": "",
  "ErrorPattern": "Unhandled exception: System.IO.IOException: The process cannot access the file .* NativeAOTFX .* because it is being used by another process.",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Author: jkotas
Assignees: -
Labels:

area-Infrastructure-libraries, blocking-clean-ci, Known Build Error

Milestone: -

@jkotas
Copy link
Member Author

jkotas commented Dec 13, 2023

@mikem8361 This is build race condition that was likely exposed by exports file being created for all binaries after #95816.

jkotas added a commit to jkotas/runtime that referenced this issue Dec 13, 2023
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Dec 13, 2023
@ghost ghost removed in-pr There is an active PR which will close this issue when it is merged untriaged New issue has not been triaged by the area owner labels Dec 13, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-libraries blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant