[
https://issues.apache.org/jira/browse/KAFKA-20881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18100956#comment-18100956
]
Chia-Ping Tsai commented on KAFKA-20881:
----------------------------------------
{code:java}
[INFO:2026-08-01 02:42:04,894]: RunnerClient:
kafkatest.tests.connect.connect_rest_test.ConnectRestApiTest.test_rest_api.connect_protocol=compatible.metadata_quorum=ISOLATED_KRAFT:
FAIL: AssertionError()
Traceback (most recent call last):
File
"/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line
368, in _do_run
data = self.run_test()
File
"/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line
431, in run_test
return self.test_context.function(self.test)
File "/usr/local/lib/python3.10/dist-packages/ducktape/mark/_mark.py", line
446, in wrapper
return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
File "/opt/kafka-dev/tests/kafkatest/tests/connect/connect_rest_test.py",
line 103, in test_rest_api
assert set([connector_plugin['class'] for connector_plugin in
self.cc.list_connector_plugins()]).issuperset(
AssertionError
{code}
> System tests fail to load connect-file plugin due to javadoc.jar conflict
> -------------------------------------------------------------------------
>
> Key: KAFKA-20881
> URL: https://issues.apache.org/jira/browse/KAFKA-20881
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Major
>
> KAFKA-20032 makes the javadoc jar always be generated, so the following code
> used to search the connect-file jar does not work now.
> {code:py}
> def append_module_to_classpath(self, module):
> cwd = os.getcwd()
> relative_path = "/connect/" + module + "/build/libs/"
> local_dir = cwd + relative_path
> lib_dir = self.path.home() + relative_path
> for pwd, dirs, files in os.walk(local_dir):
> for file in files:
> if file.endswith(".jar"):
> # Use the expected directory on the node instead of the
> path in the driver node
> file_path = lib_dir + file
> self.logger.info("Appending %s to Connect worker's
> CLASSPATH" % file_path)
> return "export CLASSPATH=${CLASSPATH}:%s; " % file_path
> self.logger.info("Jar not found within %s" % local_dir)
> return ""
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)