[
https://issues.apache.org/jira/browse/KAFKA-4527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15775514#comment-15775514
]
ASF GitHub Bot commented on KAFKA-4527:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/kafka/pull/2277
> Transient failure of ConnectDistributedTest.test_pause_and_resume_sink where
> paused connector produces messages
> ---------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-4527
> URL: https://issues.apache.org/jira/browse/KAFKA-4527
> Project: Kafka
> Issue Type: Bug
> Components: KafkaConnect, system tests
> Reporter: Ewen Cheslack-Postava
> Assignee: Shikhar Bhushan
> Labels: system-test-failure, system-tests
> Fix For: 0.10.2.0
>
>
> {quote}
> ====================================================================================================
> test_id:
> kafkatest.tests.connect.connect_distributed_test.ConnectDistributedTest.test_pause_and_resume_sink
> status: FAIL
> run time: 40.164 seconds
> Paused sink connector should not consume any messages
> Traceback (most recent call last):
> File
> "/var/lib/jenkins/workspace/system-test-kafka/kafka/venv/local/lib/python2.7/site-packages/ducktape-0.6.0-py2.7.egg/ducktape/tests/runner_client.py",
> line 123, in run
> data = self.run_test()
> File
> "/var/lib/jenkins/workspace/system-test-kafka/kafka/venv/local/lib/python2.7/site-packages/ducktape-0.6.0-py2.7.egg/ducktape/tests/runner_client.py",
> line 176, in run_test
> return self.test_context.function(self.test)
> File
> "/var/lib/jenkins/workspace/system-test-kafka/kafka/tests/kafkatest/tests/connect/connect_distributed_test.py",
> line 257, in test_pause_and_resume_sink
> assert num_messages == len(self.sink.received_messages()), "Paused sink
> connector should not consume any messages"
> AssertionError: Paused sink connector should not consume any messages
> {quote}
> See one case here:
> http://confluent-kafka-system-test-results.s3-us-west-2.amazonaws.com/2016-12-12--001.1481535295--apache--trunk--62e043a/report.html
> but it has also happened before, e.g.
> http://confluent-kafka-system-test-results.s3-us-west-2.amazonaws.com/2016-12-06--001.1481017508--apache--trunk--34aa538/report.html
> Thinking about the test, one simple possibility is that our approach to get
> the number of messages produced/consumed during the test is flawed -- I think
> we may not account for additional buffering between the connectors and the
> process reading their output to determine what they have produced. However,
> that's just a theory -- the minimal checking on the logs that I did didn't
> reveal anything obviously wrong.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)