From issues-return-94798-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Fri Mar 27 13:50:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1B68F180637 for ; Fri, 27 Mar 2020 14:50:02 +0100 (CET) Received: (qmail 71207 invoked by uid 500); 27 Mar 2020 13:50:01 -0000 Mailing-List: contact issues-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 issues@nifi.apache.org Received: (qmail 71197 invoked by uid 99); 27 Mar 2020 13:50:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2020 13:50:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8E7B8E0F57 for ; Fri, 27 Mar 2020 13:50:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 0CBCE7804C6 for ; Fri, 27 Mar 2020 13:50:00 +0000 (UTC) Date: Fri, 27 Mar 2020 13:50:00 +0000 (UTC) From: "Joe Witt (Jira)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-7288) Unreliable test TestListenHTTP testPOSTRequestsReceivedReturnCodeWithoutEL on slow build environments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-7288?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D17068= 723#comment-17068723 ]=20 Joe Witt commented on NIFI-7288: -------------------------------- The test appears to do the right thing in terms of creating ports dynamical= ly per test. But in a parallel build there is a race condition between che= cking for an available port and using it. Therefore each test could get th= e same port and one opens faster. So I *think* we just have to live with t= his in our parallel build environment or build a smarter port distribution = mechanism where it protects a range of ports for various tests... > Unreliable test TestListenHTTP testPOSTRequestsReceivedReturnCodeWithoutE= L on slow build environments > -------------------------------------------------------------------------= ---------------------------- > > Key: NIFI-7288 > URL: https://issues.apache.org/jira/browse/NIFI-7288 > Project: Apache NiFi > Issue Type: Task > Reporter: Joe Witt > Assignee: Joe Witt > Priority: Major > Fix For: 1.12.0 > > > https://github.com/apache/nifi/runs/536694505?check_suite_focus=3Dtrue > [ERROR] Errors:=20 > [ERROR] TestListenHTTP.testPOSTRequestsReceivedReturnCodeWithoutEL:120-= >testPOSTRequestsReceived:317->startWebServerAndSendMessages:364->startWebS= erverAndSendRequests:331 =C2=BB IO > [ERROR] Tests run: 1500, Failures: 0, Errors: 1, Skipped: 23 > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-pl= ugin:2.22.2:test (default-test) on project nifi-standard-processors: There = are test failures. > [ERROR]=20 > [ERROR] Please refer to /Users/runner/runners/2.165.2/work/nifi/nifi/nifi= -nar-bundles/nifi-standard-bundle/nifi-standard-processors/target/surefire-= reports for the individual test results. > [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvm= Run[N].dump and [date].dumpstream. > [ERROR] -> [Help 1] > [ERROR]=20 > [ERROR] To see the full stack trace of the errors, re-run Maven with the = -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR]=20 > [ERROR] For more information about the errors and possible solutions, ple= ase read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFai= lureException > [ERROR]=20 > [ERROR] After correcting the problems, you can resume the build with the = command > [ERROR] mvn -rf :nifi-standard-processors > ##[error]Process completed with exit code 1. > [ERROR] Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: = 7.074 s <<< FAILURE! - in org.apache.nifi.processors.standard.TestListenHTT= P > [ERROR] testPOSTRequestsReceivedReturnCodeWithoutEL(org.apache.nifi.proce= ssors.standard.TestListenHTTP) Time elapsed: 0.023 s <<< ERROR! > java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:50383 > =09at org.apache.nifi.processors.standard.TestListenHTTP.startWebServerAn= dSendRequests(TestListenHTTP.java:331) > =09at org.apache.nifi.processors.standard.TestListenHTTP.startWebServerAn= dSendMessages(TestListenHTTP.java:364) > =09at org.apache.nifi.processors.standard.TestListenHTTP.testPOSTRequests= Received(TestListenHTTP.java:317) > =09at org.apache.nifi.processors.standard.TestListenHTTP.testPOSTRequests= ReceivedReturnCodeWithoutEL(TestListenHTTP.java:120) > Caused by: java.net.BindException: Address already in use > =09at org.apache.nifi.processors.standard.TestListenHTTP.startWebServerAn= dSendRequests(TestListenHTTP.java:331) > =09at org.apache.nifi.processors.standard.TestListenHTTP.startWebServerAn= dSendMessages(TestListenHTTP.java:364) > =09at org.apache.nifi.processors.standard.TestListenHTTP.testPOSTRequests= Received(TestListenHTTP.java:317) > =09at org.apache.nifi.processors.standard.TestListenHTTP.testPOSTRequests= ReceivedReturnCodeWithoutEL(TestListenHTTP.java:120) -- This message was sent by Atlassian Jira (v8.3.4#803005)