Repository navigation
Fix fd leak in Diagnostics Server and add better error handling - #39129
Conversation
|
Got one all green CI, but I'm going to run it again before marking for review. I noticed that the clean environment check in |
|
/azp run runtime |
|
Azure Pipelines successfully started running 1 pipeline(s). |
019c159 to
96f4b8d
Compare
|
Rebasing again to try and fix CI issues. They all appear to be unrelated to these changes, but they're preventing the pri0 tests from running on this PR. I think this change should go in for preview 8 snap this afternoon. There are a few previously clean CI runs in case we run up against the time limit. |
96f4b8d to
3cefc2c
Compare
|
CoreCLR Pri0 Runtime Tests Run OSX x64 checked passed all tracing tests. Failure is a timeout in crossgen determinism. I believe this to be unrelated to these changes. |
|
Remaining failures appear to be coming from |
| </ExcludeList> | ||
| <ExcludeList Include = "$(XunitTestBinBase)/tracing/eventpipe/pauseonstart/pauseonstart/**"> | ||
| <Issue>https://github.com/dotnet/runtime/issues/38847</Issue> | ||
| </ExcludeList> |
There was a problem hiding this comment.
This test is still failing
There was a problem hiding this comment.
The failure in your PR was fixed in #39686. If you rebase it should resolve those.
Port of dotnet#39129.
The Diagnostics Server would call
socketevery time it attempted to connect to a reverse connection, but wouldn't callcloseon that fd if the subsequentconnectfailed. I believe this is what was causing test failures in CI (#38156).I have temporarily turned on these tests and moved them all back to Pri0 to test while this is in draft mode.Turns reverse server testing back on.
I also increased the error handling for
GetNextAvailableStream.fixes #38156
CC @tommcdon @lateralusX @janvorli @BruceForstall @jashook @noahfalk @sywhang