Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KafkaConnectorTests heisenbug #3523

Open
chetanmeh opened this issue Apr 4, 2018 · 3 comments
Open

KafkaConnectorTests heisenbug #3523

chetanmeh opened this issue Apr 4, 2018 · 3 comments

Comments

@chetanmeh
Copy link
Member

Following failure was seen on travis

Kafka connector should send and receive a kafka message even after session timeout 
org.scalatest.exceptions.TestFailedException: 1 was not equal to 3

at org.scalatest.MatchersHelper$.indicateFailure(MatchersHelper.scala:340)
at org.scalatest.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:6864)
at services.KafkaConnectorTests$$anonfun$2.apply$mcV$sp(KafkaConnectorTests.scala:136)
at services.KafkaConnectorTests$$anonfun$2.apply(KafkaConnectorTests.scala:120)
at services.KafkaConnectorTests$$anonfun$2.apply(KafkaConnectorTests.scala:120)

Test output

Send message to topic.
Successfully sent message to topic: KafkaConnectorTestTopic-0@5
Receiving message from topic.
Received 1. Took 6 msec: List(Wed Apr 04 06:21:59 UTC 2018)
Send message to topic.
Successfully sent message to topic: KafkaConnectorTestTopic-0@6
Receiving message from topic.
Received 1. Took 5 msec: List(Wed Apr 04 06:21:59 UTC 2018)
Send message to topic.
Successfully sent message to topic: KafkaConnectorTestTopic-0@7
Receiving message from topic.
Received 2. Took 17 msec: List(Wed Apr 04 06:21:59 UTC 2018, Wed Apr 04 06:22:10 UTC 2018)
Send message to topic.
Successfully sent message to topic: KafkaConnectorTestTopic-0@8
Receiving message from topic.
Received 2. Took 13 msec: List(Wed Apr 04 06:21:59 UTC 2018, Wed Apr 04 06:22:10 UTC 2018)
Send message to topic.
Successfully sent message to topic: KafkaConnectorTestTopic-0@9
Receiving message from topic.
Received 1. Took 4 msec: List(Wed Apr 04 06:22:21 UTC 2018)

See in

@chetanmeh
Copy link
Member Author

chetanmeh commented Apr 6, 2018

https://scans.gradle.com/s/kjbvfxcbw3j7y/tests
https://travis-ci.org/chetanmeh/incubator-openwhisk/builds/363019106

Here failure was due to timeout

java.util.concurrent.TimeoutException: Futures timed out after [20 seconds]Close stacktrace
at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:223)
at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:227)
at scala.concurrent.Await$$anonfun$result$1.apply(package.scala:190)
at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
at scala.concurrent.Await$.result(package.scala:190)
at services.KafkaConnectorTests$$anonfun$sendAndReceiveMessage$1.apply(KafkaConnectorTests.scala:94)

@csantanapr
Copy link
Member

Test is starting to failing again
https://travis-ci.org/apache/incubator-openwhisk/jobs/379018740#L5021

services.KafkaConnectorTests > Kafka connector should send and receive a kafka message even after session timeout FAILED
    org.scalatest.exceptions.TestFailedException: 1 was not equal to 2
        at org.scalatest.MatchersHelper$.indicateFailure(MatchersHelper.scala:340)
        at org.scalatest.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:6864)

@chetanmeh
Copy link
Member Author

Another failure seen at https://scans.gradle.com/s/6sfxa7kccvlji/tests/xaqugzlgs2zw6-6k6x5jmp5qe2c due to same reason as one above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants