-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Bundle_extraction_is_reused intermittently fails with "text file is busy" #44657
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @agocke, @vitek-karas Issue Details
|
This failed again here:
|
The last thing we do on the executable before we call runtime/src/installer/managed/Microsoft.NET.HostModel/AppHost/HostWriter.cs Lines 175 to 177 in dbe5e2a
The Retry has logic to try 500 times (with a short sleep) and if it still fails - then throw. So unless something is really weird, then the I don't know Linux file system enough to be able to tell if the SetLastWriteTime even requires the file to be "non-busy" - if it can work on "busy" files, then the one we call which actually modifies the content of the file is this: runtime/src/installer/managed/Microsoft.NET.HostModel/AppHost/BinaryUtils.cs Lines 68 to 74 in dbe5e2a
This has usings around the right stuff - so it should close the file once it's done. |
Failed again here: |
I think some more info would be helpful. I'm going to try to run We'll also need to move this entire test into staging unfortunately -- it's too noisy to continue running in all PRs. |
There is a race condition somewhere in these tests which is causing dotnet#44657
* Disable apphost tests on Linux There is a race condition somewhere in these tests which is causing #44657 * Run disabled tests on staging pipeline * Fix yml indentation * Use continue on error on installer tests run * Pass down restore as well * Publish test results in global-build-job * Remove not needed parameter Co-authored-by: Santiago Fernandez Madero <[email protected]>
Closing, fixed by #45976 |
I don't know if @agocke once to bring those tests back from the staging pipeline to the main one? |
Yeah, let's keep it open. I do eventually want to get to the bottom of this. |
Reopening as this is on the runtime-staging pipeline. |
Failed in runtime 20210523.14 Failed test:
Error message:
|
Failed again in runtime 20210602.73 Failed test:
Error message:
|
@agocke we seem to be continuing to hit this (I think there is another issue as well) |
We moved the original stuff to the staging branch, must have missed it on alpine. @VSadov is seeing if he can succeed where I failed -- if we don't have any ideas we can move this one to staging as well. |
Duplicate of #53587 |
Runfo Tracking Issue: Bundle_extraction_is_reused intermittently fails with "text file is busy"
Build Result Summary
The text was updated successfully, but these errors were encountered: