-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Fix IPv6Address parsing #37734
Fix IPv6Address parsing #37734
Conversation
karelz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't port all files. Why?
karelz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, it seems that some of the files changed since the previous release, right?
Co-Authored-By: Karel Zikmund <[email protected]>
|
@karelz yes, |
stephentoub
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine, but there are a bunch of related test failures.
|
There's several instances of this one |
|
There are some other tests that fail with this same expectation, like |
|
These same tests are passing in 2.1 with the original change, so I've either ported something wrong here, or missed somewhere where we need an additional change. Many of the failing tests are due to #37734 (comment), I'm still trying to figure out what I've missed. |
|
That last commit cleaned up most of the failures, but some remain:
These test cases were added with this PR: https://github.com/dotnet/corefx/pull/37734/files#diff-f104ad3dd5c6bd9bf51bc59fdc6b1440R349 |
|
This test was added in this PR: https://github.com/dotnet/corefx/pull/37734/files#diff-a12b4b6e04e89f4ef9e929180d64ee90R324. Strange that this was the only test case that failed, while other similar cases ( |
|
Some catastrophic infra failures on
@MattGal is this a known issue? I'm seeing the same on some |
|
@wtgodbe yes this is https://github.com/dotnet/core-eng/issues/6327. Basically the docker daemon can sometimes (all the time?) take a while to start after boot, and while I've done a bunch of useful stuff I also need to update the scripts to wait til the daemon is ready before we start doing work. If you have Kusto access, you can see this for work items from your run by using a query like this: ... where we note only a single 999 failure on this run, as the first work item. |
|
Also an infra failure on
|
|
I'm seeing a pattern of test failures only occuring on |
|
@wtgodbe scroll up, you're right that post-Python3 transition there are weird bugs we need to iron out in the error code paths, but the reason you're hitting these bugs is you're in an error code path. This is an xunit test failing from crashing with STATUS_STACK_BUFFER_OVERRUN and should be investigated: -1073740791 = 0xc0000409 = STATUS_STACK_BUFFER_OVERRUN |
|
@davidsh I remember now why I removed corefx/src/System.Private.Uri/src/System.Private.Uri.csproj Lines 24 to 26 in 88f4967
|
Yes. This is probably due to the previous refactoring of this class by a preview PR. |
|
Thanks to @davidsh for identifying the issue here - the RS5 queue is actually running netfx tests, so many of the failures there are due to that RS5 machine not being patched. The failures from #37734 (comment) are because that test case expects an inner exception to be thrown, which isn't the behavior on Framework. Fixing up the test cases now. |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s), but failed to run 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s), but failed to run 2 pipeline(s). |
|
/azp run corefx-outerloop |
|
No pipelines are associated with this pull request. |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s), but failed to run 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s), but failed to run 2 pipeline(s). |
Weird... can't imagine why this would start failing just now. Looking into it. |
|
Failures are unrelated, #38077 should resolve (but we need to wait for that to go in anyways, since we need to see the netfx tests pass) |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s), but failed to run 1 pipeline(s). |
|
outerloop test failures are unrelated, merging |
* Fix IPv6Address parsing * Update src/System.Net.Primitives/src/System/Net/IPAddressParser.cs Co-Authored-By: Karel Zikmund <[email protected]> * Use System.Diagnostics, Remove duplicate function, fix method header in Fake * Fix deletion of call to Parse() * Fix call to Parse() * Fix tests to account for NetFx runs * Fix Syntax Commit migrated from dotnet/corefx@f8c382f
Ports 4006e52 & 6fdf8be.
@karelz @davidsh @wfurt PTAL, especially at the changes to src/System.Private.Uri/src/System/IPv6AddressHelper.cs