[ https://issues.apache.org/jira/browse/KAFKA-9573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17040133#comment-17040133 ]
ASF GitHub Bot commented on KAFKA-9573: --------------------------------------- nizhikov commented on pull request #8138: KAFKA-9573: Fix JVM options to run early versions of Kafka on the latest JVMs URL: https://github.com/apache/kafka/pull/8138 Startup scripts for the early version of Kafka contain removed JVM options like `-XX:+PrintGCDateStamps` or `-XX:UseParNewGC`. When system tests run on JVM that doesn't support these options we should set up environment variables with correct options. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > TestUpgrade system test failed on Java11. > ----------------------------------------- > > Key: KAFKA-9573 > URL: https://issues.apache.org/jira/browse/KAFKA-9573 > Project: Kafka > Issue Type: Improvement > Reporter: Nikolay Izhikov > Assignee: Nikolay Izhikov > Priority: Major > > Test was runed on Jdk11 > Test result: > {noformat} > ==================================================================================================== > test_id: > kafkatest.tests.core.upgrade_test.TestUpgrade.test_upgrade.from_kafka_version=0.9.0.1.to_message_format_version=None.security_protocol=SASL_SSL.compression_types=.none > status: FAIL > run time: 1 minute 28.387 seconds > Kafka server didn't finish startup in 60 seconds > Traceback (most recent call last): > File > "/usr/local/lib/python2.7/dist-packages/ducktape/tests/runner_client.py", > line 132, in run > data = self.run_test() > File > "/usr/local/lib/python2.7/dist-packages/ducktape/tests/runner_client.py", > line 189, in run_test > return self.test_context.function(self.test) > File "/usr/local/lib/python2.7/dist-packages/ducktape/mark/_mark.py", line > 428, in wrapper > return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs) > File "/opt/kafka-dev/tests/kafkatest/tests/core/upgrade_test.py", line 133, > in test_upgrade > self.kafka.start() > File "/opt/kafka-dev/tests/kafkatest/services/kafka/kafka.py", line 242, in > start > Service.start(self) > File "/usr/local/lib/python2.7/dist-packages/ducktape/services/service.py", > line 234, in start > self.start_node(node) > File "/opt/kafka-dev/tests/kafkatest/services/kafka/kafka.py", line 357, in > start_node > err_msg="Kafka server didn't finish startup in %d seconds" % timeout_sec) > File > "/usr/local/lib/python2.7/dist-packages/ducktape/cluster/remoteaccount.py", > line 705, in wait_until > allow_fail=True) == 0, **kwargs) > File "/usr/local/lib/python2.7/dist-packages/ducktape/utils/util.py", line > 41, in wait_until > raise TimeoutError(err_msg() if callable(err_msg) else err_msg) > TimeoutError: Kafka server didn't finish startup in 60 seconds > {noformat} > Detailed output: > {noformat} > [0.001s][warning][gc] -Xloggc is deprecated. Will use > -Xlog:gc:/opt/kafka-0.9.0.1/bin/../logs/kafkaServer-gc.log instead. > Unrecognized VM option 'PrintGCDateStamps' > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > ~ > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)