[ https://issues.apache.org/jira/browse/KAFKA-7560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dong Lin updated KAFKA-7560: ---------------------------- Description: Currently metricValue 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 was: 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 > PushHttpMetricsReporter should not convert metric value to double > ----------------------------------------------------------------- > > 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 > > Currently metricValue > > 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)