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 2019/03/08 13:48:00 UTC

[jira] [Commented] (KAFKA-8070) System test ConsumerGroupCommandTest fails intermittently with SSL

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

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

rajinisivaram commented on pull request #6405: KAFKA-8070: Increase consumer startup timeout in system tests
URL: https://github.com/apache/kafka/pull/6405
 
 
   We currently use 10 seconds as the timeout for ConsoleConsumer process to be started in ConsumerGroupCommandTest. For tests using SSL, this requires SSL keystores to be created first and then the process is started. Looking at successful test runs, it typically takes between 5 and 7 seconds to start SSL-enabled consumer process. But there have been several test failures that show `Consumer was too slow to start` in tests using SSL. The logs from the last two failures in ConsumerGroupCommand test had consumers which successfully started with SSL, but took ~13 seconds to log their first message. Hence changing the timeout to 20 seconds in system tests that check for consumer start up.
   
   ### 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


> System test ConsumerGroupCommandTest fails intermittently with SSL
> ------------------------------------------------------------------
>
>                 Key: KAFKA-8070
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8070
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Rajini Sivaram
>            Assignee: Rajini Sivaram
>            Priority: Major
>             Fix For: 2.3.0, 2.2.1
>
>
> Same failure occurred in both ConsumerGroupCommandTest.test_describe_consumer_group and ConsumerGroupCommandTest.test_list_consumer_groups, both with SSL enabled. Looks like the consumer started up successfully in both cases, but took longer than the 10 second timeout.
> {noformat}
> Consumer was too slow to start
> Traceback (most recent call last):
>   File "/home/jenkins/workspace/system-test-kafka_2.2-WCMO537TEDQFHHUF4SVK33SPUR5AG4KSITCCNJIYFPKDZQWBEJOA/kafka/venv/local/lib/python2.7/site-packages/ducktape-0.7.5-py2.7.egg/ducktape/tests/runner_client.py", line 132, in run
>     data = self.run_test()
>   File "/home/jenkins/workspace/system-test-kafka_2.2-WCMO537TEDQFHHUF4SVK33SPUR5AG4KSITCCNJIYFPKDZQWBEJOA/kafka/venv/local/lib/python2.7/site-packages/ducktape-0.7.5-py2.7.egg/ducktape/tests/runner_client.py", line 189, in run_test
>     return self.test_context.function(self.test)
>   File "/home/jenkins/workspace/system-test-kafka_2.2-WCMO537TEDQFHHUF4SVK33SPUR5AG4KSITCCNJIYFPKDZQWBEJOA/kafka/venv/local/lib/python2.7/site-packages/ducktape-0.7.5-py2.7.egg/ducktape/mark/_mark.py", line 428, in wrapper
>     return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
>   File "/home/jenkins/workspace/system-test-kafka_2.2-WCMO537TEDQFHHUF4SVK33SPUR5AG4KSITCCNJIYFPKDZQWBEJOA/kafka/tests/kafkatest/tests/core/consumer_group_command_test.py", line 106, in test_describe_consumer_group
>     self.setup_and_verify(security_protocol, group="test-consumer-group")
>   File "/home/jenkins/workspace/system-test-kafka_2.2-WCMO537TEDQFHHUF4SVK33SPUR5AG4KSITCCNJIYFPKDZQWBEJOA/kafka/tests/kafkatest/tests/core/consumer_group_command_test.py", line 70, in setup_and_verify
>     timeout_sec=10, backoff_sec=.2, err_msg="Consumer was too slow to start")
>   File "/home/jenkins/workspace/system-test-kafka_2.2-WCMO537TEDQFHHUF4SVK33SPUR5AG4KSITCCNJIYFPKDZQWBEJOA/kafka/venv/local/lib/python2.7/site-packages/ducktape-0.7.5-py2.7.egg/ducktape/utils/util.py", line 41, in wait_until
>     raise TimeoutError(err_msg() if callable(err_msg) else err_msg)
> TimeoutError: Consumer was too slow to start
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)