[ 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:55 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} 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: ``` {color:#1d1c1d}Module: kafkatest.tests.client.quota_test Class: QuotaTest Method: test_quota Arguments: \{ "old_client_throttling_behavior": true, "quota_type": "client-id" }{color} ``` 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)