-
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
Test failure JIT\\Regression\\JitBlue\\GitHub_18362\\GitHub_18362\\GitHub_18362.cmd #81111
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsFailed in run: runtime-coreclr outerloop 20230122.3 Failed tests:
Error message:
Stack trace
|
Hi @jakobbotsch, it is blocking outerloop. PTAL. |
@JulieLeeMSFT JIT\Regression is not merged in main, so this particular helix job will not be impacted that way. Did you see something in JIT\Regression that made it seem like something is missing? Or do you think something might be happening with JIT\Methodical? Or is this just a general concern? |
Just a general question. @kunalspathak, I am wondering why these tests do not generate more detailed error messages related to why it failed. Is there anything we can do better to expose error messages? |
I think everything is there for this one from an infrastructure perspective. The log includes:
From the test - the failure is detected by the test code itself. Here it prints the message and throws an exception.
Here is the caller where the line number comes from
And then in the test Main the exception is converted to an exit code:
From the infrastructure's perspective, those three lines are all that really happen. Rewriting individual tests is an expensive undertaking, though theoretically more tracking / earlier assertions could be added. One somewhat more systematic thing we could do is convert to using xunit more than the "return 100" pattern. In this case, Main would become a [Fact] void function - then the harness could catch the Exception and perhaps automatically print a stack trace. Also, it eliminates some test boilerplate. (This could go a bit further and even remove Main and replace with a [Theory] [StaticData] combination on Conjugate itself - then we'd automatically get that "Conjugate 2.0 3.0" failed, but it wouldn't really add more information about the failure.) |
I cannot reproduce any of these on my win-arm32 machine. One interesting data point here is that these three tests are all testing floating point arithmetic and only seem to have failed in this particular test run. Given that the failures are win-arm32 (a non-shipping configuration) and isolated to this particular test run I'm going to unmark it as blocking. |
Haven't seen this since then, so will close it. |
Failed in run: runtime-coreclr outerloop 20230122.3
Failed tests:
Error message:
Stack trace
The text was updated successfully, but these errors were encountered: