-
Notifications
You must be signed in to change notification settings - Fork 729
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
aarch64 hang during test Create a non persistent cache #11177
Comments
The spec for waitFor() says "This method returns immediately if the process has already terminated.". Adding a timeout in the waitFor() allows the non-terminated process to keep running, or there is a bug related to waitFor() if the process is terminated and waitFor() isn't returning. We need to look at the machine and see what's going on. |
Also, we could fix getUnixPID() as then the test framework would attempt to attach to the running process with gdb and get a stack trace. Update: this was done in #11199 |
@0xdaryl I set it as a blocker because it was blocking the functional tests from completing at AdoptOpenJDK, potentially hiding other problems. Also consuming machine resources until the test times out, which may impact other testing. Feel free to adjust it as desired. |
Do we need this in the milestone plan? I'll remove it. |
This seems obsolete, closing. |
Testcases on various platforms hang periodically, see:
adoptium/infrastructure#1579 (comment)
adoptium/infrastructure#1579 (comment)
The console output:
From a bit of an examination of the above test framework code, I believe the hang is here as it uses no timeout on the wait:
https://github.com/eclipse/openj9/blob/efdb86514d722cf83747d9d8badc449fe6121658/test/functional/cmdline_options_tester/src/Test.java#L227
The above console output indicates the test had timed out and ProcessKiller logic kills the process here:
https://github.com/eclipse/openj9/blob/efdb86514d722cf83747d9d8badc449fe6121658/test/functional/cmdline_options_tester/src/Test.java#L565
So I suspect the proc.waitFor() above is waiting for a process that has already terminated.
Adding a timeout to this proc.waitFor() would at least alleviate the Adopt hang please...?
The text was updated successfully, but these errors were encountered: