[ 
https://issues.apache.org/jira/browse/KAFKA-7560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676512#comment-16676512
 ] 

Dong Lin commented on KAFKA-7560:
---------------------------------

Initially I thought the test failure is related to quota logic in this test and 
thus I would be one of the best person to debug this test. Now it seems that 
the test failed because the test suite is not able to read metrics from 
producer using the solution developed in 
[https://github.com/apache/kafka/pull/4072.] More specifically, the log message 
shows that 50000 messages are successfully produced and consumed. But do_POST 
in http.py is never called and thus we have the exception shown in the Jira 
description. 

[~ewencp] [~apurva] could you have time to take a look since you are probably 
more familiar with the HTTP based approach of sending metrics here? I will also 
try to debug further.

> Client Quota - system test failure
> ----------------------------------
>
>                 Key: KAFKA-7560
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7560
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Stanislav Kozlovski
>            Assignee: Dong Lin
>            Priority: Blocker
>
> The test under `kafkatest.tests.client.quota_test.QuotaTest.test_quota` fails 
> when I run it locally. It produces the following error message:
> {code:java}
>  File "/opt/kafka-dev/tests/kafkatest/tests/client/quota_test.py", line 196, 
> 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}
> I assume it cannot find the metric it's searching for



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to