You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug, including details regarding any error messages, version, and platform.
We have an option to disable Java integration test: --with-java=0
If we use it, the following error is occurred:
$ archery docker run -e ARROW_INTEGRATION_JAVA=OFF conda-integration...Traceback (most recent call last): File "/opt/conda/envs/arrow/bin/archery", line 33, in <module> sys.exit(load_entry_point('archery', 'console_scripts', 'archery')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/arrow/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/arrow/lib/python3.11/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/opt/conda/envs/arrow/lib/python3.11/site-packages/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/arrow/lib/python3.11/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/arrow/lib/python3.11/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/arrow/dev/archery/archery/cli.py", line 833, in integration from .integration.runner import write_js_test_json, run_all_tests File "/arrow/dev/archery/archery/integration/runner.py", line 37, in <module> from .tester_java import JavaTester File "/arrow/dev/archery/archery/integration/tester_java.py", line 54, in <module> _arrow_version = load_version_from_pom() ^^^^^^^^^^^^^^^^^^^^^^^ File "/arrow/dev/archery/archery/integration/tester_java.py", line 37, in load_version_from_pom tree = ET.parse(os.path.join(ARROW_BUILD_ROOT, 'java', 'pom.xml')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/arrow/lib/python3.11/xml/etree/ElementTree.py", line 1219, in parse tree.parse(source, parser) File "/opt/conda/envs/arrow/lib/python3.11/xml/etree/ElementTree.py", line 570, in parse source = open(source, "rb") ^^^^^^^^^^^^^^^^^^FileNotFoundError: [Errno 2] No such file or directory: '/build/java/pom.xml'
Component(s)
Archery, Integration
The text was updated successfully, but these errors were encountered:
### Rationale for this change
Some testers such as `JavaTester` may raise an exception on import when the target implementation isn't built. It stops integration test unexpectedly.
### What changes are included in this PR?
Import testers only for enabled implementations.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #44300
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
Describe the bug, including details regarding any error messages, version, and platform.
We have an option to disable Java integration test:
--with-java=0
If we use it, the following error is occurred:
Component(s)
Archery, Integration
The text was updated successfully, but these errors were encountered: