-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[jitosr_stress_random] Failures in System.Text related tests #83959
Comments
Tagging subscribers to this area: @dotnet/area-system-text-encoding Issue DetailsThere seem to be widespread failures in System.Text related tests in the jitosr_stress_random runs: https://dev.azure.com/dnceng-public/public/_build/results?buildId=217773&view=results Example failure on windows-release-x64: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-heads-main-0dce5b8399ce429a95/System.Text.Encodings.Web.Tests/1/console.1cdfd228.log?helixlogtype=result Starting: System.Text.Encodings.Web.Tests (parallel test collections = on, max threads = 4)
System.Text.Encodings.Web.Tests.JavaScriptEncoderTests.JavaScriptEncode_Relaxed_StillEncodesForbiddenChars_Simple_Escaping [FAIL]
Assert.Equal() Failure
? (pos 2)
Expected: \b
Actual: \by
? (pos 2)
Stack Trace:
/_/src/libraries/System.Text.Encodings.Web/tests/JavaScriptEncoderTests.Relaxed.cs(75,0): at System.Text.Encodings.Web.Tests.JavaScriptEncoderTests.JavaScriptEncode_Relaxed_StillEncodesForbiddenChars_Simple(String input, String expected)
/_/src/libraries/System.Text.Encodings.Web/tests/JavaScriptEncoderTests.Relaxed.cs(56,0): at System.Text.Encodings.Web.Tests.JavaScriptEncoderTests.JavaScriptEncode_Relaxed_StillEncodesForbiddenChars_Simple_Escaping()
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) cc @AndyAyersMS
|
Probably from #83910 |
Can repro; about 1100 OSR methods created. Going to narrow this down by bisection via |
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsThere seem to be widespread failures in System.Text related tests in the jitosr_stress_random runs: https://dev.azure.com/dnceng-public/public/_build/results?buildId=217773&view=results Example failure on windows-release-x64: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-heads-main-0dce5b8399ce429a95/System.Text.Encodings.Web.Tests/1/console.1cdfd228.log?helixlogtype=result Starting: System.Text.Encodings.Web.Tests (parallel test collections = on, max threads = 4)
System.Text.Encodings.Web.Tests.JavaScriptEncoderTests.JavaScriptEncode_Relaxed_StillEncodesForbiddenChars_Simple_Escaping [FAIL]
Assert.Equal() Failure
? (pos 2)
Expected: \b
Actual: \by
? (pos 2)
Stack Trace:
/_/src/libraries/System.Text.Encodings.Web/tests/JavaScriptEncoderTests.Relaxed.cs(75,0): at System.Text.Encodings.Web.Tests.JavaScriptEncoderTests.JavaScriptEncode_Relaxed_StillEncodesForbiddenChars_Simple(String input, String expected)
/_/src/libraries/System.Text.Encodings.Web/tests/JavaScriptEncoderTests.Relaxed.cs(56,0): at System.Text.Encodings.Web.Tests.JavaScriptEncoderTests.JavaScriptEncode_Relaxed_StillEncodesForbiddenChars_Simple_Escaping()
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) cc @AndyAyersMS
|
Isolated one method where OSR causes problems:
Codegen diff between main and main before #83910.
|
Looks like small OSR locals that end up not getting allocated need to be normalize on load. We were getting this "for free" when we marked them as exposed. |
Change is simple. Reviewing diffs (which are a bit more extensive than I would have expected) and seeing if I can come up with a good regression test. |
When I changed the importation strategy for OSR in dotnet#83910 it exposed a latent issue -- small OSR locals must normalized on load. Fixes dotnet#83959.
There seem to be widespread failures in System.Text related tests in the jitosr_stress_random runs: https://dev.azure.com/dnceng-public/public/_build/results?buildId=217773&view=results
Example failure on windows-release-x64: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-heads-main-0dce5b8399ce429a95/System.Text.Encodings.Web.Tests/1/console.1cdfd228.log?helixlogtype=result
cc @AndyAyersMS
The text was updated successfully, but these errors were encountered: