[
https://issues.apache.org/jira/browse/KAFKA-16949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17902767#comment-17902767
]
Chia-Ping Tsai commented on KAFKA-16949:
----------------------------------------
I have filed https://issues.apache.org/jira/browse/KAFKA-18145 to fix it. The
root cause is the log4j properties in e2e only display the root and
org.reflections. Unfortunately, we remove the org.reflections from production
code, and hence there is only one logger in run e2e test.
The simple approach is to add a client logger to the log4j property.
I will close this jira as duplicate
> System test test_dynamic_logging in connect_distributed_test is failing
> -----------------------------------------------------------------------
>
> Key: KAFKA-16949
> URL: https://issues.apache.org/jira/browse/KAFKA-16949
> Project: Kafka
> Issue Type: Bug
> Components: connect
> Reporter: Sagar Rao
> Assignee: Sagar Rao
> Priority: Major
> Fix For: 3.9.1
>
>
> Noticed that the system test `test_dynamic_logging` in
> `connect_distributed_test` is failing with the following error:
>
> {code:java}
> [INFO - 2024-05-08 21:11:06,638 - runner_client - log - lineno:310]:
> RunnerClient:
> kafkatest.tests.connect.connect_distributed_test.ConnectDistributedTest.test_dynamic_logging:
> FAIL: AssertionError()
> Traceback (most recent call last):
> File
> "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/venv/lib/python3.7/site-packages/ducktape/tests/runner_client.py",
> line 184, in _do_run
> data = self.run_test()
> File
> "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/venv/lib/python3.7/site-packages/ducktape/tests/runner_client.py",
> line 262, in run_test
> return self.test_context.function(self.test)
> File
> "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/tests/kafkatest/tests/connect/connect_distributed_test.py",
> line 500, in test_dynamic_logging
> assert self._loggers_are_set(new_level, request_time, namespace,
> workers=[worker])
> AssertionError {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)