Return-Path: X-Original-To: apmail-nifi-commits-archive@minotaur.apache.org Delivered-To: apmail-nifi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D26A717D43 for ; Wed, 7 Jan 2015 15:48:58 +0000 (UTC) Received: (qmail 17023 invoked by uid 500); 7 Jan 2015 15:49:00 -0000 Delivered-To: apmail-nifi-commits-archive@nifi.apache.org Received: (qmail 16980 invoked by uid 500); 7 Jan 2015 15:49:00 -0000 Mailing-List: contact commits-help@nifi.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.incubator.apache.org Delivered-To: mailing list commits@nifi.incubator.apache.org Received: (qmail 16971 invoked by uid 99); 7 Jan 2015 15:49:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 15:49:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 07 Jan 2015 15:48:37 +0000 Received: (qmail 15784 invoked by uid 99); 7 Jan 2015 15:48:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 15:48:34 +0000 Date: Wed, 7 Jan 2015 15:48:34 +0000 (UTC) From: "Leonardo (JIRA)" To: commits@nifi.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (NIFI-225) Maven installation fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/NIFI-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267780#comment-14267780 ] Leonardo edited comment on NIFI-225 at 1/7/15 3:48 PM: ------------------------------------------------------- Hi Mark, I'm having a similar issue in a different test set. The above test runs correctly after the patch. The error is the following (from file /incubator-nifi/nar-bundles/standard-bundle/standard-processors/target/surefire-reports/org.apache.nifi.processors.standard.TestInvokeHTTP.txt): ------------------------------------------------------------------------------- Test set: org.apache.nifi.processors.standard.TestInvokeHTTP ------------------------------------------------------------------------------- Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.541 sec <<< FAILURE! - in org.apache.nifi.processors.standard.TestInvokeHTTP testDateGeneration(org.apache.nifi.processors.standard.TestInvokeHTTP) Time elapsed: 0.138 sec <<< ERROR! java.text.ParseException: Unparseable date: "mer, 07 gen 2015 15:21:27 GMT" at java.text.DateFormat.parse(DateFormat.java:357) at org.apache.nifi.processors.standard.TestInvokeHTTP.testDateGeneration(TestInvokeHTTP.java:128) Leonardo was (Author: leonardo.biagioli): Hi Mark, I'm having the same issue in a different test set. The above test runs correctly after the patch. The error is the following (from file /incubator-nifi/nar-bundles/standard-bundle/standard-processors/target/surefire-reports/org.apache.nifi.processors.standard.TestInvokeHTTP.txt): ------------------------------------------------------------------------------- Test set: org.apache.nifi.processors.standard.TestInvokeHTTP ------------------------------------------------------------------------------- Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.541 sec <<< FAILURE! - in org.apache.nifi.processors.standard.TestInvokeHTTP testDateGeneration(org.apache.nifi.processors.standard.TestInvokeHTTP) Time elapsed: 0.138 sec <<< ERROR! java.text.ParseException: Unparseable date: "mer, 07 gen 2015 15:21:27 GMT" at java.text.DateFormat.parse(DateFormat.java:357) at org.apache.nifi.processors.standard.TestInvokeHTTP.testDateGeneration(TestInvokeHTTP.java:128) Leonardo > Maven installation fails > ------------------------ > > Key: NIFI-225 > URL: https://issues.apache.org/jira/browse/NIFI-225 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build > Affects Versions: 0.0.1 > Environment: Ubuntu 14.04 64bit, Maven 3.2.5, Java sdk 1.7.0 > Reporter: Leonardo > Assignee: Joseph Witt > Priority: Critical > Fix For: 0.0.1 > > Attachments: NIFI-225.patch.txt > > > Hi, > following the build steps, I'm having an issue at point 4, "Build the entire code base. In the root dir of the source tree run 'mvn -T C1.0 clean install' " > The error is the following: > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project nifi-expression-language: There are test failures. > [ERROR] > [ERROR] Please refer to /home/lbiagioli/Downloads/incubator-nifi-develop/commons/nifi-expression-language/target/surefire-reports for the individual test results. > [ERROR] -> [Help 1] > [ERROR] > [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] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the command > [ERROR] mvn -rf :nifi-expression-language > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ standard-services-api-nar --- > Checking the file org.apache.nifi.attribute.expression.language.TestQuery.txt in the path /incubator-nifi-develop/commons/nifi-expression-language/target/surefire-reports > I can read the following: > ------------------------------------------------------------------------------- > Test set: org.apache.nifi.attribute.expression.language.TestQuery > ------------------------------------------------------------------------------- > Tests run: 70, Failures: 0, Errors: 2, Skipped: 1, Time elapsed: 1.402 sec <<< FAILURE! - in org.apache.nifi.attribute.expression.language.TestQuery > testImplicitConversions(org.apache.nifi.attribute.expression.language.TestQuery) Time elapsed: 0.038 sec <<< ERROR! > org.apache.nifi.attribute.expression.language.exception.AttributeExpressionLanguageException: Could not parse input as date > at java.text.DateFormat.parse(DateFormat.java:357) > at org.apache.nifi.attribute.expression.language.evaluation.cast.DateCastEvaluator.evaluate(DateCastEvaluator.java:72) > at org.apache.nifi.attribute.expression.language.evaluation.functions.FormatEvaluator.evaluate(FormatEvaluator.java:41) > at org.apache.nifi.attribute.expression.language.Query.evaluate(Query.java:639) > at org.apache.nifi.attribute.expression.language.Query.evaluateExpression(Query.java:342) > at org.apache.nifi.attribute.expression.language.StandardPreparedQuery.evaluateExpressions(StandardPreparedQuery.java:53) > at org.apache.nifi.attribute.expression.language.Query.evaluateExpressions(Query.java:365) > at org.apache.nifi.attribute.expression.language.TestQuery.verifyEquals(TestQuery.java:1063) > at org.apache.nifi.attribute.expression.language.TestQuery.testImplicitConversions(TestQuery.java:519) > implicitDateConversion(org.apache.nifi.attribute.expression.language.TestQuery) Time elapsed: 0.002 sec <<< ERROR! > org.apache.nifi.attribute.expression.language.exception.AttributeExpressionLanguageException: Could not parse input as date > at java.text.DateFormat.parse(DateFormat.java:357) > at org.apache.nifi.attribute.expression.language.evaluation.cast.DateCastEvaluator.evaluate(DateCastEvaluator.java:72) > at org.apache.nifi.attribute.expression.language.evaluation.functions.FormatEvaluator.evaluate(FormatEvaluator.java:41) > at org.apache.nifi.attribute.expression.language.Query.evaluate(Query.java:639) > at org.apache.nifi.attribute.expression.language.TestQuery.implicitDateConversion(TestQuery.java:211) > Is there a way to fix this? > Thank you, > Leonardo -- This message was sent by Atlassian JIRA (v6.3.4#6332)