apache / apache/arrow-cookbook
[Java][CI] Review Nightlies artifacts for new modules created
- Dominant language
- C++
- Stars
- 108
- Forks
- 49
- Avg merge
- 2h 14m
- Merged PRs (30d)
- 1
Description
Is needed to review artifacts at https://nightlies.apache.org/arrow/java/org/apache/arrow/ for new Java modules added:
- bom
- maven
- netty patch
There are some errors on the last two PRs: https://github.com/apache/arrow-cookbook/actions/runs/7736530630/job/21094038989?pr=339 and https://github.com/apache/arrow-cookbook/actions/runs/7736589113/job/21094193003?pr=341
````
Exception raised:
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/doctest.py", line 1334, in __run
exec(compile(example.source, filename, "single",
File "/home/runner/work/arrow-cookbook/arrow-cookbook/java/ext/javadoctest.py", line 51, in compile
subprocess.check_call(
File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['mvn', '-q', 'dependency:build-classpath', '-DincludeTypes=jar', '-Dmdep.outputFile=.cp.tmp', '-Darrow.version=16.0.0-SNAPSHOT']' returned non-zero exit status 1.
Error: Failed to execute goal on project demo: Could not resolve dependencies for project org.example:demo:jar:1.0-SNAPSHOT: org.apache.arrow:arrow-memory-netty-buffer-patch:jar:16.0.0-SNAPSHOT was not found in https://nightlies.apache.org/arrow/java during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of arrow-apache-nightlies has elapsed or updates are forced -> [Help 1]
Error:
Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: Re-run Maven using the -X switch to enable full debug logging.
````
Contributor guide
Research direction
Inspect the nightlies artifact directory for the bom, maven, and netty patch modules, then reproduce the failures from the linked workflow runs. Start with java/ext/javadoctest.py and the Maven dependency-resolution error for arrow-memory-netty-buffer-patch. Done means the expected artifacts resolve from the nightlies repository and the affected checks pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, java, python
- Domain
- build-system, ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100