-
-
Notifications
You must be signed in to change notification settings - Fork 69
JLM tests incorrectly assuming connected process has terminated #402
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
Comments
Created PR #403. Output at the time the test fails now provides full details of the exception thrown - from a test run of the PR:
|
This should help provide information to resolve eclipse-openj9/openj9#7397, eclipse-openj9/openj9#9046 |
@lumpfish Which host was that on? |
@sxa - sorry, I didn't note which machine, I can only say it was aarch64_linux. Just getting the extra diagnostics was all I was concentrating on at the time. |
Fixed by #403 |
The JLM tests fail intermittently with output similar to:
We see the message
Exiting as JVM we are connected to has finished
, but laterProcess LT1 is still running as expected
(LT1
is the connected JVM process). The stdout / stderr for the process does not contain any error messages - everything looks normal up to the point the process is killed.The test code where the failure message is output is:
So it looks like either a ConnectException or UnmarshalException was thrown, and this is interpreted as meaning the connected process is no longer running, which is incorrect in this case.
The code should be more explicit about which exception is thrown and output a stack trace to aid investigation.
The text was updated successfully, but these errors were encountered: