Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-17235

system test test_performance_service.py failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • system tests
    • None

    Description

      After run

      TC_PATHS="tests/kafkatest/sanity_checks/test_performance_services.py" bash tests/docker/run_tests.sh
      

      There are three failed test cases:
      kafkatest.sanity_checks.test_performance_services.PerformanceServiceTest.test_version.version=0.8.2.2.new_consumer=False
      kafkatest.sanity_checks.test_performance_services.PerformanceServiceTest.test_version.version=0.9.0.1
      kafkatest.sanity_checks.test_performance_services.PerformanceServiceTest.test_version.version=0.9.0.1.new_consumer=False

      And in each failed test case, in producer_performance.stderr I saw error

      Exception in thread "main" java.lang.NoSuchFieldError: SYSTEM
      	at org.apache.kafka.tools.PushHttpMetricsReporter.<init>(PushHttpMetricsReporter.java:99)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at java.lang.Class.newInstance(Class.java:442)
      	at org.apache.kafka.common.utils.Utils.newInstance(Utils.java:231)
      	at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstances(AbstractConfig.java:156)
      	at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:168)
      	at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:129)
      	at org.apache.kafka.tools.ProducerPerformance.createKafkaProducer(ProducerPerformance.java:175)
      	at org.apache.kafka.tools.ProducerPerformance.start(ProducerPerformance.java:86)
      	at org.apache.kafka.tools.ProducerPerformance.main(ProducerPerformance.java:52)

      Attachments

        1. 2024-08-01--001.zip
          1.84 MB
          Kuan Po Tseng

        Issue Links

          Activity

            People

              brandboat Kuan Po Tseng
              brandboat Kuan Po Tseng
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: