You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/01 06:37:00 UTC

[jira] [Commented] (KAFKA-9573) TestUpgrade system test failed on Java11.

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

ASF GitHub Bot commented on KAFKA-9573:
---------------------------------------

nizhikov commented on pull request #8197: KAFKA-9573: Fix java code to run `upgrade_test.py` tests for the versions before 0.11.0.0.
URL: https://github.com/apache/kafka/pull/8197
 
 
   This PR is the part of https://github.com/apache/kafka/pull/8138 
   It contains changes in the java code to fix `upgrade_test.py` for the versions before 0.11.0.0
   0.11.0.0 introduced `Exit` class. The earlier version doesn't have it.
   
   ### 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:
users@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)