Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F3B6B200D14 for ; Tue, 19 Sep 2017 01:32:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F25B11609DE; Mon, 18 Sep 2017 23:32:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 439CA1609DB for ; Tue, 19 Sep 2017 01:32:07 +0200 (CEST) Received: (qmail 10874 invoked by uid 500); 18 Sep 2017 23:32:06 -0000 Mailing-List: contact jira-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@kafka.apache.org Delivered-To: mailing list jira@kafka.apache.org Received: (qmail 10861 invoked by uid 99); 18 Sep 2017 23:32:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2017 23:32:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DCA01182CE2 for ; Mon, 18 Sep 2017 23:32:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id PdNsUuAlQcBA for ; Mon, 18 Sep 2017 23:32:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5674C5F3FE for ; Mon, 18 Sep 2017 23:32:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C1ADFE0ED3 for ; Mon, 18 Sep 2017 23:32:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4655124157 for ; Mon, 18 Sep 2017 23:32:01 +0000 (UTC) Date: Mon, 18 Sep 2017 23:32:01 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: jira@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-5893) ResetIntegrationTest fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 18 Sep 2017 23:32:08 -0000 [ https://issues.apache.org/jira/browse/KAFKA-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16170896#comment-16170896 ] ASF GitHub Bot commented on KAFKA-5893: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/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)