-
Notifications
You must be signed in to change notification settings - Fork 738
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
Aborted pull request testing contains confusing message #981
Comments
The problem here is the jvm crashing, followed by the POST Jenkins actions which run after the build. This includes the PR plugin updating the PullRequest build status. Since only X tests ran, that is what the PR Plugin determines. I think we would have to make our test framework more robust or be able to recover from these crashes. The plugin cannot tell that the testing stopped early so it can only ananylze the test results that are there. Edit: |
I think there are two problems.
|
Note in this case the dump files are expected (not sure the test should be creating them because this is a lot of overhead, but currently it does). The problem is the testing suddenly stops, i.e. the VM suddenly exits while in the process of creating the expected dump files (#968). This doesn't seem to result in the running test failing, and the test summary (showing no failures) could be mistaken for a passing run, although overall the jenkins build failed. |
Marking this as high priority as it is negatively affecting PR and nightly builds. |
FYI @renfeiw I think there are a couple of things going on:
|
I believe the OOM which is occurring is intentionally caused by a test, see #968. The VM is exiting unexpectedly, which should not occur, but OpenJ9 doesn't yet have the diagnostics support to pursue the issue, although it is expected within a few weeks. Breaking up the tests suites may or may not help. Running the OOM test with -Xdump:none may or may not help. |
- Separate OutOfMemoryErrorTest from JCL_Test. - Add -Xdump:none to OutOfMemoryErrorTest (issue eclipse-openj9#981) Signed-off-by: Renfei Wang <renfeiw@ca.ibm.com>
- Separate OutOfMemoryErrorTest from JCL_Test. - Add -Xdump:none to OutOfMemoryErrorTest (issue eclipse-openj9#981) Signed-off-by: Renfei Wang <renfeiw@ca.ibm.com>
I think we should re-open this Issue. The problem described hasn't been resolved, only the current issue causing this problem may have been resolved. The PR testing could be aborted for other reasons, and the messages would still be confusing. |
Yes, this issue auto-closed, but since it is describing several problems it should not be closed or better yet, separate issues should be raised. |
TAP result or string (i.e., |
We can. I'm not sure what the |
We should definitely not be using JUnit numbers for the "Add test result one liner" value, as that is incorrect and the root cause of the confusion reported in this issue. |
One potential value of showing Junit results via the Junit plugin is that its a nicer GUI for developers to view the test results of the tests that produce that type of output (which is all the testng tests, all the openjdk regression tests, but doesn't include the cmdlinetester tests or any STF / SV tests, or JCK tests). |
- Remove JUnit and TestNG result publishing [ci skip] Issue eclipse-openj9#981 Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
|
You have to specify
|
ok, we should add that, however there were results. I guess the ghpr plugin doesn't recognise TAP? |
supposed to have been solved |
If ghprb-plugin#168 doesn't resolve it, I think we can/should just turn off that counter off to avoid confusion (as briefly discussed today). I believe all other parts of this issue have been addressed. Does anyone object to this issue being closed? I will plan to close it late tomorrow, if not. |
A recent PR build https://ci.eclipse.org/openj9/job/PullRequest-Sanity-JDK9-linux_ppc-64_cmprssptrs_le-OpenJ9/183/ shows |
Right, because the failed test only generated TAP output and the 'test results one-liner' is junit results. Which is one of the reasons why we should turn it off as Shelley suggested in the previous comment. |
@AdamBrousseau - can you remove the one-liner or show me where to do that? |
Done |
- Separate OutOfMemoryErrorTest from JCL_Test. - Add -Xdump:none to OutOfMemoryErrorTest (issue eclipse-openj9#981) Signed-off-by: Renfei Wang <renfeiw@ca.ibm.com>
@pshipton - please confirm that this issue can be close once you confirm that the confusing message is no longer present |
I'll have to see a failing PR build to be 100% sure, but a passing build no longer has a passed/failed summary at the end. I'll close this assuming the problem is resolved and reopen later if necessary. |
I found a failed PR build, and it also looked good. |
Looking at a problematic pull request build https://ci.eclipse.org/openj9/job/PullRequest-Sanity-linux_ppc-64_cmprssptrs_le/336/ (due to #968), it contains the following output. The problem here is the
Build finished. 1013 tests run, 351 skipped, 0 failed.
message which might be mistaken has having completed all the tests. Perhaps this can be improved.The text was updated successfully, but these errors were encountered: