You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the PR did not change any Kafka code or dependencies and the build passed when it was run a second time, so it's possible this is an unreliable test. The error message is:
[INFO] Running zipkin2.finagle.kafka.KafkaZipkinTracerTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in zipkin2.finagle.kafka.KafkaZipkinTracerTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] KafkaZipkinTracerIntegrationTest.whenKafkaIsDown:98
Expecting:
<{WrappedArray(span_bytes)=185L, List(messages_dropped, java.lang.IllegalStateException)=1L, WrappedArray(spans)=1L, WrappedArray(spans_dropped)=1L, WrappedArray(message_bytes)=187L, WrappedArray(messages)=1L, List(messages_dropped)=2L, List(messages_dropped, org.apache.kafka.common.errors.TimeoutException)=1L}>
to contain only:
<[MapEntry[key=Buffer(spans), value=1L],
MapEntry[key=Buffer(span_bytes), value=185L],
MapEntry[key=Buffer(spans_dropped), value=1L],
MapEntry[key=Buffer(messages), value=1L],
MapEntry[key=Buffer(message_bytes), value=187L],
MapEntry[key=Buffer(messages_dropped), value=1L],
MapEntry[key=Buffer(messages_dropped, org.apache.kafka.common.errors.TimeoutException), value=1L]]>
elements not found:
<[MapEntry[key=Buffer(messages_dropped), value=1L]]>
and elements not expected:
<[MapEntry[key=List(messages_dropped, java.lang.IllegalStateException), value=1L],
MapEntry[key=List(messages_dropped), value=2L]]>
The kafka module failed to build before the http module started, so it's unlikely that some state teardown was missed in the new code:
but the double-drop count is interesting.. I think failsafe isn't setup correct. Probably we should rename things *IntegrationTest to IT* and fix the parent pom to include
Right now, the failsafe config seems to be there, but unused! Mind giving a go?
So two parts to your request - one is sorting out Failsafe and the other is getting to the root cause of the flakey test. I'm happy to take a look at both.
Do you think this blocks the release of #80 in the meantime, given the functionality is unrelated?
Issue Description
The Travis build for #80 failed on the test
KafkaZipkinTracerTest.whenKafkaIsDown
: https://travis-ci.org/github/openzipkin/zipkin-finagle/builds/659274432.However, the PR did not change any Kafka code or dependencies and the build passed when it was run a second time, so it's possible this is an unreliable test. The error message is:
The kafka module failed to build before the http module started, so it's unlikely that some state teardown was missed in the new code:
Steps to recreate
The steps to recreate the issue are to run the build via Maven as per the Travis configuration:
However, I ran this on a loop locally and did not see the same issue after tens of runs.
The text was updated successfully, but these errors were encountered: