-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Account for AddressFamily pairs in NameResolution telemetry #56614
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsIn #56208 I changed Type check for those as well (same as we do in elsewhere). runtime/src/libraries/System.Net.NameResolution/src/System/Net/Dns.cs Lines 597 to 600 in 38071bf
|
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Do we need another test? |
BTW: It is super-weird that it failed on @MihaZupan PR (which introduced the problem), but all checks there were green:
The other problem is that this 100% Outerloop problem was in the product unnoticed for 3 days -- the PR which introduced it was merged #56208 (comment) on 7/26 @ 21:03 GMT+2 ... yet we noticed it only today around 7/30 @ 11 GMT+2 by accident on another Networking PR which ran Outerloop.
cc @dotnet/dncenghot I will start email thread to see what we can do about these things longer-term |
The telemetry tests do exercise all overloads, so the assert should be hit in every outerloop run as Karel noted. It's just unfortunate it took this long to spot it. |
@karelz You can see the results of the previous run (that completed) here: https://github.com/dotnet/runtime/runs/3144425881 (when you look at the checks tab it shows results from all commits in a drop-down. What happened here was completely by design on the AzDO side. When the new commit was pushed, a couple things happen:
Note that even if the runs continued and completed, they would not show up in the GitHub Checks (unless you dig through the history). This is because Github checks are associated with the source sha, and the head source sha of the PR changed on the new push. The previous results are not included because they aren't the same code. So what really needed to happen in this case would be for the outerloop run to re-launch on the new sha. Today, as far as I know, there is no way to do that in an automated fashion. Without that, the run could have been re-requested after the push. |
In #56208 I changed
BeforeResolution
to take an object instead ofstring
/IPAddress
, but the value we feed it fromRunAsync
could also beKeyValuePair<string, AddressFamily>
orKeyValuePair<IPAddress, AddressFamily>
.Type check for those as well (same as we do elsewhere).
runtime/src/libraries/System.Net.NameResolution/src/System/Net/Dns.cs
Lines 597 to 600 in 38071bf