-
Notifications
You must be signed in to change notification settings - Fork 98
[CI] Enable Java test in CI workflow #805
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
base: branch-25.06
Are you sure you want to change the base?
Conversation
@rhdong could you please put this PR into draft until you're ready for reviews? That'd reduce the notifications reviewers are getting, and help them understand when it's time to come review. |
Thanks for the reminder! I’ve marked the PR as draft now. |
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
/ok to test |
/ok to test |
/ok to test |
trap "EXITCODE=1" ERR | ||
set +e | ||
|
||
rapids-logger "Run Java build and tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this actually run tests requiring a GPU? If yes, can be changed so that only the PR & test workflows run tests?
If it doesn't run tests, then would be good update this line and also to switch the node type for the build workflow from gpu-l4-latest-1
to a CPU runner.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will run tests.
…ngs' into rhdong/java-ci
/ok to test |
@rhdong, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/ |
/ok to test 79a477e |
The reason for the Java build failure is that the script could not find |
@narangvivek10 @rhdong @cjnolet I've committed a fix [0] to download jextract automatically if not already installed. Reason for doing this is that jextract doesn't have a .deb or apt package for Ubuntu, and hence it the download of jextract needs to be scripted anyway. |
/ok to test 04f0bba |
@narangvivek10 The jextract process failed due to:
Any ideas where the cuda_runtime.h will be found? |
@rhdong We have attempted to find the CUDA_HOME diras: And then tried to add the $CUDA_HOME/include dir to the include paths. Any ideas if this was the problem and is there a better way? |
Also, I see the following:
I think this retrying is not necessary, and not correct either, since here the failure was in a step even before Maven is invoked (failure is in the |
@rhdong I've made the following changes:
I'm hoping it will make things work. Can you please merge that and retest here? |
Hi @chatman @narangvivek10 , The docker image is jextract-22/bin/jextract.ps1
jextract downloaded to /cuvs/java/jextract-22
common.h:21:10: error: 'dlpack/dlpack.h' file not found
fatal: Unexpected exception org.openjdk.jextract.clang.TypeLayoutError: Invalid. segment: org.openjdk.jextract.clang.Type@1c99c732, fieldName: addr occurred
Jextract encountered issues (returned value 5)
Bindings generation did not complete normally (returned value 5)
Forcing this build process to abort
RAPIDS logger » [04/24/25 20:26:13] |
Yeah, I agree, the main goal of the retry is to debug the issue of HNSW(has been resolved). The retry only happens when test fails. We can remove it at last. |
/ok to test cb5d1ba |
No description provided.