lbradstreet opened a new pull request, #12202:
URL: https://github.com/apache/kafka/pull/12202

   When running system tests with JDK 10+, we hit the following error because 
util.py attempts to check the version variable for non-Kafka service objects.
   
   ```
   [INFO:2022-05-23 18:43:04,741]: RunnerClient: 
kafkatest.tests.connect.connect_test.ConnectStandaloneFileTest.test_file_source_and_sink.security_protocol=SASL_SSL.metadata_quorum=REMOTE_KRAFT:
 on run 1/1
   [INFO:2022-05-23 18:43:04,775]: RunnerClient: 
kafkatest.tests.connect.connect_test.ConnectStandaloneFileTest.test_file_source_and_sink.security_protocol=SASL_SSL.metadata_quorum=REMOTE_KRAFT:
 Setting up...
   [INFO:2022-05-23 18:43:04,792]: RunnerClient: 
kafkatest.tests.connect.connect_test.ConnectStandaloneFileTest.test_file_source_and_sink.security_protocol=SASL_SSL.metadata_quorum=REMOTE_KRAFT:
 Running...
   [INFO:2022-05-23 18:43:53,154]: RunnerClient: 
kafkatest.tests.connect.connect_test.ConnectStandaloneFileTest.test_file_source_and_sink.security_protocol=SASL_SSL.metadata_quorum=REMOTE_KRAFT:
 FAIL: AttributeError("'ClusterNode' object has no attribute 'version'")
   Traceback (most recent call last):
     File 
"/home/jenkins/workspace/system-test-ce-kafka-branch-builder-lucas/kafka/venv/lib/python3.7/site-packages/ducktape/tests/runner_client.py",
 line 175, in _do_run
       data = self.run_test()
     File 
"/home/jenkins/workspace/system-test-ce-kafka-branch-builder-lucas/kafka/venv/lib/python3.7/site-packages/ducktape/tests/runner_client.py",
 line 257, in run_test
       return self.test_context.function(self.test)
     File 
"/home/jenkins/workspace/system-test-ce-kafka-branch-builder-lucas/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-ce-kafka-branch-builder-lucas/kafka/tests/kafkatest/tests/connect/connect_test.py",
 line 109, in test_file_source_and_sink
       self.source.start()
     File 
"/home/jenkins/workspace/system-test-ce-kafka-branch-builder-lucas/kafka/tests/kafkatest/services/connect.py",
 line 123, in start
       super(ConnectServiceBase, self).start()
     File 
"/home/jenkins/workspace/system-test-ce-kafka-branch-builder-lucas/kafka/venv/lib/python3.7/site-packages/ducktape/services/service.py",
 line 265, in start
       self.start_node(node, **kwargs)
     File 
"/home/jenkins/workspace/system-test-ce-kafka-branch-builder-lucas/kafka/tests/kafkatest/services/connect.py",
 line 332, in start_node
       self.start_and_wait_to_start_listening(node, 'standalone', 
remote_connector_configs)
     File 
"/home/jenkins/workspace/system-test-ce-kafka-branch-builder-lucas/kafka/tests/kafkatest/services/connect.py",
 line 138, in start_and_wait_to_start_listening
       self.start_and_return_immediately(node, worker_type, 
remote_connector_configs)
     File 
"/home/jenkins/workspace/system-test-ce-kafka-branch-builder-lucas/kafka/tests/kafkatest/services/connect.py",
 line 126, in start_and_return_immediately
       cmd = self.start_cmd(node, remote_connector_configs)
     File 
"/home/jenkins/workspace/system-test-ce-kafka-branch-builder-lucas/kafka/tests/kafkatest/services/connect.py",
 line 300, in start_cmd
       cmd += fix_opts_for_new_jvm(node)
     File 
"/home/jenkins/workspace/system-test-ce-kafka-branch-builder-lucas/kafka/tests/kafkatest/services/kafka/util.py",
 line 36, in fix_opts_for_new_jvm
       if node.version == LATEST_0_8_2 or node.version == LATEST_0_9 or 
node.version == LATEST_0_10_0 or node.version == LATEST_0_10_1 or node.version 
== LATEST_0_10_2 or node.version == LATEST_0_11_0 or node.version == LATEST_1_0:
   AttributeError: 'ClusterNode' object has no attribute 'version'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to