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 47B45200CEF for ; Sun, 6 Aug 2017 03:06:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4437F164A26; Sun, 6 Aug 2017 01:06:56 +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 5DDA1164A24 for ; Sun, 6 Aug 2017 03:06:55 +0200 (CEST) Received: (qmail 41774 invoked by uid 500); 6 Aug 2017 01:06:54 -0000 Mailing-List: contact dev-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list dev@nifi.apache.org Received: (qmail 41761 invoked by uid 99); 6 Aug 2017 01:06:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Aug 2017 01:06:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B2DCDC3375 for ; Sun, 6 Aug 2017 01:06:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id LKh20TfPz9Xy for ; Sun, 6 Aug 2017 01:06:52 +0000 (UTC) Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7D4025F295 for ; Sun, 6 Aug 2017 01:06:51 +0000 (UTC) Received: by mail-oi0-f49.google.com with SMTP id d71so42134376oih.0 for ; Sat, 05 Aug 2017 18:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=yTresEik5s7UvGjuS3RqIFCQYY9Wn8bAD7XLLsskaKA=; b=JxFLNaznteetGHoiKZ4EQduMxZlIiMFnloRP9I1D0wH19yUCaMp0lvSeAuRecICDJ+ tZK1ZIyJ56Fcyma0OVM+gWQjfMYXaIZKEdlraf9JWqtfBodBH2lV1OAGAejszBIS6RET YUTiihc9ffaAzi2D7S1f7chnLA3SL/wxK/TUUZD5pthUIr1JyKcMS9jbr3lZkNP3j/cG kYGPlsDTFCpmFJBgsbsIF5P3JM/tZ9q9lGjXaxOt/JquVTbByORz5zTEVhMjbAj6Kkrk 05qwKsFhFnG9igFhKdSjHEuXEpG3pXjKTv6FnEXfP9rIVkvcV0/dX8DSNdtd/qXmFhbq NQ+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=yTresEik5s7UvGjuS3RqIFCQYY9Wn8bAD7XLLsskaKA=; b=R6qA/KUkc0sP2GhPn9Cdbxqnwix3J3o2hQYqKLZqyOjw9rZRJtWzD9/A8tVTWgwHVP GhfFvRCZq2M+wJ8pUld829UZbzFd6MjjWe7S2iSBVHXTe/2MR+gwV8UzEUv5k888b7CN teKPYIP6MwFyIcktS78H/fvNFxHSIb1UJ96Uq1ZX1lsQwO7zwIn7Uvn9fN9j77w1Uf4B SfiILfB+/y7saCRMhESw76XRqtpXLVZCVxlwz0t6woSOB3BejAmVLhEbPSUA857+Y479 Ui/I+ccnQB71Ds5TtKvSAgZsa85ZrPsLmQlPXFd28kk2O3Nf/dK2TY4dggI+yAxsclj/ W+2w== X-Gm-Message-State: AHYfb5goJqO6M4KSHidnBrWLRG89wNqm+bm8IrR+SloCuHhBF1r+b8Kd GDRLi2qIsQntB1Bo/3Astq8dKDPw4SFVwBg= X-Received: by 10.202.5.68 with SMTP id 65mr5396707oif.34.1501981610063; Sat, 05 Aug 2017 18:06:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.41.21 with HTTP; Sat, 5 Aug 2017 18:06:29 -0700 (PDT) In-Reply-To: References: From: mayank rathi Date: Sat, 5 Aug 2017 21:06:29 -0400 Message-ID: Subject: Re: NiFi 1.4.0-SNAPSHOT build failing To: dev@nifi.apache.org Content-Type: multipart/alternative; boundary="94eb2c1891c453bb3a05560b58a2" archived-at: Sun, 06 Aug 2017 01:06:56 -0000 --94eb2c1891c453bb3a05560b58a2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Andy for helping. I ran maven with `-DskipTests`and install went fine. On Fri, Aug 4, 2017 at 6:56 PM, Andy LoPresto wrote: > Hi, > > Sorry you are encountering this issue. I am unable to reproduce this issu= e > locally. Do you have a Tomcat/Catalina instance running at the same time = on > your machine? A brief search of the internet for this issue reveals that = it > seems to be caused by container settings (I haven=E2=80=99t found any ref= erences to > this occurring in unit tests, only in deployed applications). > > I would also recommend running `mvn clean` to ensure that everything is > getting built with the proper dependencies, and potentially even cleaning > out your `~/.m2/` repository (start with just the grpc dependencies) if > that doesn=E2=80=99t work. > > We can continue trying to debug, but if you just want NiFi up and running > immediately, you can also run maven with `-DskipTests` to avoid this righ= t > now. > > Andy LoPresto > alopresto@apache.org > *alopresto.apache@gmail.com * > PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > > On Aug 4, 2017, at 1:38 PM, mayank rathi wrote: > > Hello All, > > I am trying to build NiFi 1.4.0-SNAPSHOT from Git and I am getting below > error. Does anyone know how to resolve this error? > > Thanks in advance !! > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) o= n > project nifi-grpc-processors: There are test failures. > [ERROR] > [ERROR] Please refer to > /opt/nifi-master/nifi-nar-bundles/nifi-grpc-bundle/nifi- > grpc-processors/target/surefire-reports > for the individual test results. > [ERROR] -> [Help 1] > [ERROR] > > > Running org.apache.nifi.processors.grpc.TestInvokeGRPC > Tests run: 12, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.726 se= c > <<< FAILURE! - in org.apache.nifi.processors.grpc.TestInvokeGRPC > testSecureOneWaySsl(org.apache.nifi.processors.grpc.TestInvokeGRPC) Time > elapsed: 0.747 sec <<< ERROR! > java.lang.IllegalArgumentException: Jetty ALPN/NPN has not been properly > configured. > at > io.grpc.netty.GrpcSslContexts.selectApplicationProtocolConfi > g(GrpcSslContexts.java:174) > at io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts. > java:151) > at io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts. > java:139) > at > org.apache.nifi.processors.grpc.TestGRPCServer.start( > TestGRPCServer.java:130) > at > org.apache.nifi.processors.grpc.TestInvokeGRPC.testSecureOneWaySsl( > TestInvokeGRPC.java:464) > > testSecureTwoWaySsl(org.apache.nifi.processors.grpc.TestInvokeGRPC) Time > elapsed: 0.018 sec <<< ERROR! > java.lang.IllegalArgumentException: Jetty ALPN/NPN has not been properly > configured. > at > io.grpc.netty.GrpcSslContexts.selectApplicationProtocolConfi > g(GrpcSslContexts.java:174) > at io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts. > java:151) > at io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts. > java:139) > at > org.apache.nifi.processors.grpc.TestGRPCServer.start( > TestGRPCServer.java:130) > at > org.apache.nifi.processors.grpc.TestInvokeGRPC.testSecureTwoWaySsl( > TestInvokeGRPC.java:420) > > > -- > NOTICE: This email message is for the sole use of the intended recipient(= s) > and may contain confidential and privileged information. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not the > intended recipient, please contact the sender by reply email and destroy > all copies of the original message. > > > --=20 NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. --94eb2c1891c453bb3a05560b58a2--