[ https://issues.apache.org/jira/browse/KAFKA-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16170726#comment-16170726 ]
ASF GitHub Bot commented on KAFKA-5893: --------------------------------------- GitHub user mjsax opened a pull request: https://github.com/apache/kafka/pull/3893 KAFKA-5893: Preserve original System.out in PrintedTest You can merge this pull request into a Git repository by running: $ git pull https://github.com/mjsax/kafka kafka-5893-reset-integration-test Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3893.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3893 ---- ---- > ResetIntegrationTest fails > -------------------------- > > Key: KAFKA-5893 > URL: https://issues.apache.org/jira/browse/KAFKA-5893 > Project: Kafka > Issue Type: Bug > Components: streams, unit tests > Affects Versions: 0.11.0.0, 0.11.0.1 > Reporter: Matthias J. Sax > Assignee: Matthias J. Sax > > {noformat} > java.lang.AssertionError: expected:<0> but was:<1> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:834) > at org.junit.Assert.assertEquals(Assert.java:645) > at org.junit.Assert.assertEquals(Assert.java:631) > at > org.apache.kafka.streams.integration.ResetIntegrationTest.cleanGlobal(ResetIntegrationTest.java:363) > at > org.apache.kafka.streams.integration.ResetIntegrationTest.testReprocessingFromScratchAfterResetWithIntermediateUserTopic(ResetIntegrationTest.java:172) > {noformat} > One issue with debugging is, that we catch exceptions and print the exception > message that is {{null}}: > {noformat} > Standard Error > ERROR: null > ERROR: null > {noformat} > After printing the stack trace in case of failure, we got: > {noformat} > ERROR: java.lang.NullPointerException > java.lang.NullPointerException > at > kafka.tools.StreamsResetter.maybeResetInputAndSeekToEndIntermediateTopicOffsets(StreamsResetter.java:194) > at kafka.tools.StreamsResetter.run(StreamsResetter.java:121) > at > org.apache.kafka.streams.integration.ResetIntegrationTest.cleanGlobal(ResetIntegrationTest.java:362) > at > org.apache.kafka.streams.integration.ResetIntegrationTest.testReprocessingFromScratchAfterResetWithIntermediateUserTopic(ResetIntegrationTest.java:172) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)