[
https://issues.apache.org/jira/browse/KAFKA-16138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863000#comment-17863000
]
Josep Prat edited comment on KAFKA-16138 at 7/4/24 10:56 AM:
-------------------------------------------------------------
I'm able to run these locally with only one test failing:
{code:java}
Module: kafkatest.tests.client.quota_test Class: QuotaTest Method: test_quota
Arguments: { "old_client_throttling_behavior": true, "quota_type": "client-id"
}{code}
{noformat}
TimeoutError("Timed out waiting 600 seconds for service nodes to finish. These
nodes are still alive: ['ProducerPerformanceService-0-140018186168736 node 1 on
worker3']")
Traceback (most recent call last):
File
"/home/jlprat/projects/kafka/tests/venv39/lib64/python3.9/site-packages/ducktape-0.8.14-py3.9.egg/ducktape/tests/runner_client.py",
line 184, in _do_run
data = self.run_test()
File
"/home/jlprat/projects/kafka/tests/venv39/lib64/python3.9/site-packages/ducktape-0.8.14-py3.9.egg/ducktape/tests/runner_client.py",
line 262, in run_test
return self.test_context.function(self.test)
File
"/home/jlprat/projects/kafka/tests/venv39/lib64/python3.9/site-packages/ducktape-0.8.14-py3.9.egg/ducktape/mark/_mark.py",
line 433, in wrapper
return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
File
"/home/jlprat/projects/kafka/tests/kafkatest/tests/client/quota_test.py", line
157, in test_quota
producer.run()
File
"/home/jlprat/projects/kafka/tests/venv39/lib64/python3.9/site-packages/ducktape-0.8.14-py3.9.egg/ducktape/services/service.py",
line 345, in run
self.wait()
File
"/home/jlprat/projects/kafka/tests/venv39/lib64/python3.9/site-packages/ducktape-0.8.14-py3.9.egg/ducktape/services/background_thread.py",
line 72, in wait
super(BackgroundThreadService, self).wait(timeout_sec)
File
"/home/jlprat/projects/kafka/tests/venv39/lib64/python3.9/site-packages/ducktape-0.8.14-py3.9.egg/ducktape/services/service.py",
line 293, in wait
raise TimeoutError("Timed out waiting %s seconds for service nodes to
finish. " % str(timeout_sec)
ducktape.errors.TimeoutError: Timed out waiting 600 seconds for service nodes
to finish. These nodes are still alive:
['ProducerPerformanceService-0-140018186168736 node 1 on worker3']{noformat}
I'm using python 3.9.19 in case this is relevant.
was (Author: jlprat):
I'm able to run these locally with only one test failing:
{code:java}
Module: kafkatest.tests.client.quota_test Class: QuotaTest Method: test_quota
Arguments: { "old_client_throttling_behavior": true, "quota_type": "client-id"
}{code}
I'm using python 3.9.19 in case this is relevant.
> QuotaTest system test fails consistently in 3.7
> -----------------------------------------------
>
> Key: KAFKA-16138
> URL: https://issues.apache.org/jira/browse/KAFKA-16138
> Project: Kafka
> Issue Type: Test
> Affects Versions: 3.7.0, 3.8.0
> Reporter: Stanislav Kozlovski
> Priority: Major
>
> as mentioned in
> [https://hackmd.io/@hOneAGCrSmKSpL8VF-1HWQ/HyRgRJmta#kafkatesttestsclientquota_testQuotaTesttest_quotaArguments-%E2%80%9Coverride_quota%E2%80%9D-true-%E2%80%9Cquota_type%E2%80%9D-%E2%80%9Cuser%E2%80%9D,]
> the test fails consistently:
> {code:java}
> ValueError('max() arg is an empty sequence')
> 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/venv/lib/python3.7/site-packages/ducktape/mark/_mark.py",
> line 433, in wrapper
> return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
> File
> "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/tests/kafkatest/tests/client/quota_test.py",
> line 169, in test_quota
> success, msg = self.validate(self.kafka, producer, consumer)
> File
> "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/tests/kafkatest/tests/client/quota_test.py",
> line 197, in validate
> metric.value for k, metrics in producer.metrics(group='producer-metrics',
> name='outgoing-byte-rate', client_id=producer.client_id) for metric in metrics
> ValueError: max() arg is an empty sequence {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)