-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
System.Net.Http.Tests.WarningHeaderValueTest.GetWarningLength_DifferentInvalidScenarios_AllReturnZero failing in CI #85687
Comments
Tagging subscribers to this area: @dotnet/ncl Issue DetailsExample run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=259786&view=results Starting: System.Net.Http.Unit.Tests (parallel test collections = on, max threads = 4)
System.Net.Http.Tests.WarningHeaderValueTest.GetWarningLength_DifferentInvalidScenarios_AllReturnZero [FAIL]
Assert.Equal() Failure
Expected: 0
Actual: 11
Stack Trace:
/_/src/libraries/System.Net.Http/tests/UnitTests/Headers/WarningHeaderValueTest.cs(271,0): at System.Net.Http.Tests.WarningHeaderValueTest.CheckInvalidWarningViaLength(String input, Int32 startIndex)
/_/src/libraries/System.Net.Http/tests/UnitTests/Headers/WarningHeaderValueTest.cs(175,0): at System.Net.Http.Tests.WarningHeaderValueTest.GetWarningLength_DifferentInvalidScenarios_AllReturnZero()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Finished: System.Net.Http.Unit.Tests @tannergooding This looks like fallout from #85536, can you take a look? The miscompilation happens inside
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsExample run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=259786&view=results Starting: System.Net.Http.Unit.Tests (parallel test collections = on, max threads = 4)
System.Net.Http.Tests.WarningHeaderValueTest.GetWarningLength_DifferentInvalidScenarios_AllReturnZero [FAIL]
Assert.Equal() Failure
Expected: 0
Actual: 11
Stack Trace:
/_/src/libraries/System.Net.Http/tests/UnitTests/Headers/WarningHeaderValueTest.cs(271,0): at System.Net.Http.Tests.WarningHeaderValueTest.CheckInvalidWarningViaLength(String input, Int32 startIndex)
/_/src/libraries/System.Net.Http/tests/UnitTests/Headers/WarningHeaderValueTest.cs(175,0): at System.Net.Http.Tests.WarningHeaderValueTest.GetWarningLength_DifferentInvalidScenarios_AllReturnZero()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Finished: System.Net.Http.Unit.Tests @tannergooding This looks like fallout from #85536, can you take a look? The miscompilation happens inside
|
Fixed by #85714 |
Example run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=259786&view=results
win-x64 System.Net.Http.WinHttpHandler.Unit.Tests
Log: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-85323-merge-86f225c0d2434d34b0/System.Net.Http.Unit.Tests/3/console.80af5888.log?helixlogtype=result
@tannergooding This looks like fallout from #85536, can you take a look?
The miscompilation happens inside
System.Net.Http.Headers.WarningHeaderValue:TryReadCode(System.String,byref,byref)
: https://www.diffchecker.com/dZckckLw/Repros without stress too.
The text was updated successfully, but these errors were encountered: