You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by "Peri, Dattathreyulu" <Da...@capitalone.com> on 2015/07/24 16:48:49 UTC

nifi error

Hi ,

I am trying to install NIFI and followed the instructions as suggested on http://nifi.apache.org/quickstart.html

I cloned the

git clone http://git-wip-us.apache.org/repos/asf/nifi.git

and tried to run the mvn clean install from  nifi-nar-maven-plugin directory but getting the below error.  Can you please let me know if I am missing anything here?.  I did set up the proxy variables and running this command from GIT bash session






$ mvn clean install
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/nifi/nifi-parent/1.
0.0-incubating/nifi-parent-1.0.0-incubating.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.nifi:nifi-nar-maven-plugin:1.0.
2-incubating-SNAPSHOT: Could not transfer artifact org.apache.nifi:nifi-parent:p
om:1.0.0-incubating from/to central (https://repo.maven.apache.org/maven2): Conn
ect to repo.maven.apache.org:443 [repo.maven.apache.org/23.235.44.215] failed: C
onnection timed out: connect and 'parent.relativePath' points at no local POM @
line 18, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.nifi:nifi-nar-maven-plugin:1.0.2-incubating-SNA
PSHOT (c:\2014\nifi_test\nifi\nifi-nar-maven-plugin\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.nifi:nifi-nar-maven-plugin:
1.0.2-incubating-SNAPSHOT: Could not transfer artifact org.apache.nifi:nifi-pare
nt:pom:1.0.0-incubating from/to central (https://repo.maven.apache.org/maven2):
Connect to repo.maven.apache.org:443 [repo.maven.apache.org/23.235.44.215] faile
d: Connection timed out: connect and 'parent.relativePath' points at no local PO
M @ line 18, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
delException


Thanks
Dattu

________________________________________________________

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

Re: nifi error

Posted by Joe Skora <js...@gmail.com>.
For future reference, there is a section in the Contributor Guide that
captures relevant Git configuration options.


https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-Configureyourgitclient

On Mon, Jul 27, 2015 at 2:41 PM, Mark Payne <ma...@hotmail.com> wrote:

> Hello,
>
> I've seen this before when doing a "git clone" and not having the
> "core.autocrlf" property set to false.
>
> This will tell Git not to try to change line endings automatically. The
> problem is that Git will automatically change the line endings on the files
> that we use for unit testing. As a result, the unit tests fail because the
> files are not what it expects.
>
> If you run the following:
>
> git config --global core.autocrlf false
>
> That will tell git not to change the line feeds. You'll then need to
> checkout the standard-processors module again (an easy way to do this is to
> just delete the standard-processors directory and then from its parent run
> git checkout -- standard-processors).
>
> After that, I think you should be good to go.
>
> If you run into any other problems, please feel free to let us know!
>
> Thanks
> -Mark
>
> ----------------------------------------
> > Date: Mon, 27 Jul 2015 11:05:09 -0700
> > From: Dattathreyulu.Peri@capitalone.com
> > To: dev@nifi.incubator.apache.org
> > Subject: Re: nifi error
> >
> > Error we are getting after running mvn -T C2.0 clean install
> >
> > Line #1>
> > TestUnpackContent.testFlowFileStreamV2:127 FlowFile content differs from
> > input
> > at byte 20 with input having value 13 and FlowFile having value 10
> > TestUnpackContent.testFlowFileStreamV3:104 FlowFile content differs from
> > input
> > at byte 20 with input having value 13 and FlowFile having value 10
> > TestUnpackContent.testTar:58 FlowFile content differs from input at byte
> > 20 wi
> > th input having value 13 and FlowFile having value 10
> > TestUnpackContent.testZip:81 FlowFile content differs from input at byte
> > 20 wi
> > th input having value 13 and FlowFile having value 10
> >
> >
> >
> > Tests run: 282, Failures: 19, Errors: 0, Skipped: 11
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] nifi ............................................... SUCCESS [
> 1.887
> > s]
> > [INFO] nifi-api ........................................... SUCCESS [
> 19.807
> > s]
> > [INFO] nifi-commons ....................................... SUCCESS [
> 1.359
> > s]
> > [INFO] nifi-utils ......................................... SUCCESS [
> 31.130
> > s]
> > [INFO] nifi-data-provenance-utils ......................... SUCCESS [
> 7.161
> > s]
> > [INFO] nifi-flowfile-packager ............................. SUCCESS [
> 11.046
> > s]
> > [INFO] nifi-expression-language ........................... SUCCESS [
> 54.819
> > s]
> > [INFO] nifi-logging-utils ................................. SUCCESS [
> 4.233
> > s]
> > [INFO] nifi-properties .................................... SUCCESS [
> 12.479
> > s]
> > [INFO] nifi-security-utils ................................ SUCCESS [
> 5.817
> > s]
> > [INFO] nifi-socket-utils .................................. SUCCESS [
> 13.313
> > s]
> > [INFO] nifi-web-utils ..................................... SUCCESS [
> 9.387
> > s]
> > [INFO] nifi-processor-utils ............................... SUCCESS [
> 16.229
> > s]
> > [INFO] nifi-write-ahead-log ............................... SUCCESS [
> 38.448
> > s]
> > [INFO] nifi-nar-bundles ................................... SUCCESS [
> 1.297
> > s]
> > [INFO] nifi-framework-bundle .............................. SUCCESS [
> 1.436
> > s]
> > [INFO] nifi-framework ..................................... SUCCESS [
> 0.281
> > s]
> > [INFO] nifi-client-dto .................................... SUCCESS [
> 15.894
> > s]
> > [INFO] nifi-site-to-site-client ........................... SUCCESS [
> 23.376
> > s]
> > [INFO] nifi-hl7-query-language ............................ SUCCESS [
> 29.190
> > s]
> > [INFO] nifi-bootstrap ..................................... SUCCESS [
> 7.889
> > s]
> > [INFO] nifi-mock .......................................... SUCCESS [
> 22.091
> > s]
> > [INFO] nifi-nar-utils ..................................... SUCCESS [
> 17.907
> > s]
> > [INFO] nifi-framework-core-api ............................ SUCCESS [
> 19.074
> > s]
> > [INFO] nifi-documentation ................................. SUCCESS [
> 55.100
> > s]
> > [INFO] nifi-runtime ....................................... SUCCESS [
> 17.176
> > s]
> > [INFO] nifi-security ...................................... SUCCESS [
> 30.447
> > s]
> > [INFO] nifi-user-actions .................................. SUCCESS [
> 7.611
> > s]
> > [INFO] nifi-administration ................................ SUCCESS
> [01:08
> > min]
> > [INFO] nifi-site-to-site .................................. SUCCESS [
> 38.387
> > s]
> > [INFO] nifi-framework-cluster-protocol .................... SUCCESS
> [01:21
> > min]
> > [INFO] nifi-framework-core ................................ SUCCESS
> [03:33
> > min]
> > [INFO] nifi-framework-cluster-web ......................... SUCCESS [
> 8.979
> > s]
> > [INFO] nifi-web ........................................... SUCCESS [
> 0.592
> > s]
> > [INFO] nifi-web-security .................................. SUCCESS [
> 9.838
> > s]
> > [INFO] nifi-web-optimistic-locking ........................ SUCCESS [
> 2.934
> > s]
> > [INFO] nifi-framework-cluster ............................. SUCCESS [
> 32.898
> > s]
> > [INFO] nifi-file-authorization-provider ................... SUCCESS [
> 23.145
> > s]
> > [INFO] nifi-cluster-authorization-provider ................ SUCCESS [
> 9.154
> > s]
> > [INFO] nifi-custom-ui-utilities ........................... SUCCESS [
> 7.230
> > s]
> > [INFO] nifi-web-content-access ............................ SUCCESS [
> 6.065
> > s]
> > [INFO] nifi-ui-extension .................................. SUCCESS [
> 4.767
> > s]
> > [INFO] nifi-provenance-repository-bundle .................. SUCCESS [
> 1.451
> > s]
> > [INFO] nifi-volatile-provenance-repository ................ SUCCESS [
> 32.326
> > s]
> > [INFO] nifi-web-api ....................................... SKIPPED
> > [INFO] nifi-web-error ..................................... SUCCESS [
> 6.768
> > s]
> > [INFO] nifi-web-docs ...................................... SUCCESS [
> 19.212
> > s]
> > [INFO] nifi-web-content-viewer ............................ SUCCESS [
> 30.305
> > s]
> > [INFO] nifi-web-ui ........................................ SUCCESS
> [09:29
> > min]
> > [INFO] nifi-jetty ......................................... SKIPPED
> > [INFO] nifi-resources ..................................... SUCCESS [
> 6.037
> > s]
> > [INFO] nifi-framework-nar ................................. SKIPPED
> > [INFO] nifi-standard-services ............................. SUCCESS [
> 2.426
> > s]
> > [INFO] nifi-distributed-cache-client-service-api .......... SUCCESS [
> 7.389
> > s]
> > [INFO] nifi-hadoop-bundle ................................. SUCCESS [
> 0.395
> > s]
> > [INFO] nifi-hdfs-processors ............................... SUCCESS
> [01:48
> > min]
> > [INFO] nifi-ssl-context-service-api ....................... SUCCESS [
> 7.888
> > s]
> > [INFO] nifi-load-distribution-service-api ................. SUCCESS [
> 5.133
> > s]
> > [INFO] nifi-http-context-map-api .......................... SUCCESS [
> 5.127
> > s]
> > [INFO] nifi-dbcp-service-api .............................. SUCCESS [
> 3.760
> > s]
> > [INFO] nifi-standard-services-api-nar ..................... SUCCESS [
> 27.252
> > s]
> > [INFO] nifi-hadoop-libraries-bundle ....................... SUCCESS [
> 2.223
> > s]
> > [INFO] nifi-hadoop-libraries-nar .......................... SUCCESS
> [01:57
> > min]
> > [INFO] nifi-hadoop-nar .................................... SUCCESS [
> 8.416
> > s]
> > [INFO] nifi-jetty-bundle .................................. SKIPPED
> > [INFO] nifi-persistent-provenance-repository .............. SUCCESS
> [02:46
> > min]
> > [INFO] nifi-provenance-repository-nar ..................... SUCCESS [
> 12.998
> > s]
> > [INFO] nifi-distributed-cache-services-bundle ............. SUCCESS [
> 0.312
> > s]
> > [INFO] nifi-distributed-cache-protocol .................... SUCCESS [
> 11.859
> > s]
> > [INFO] nifi-distributed-cache-client-service .............. SUCCESS [
> 22.565
> > s]
> > [INFO] nifi-ssl-context-bundle ............................ SUCCESS [
> 0.280
> > s]
> > [INFO] nifi-ssl-context-service ........................... SUCCESS [
> 37.986
> > s]
> > [INFO] nifi-standard-bundle ............................... SUCCESS [
> 2.389
> > s]
> > [INFO] nifi-standard-processors ........................... FAILURE
> [06:54
> > min]
> > [INFO] nifi-standard-prioritizers ......................... SUCCESS [
> 23.377
> > s]
> > [INFO] nifi-standard-reporting-tasks ...................... SUCCESS [
> 21.957
> > s]
> > [INFO] nifi-standard-content-viewer ....................... SUCCESS [
> 26.765
> > s]
> > [INFO] nifi-standard-nar .................................. SKIPPED
> > [INFO] nifi-distributed-cache-server ...................... SUCCESS
> [01:25
> > min]
> > [INFO] nifi-distributed-cache-services-nar ................ SUCCESS [
> 26.617
> > s]
> > [INFO] nifi-ssl-context-service-nar ....................... SUCCESS [
> 11.538
> > s]
> > [INFO] nifi-http-context-map-bundle ....................... SUCCESS [
> 0.484
> > s]
> > [INFO] nifi-http-context-map .............................. SUCCESS [
> 19.215
> > s]
> > [INFO] nifi-http-context-map-nar .......................... SUCCESS [
> 10.518
> > s]
> > [INFO] nifi-dbcp-service-bundle ........................... SUCCESS [
> 0.218
> > s]
> > [INFO] nifi-dbcp-service .................................. SUCCESS [
> 27.799
> > s]
> > [INFO] nifi-dbcp-service-nar .............................. SUCCESS [
> 19.417
> > s]
> > [INFO] nifi-update-attribute-bundle ....................... SUCCESS [
> 1.311
> > s]
> > [INFO] nifi-update-attribute-model ........................ SUCCESS [
> 8.201
> > s]
> > [INFO] nifi-update-attribute-processor .................... SUCCESS [
> 28.058
> > s]
> > [INFO] nifi-update-attribute-ui ........................... SUCCESS [
> 35.597
> > s]
> > [INFO] nifi-update-attribute-nar .......................... SUCCESS [
> 19.619
> > s]
> > [INFO] nifi-kafka-bundle .................................. SUCCESS [
> 0.522
> > s]
> > [INFO] nifi-kafka-processors .............................. SUCCESS [
> 26.703
> > s]
> > [INFO] nifi-kafka-nar ..................................... SUCCESS [
> 40.683
> > s]
> > [INFO] nifi-kite-bundle ................................... SUCCESS [
> 0.350
> > s]
> > [INFO] nifi-kite-processors ............................... SUCCESS
> [04:26
> > min]
> > [INFO] nifi-kite-nar ...................................... SUCCESS
> [01:00
> > min]
> > [INFO] nifi-solr-bundle ................................... SUCCESS [
> 1.450
> > s]
> > [INFO] nifi-solr-processors ............................... SUCCESS
> [01:16
> > min]
> > [INFO] nifi-solr-nar ...................................... SUCCESS [
> 30.064
> > s]
> > [INFO] nifi-aws-bundle .................................... SUCCESS [
> 1.273
> > s]
> > [INFO] nifi-aws-processors ................................ SUCCESS [
> 41.226
> > s]
> > [INFO] nifi-aws-nar ....................................... SUCCESS
> [01:09
> > min]
> > [INFO] nifi-social-media-bundle ........................... SUCCESS [
> 1.459
> > s]
> > [INFO] nifi-twitter-processors ............................ SUCCESS [
> 9.731
> > s]
> > [INFO] nifi-social-media-nar .............................. SUCCESS [
> 24.718
> > s]
> > [INFO] nifi-geo-bundle .................................... SUCCESS [
> 1.146
> > s]
> > [INFO] nifi-geo-processors ................................ SUCCESS [
> 23.796
> > s]
> > [INFO] nifi-geo-nar ....................................... SUCCESS [
> 20.890
> > s]
> > [INFO] nifi-hl7-bundle .................................... SUCCESS [
> 0.998
> > s]
> > [INFO] nifi-hl7-processors ................................ SUCCESS [
> 27.227
> > s]
> > [INFO] nifi-hl7-nar ....................................... SUCCESS [
> 20.553
> > s]
> > [INFO] nifi-language-translation-bundle ................... SUCCESS [
> 0.890
> > s]
> > [INFO] nifi-yandex-processors ............................. SUCCESS [
> 29.353
> > s]
> > [INFO] nifi-language-translation-nar ...................... SUCCESS [
> 37.251
> > s]
> > [INFO] nifi-mongodb-bundle ................................ SUCCESS [
> 0.702
> > s]
> > [INFO] nifi-mongodb-processors ............................ SUCCESS [
> 17.112
> > s]
> > [INFO] nifi-mongodb-nar ................................... SUCCESS [
> 24.259
> > s]
> > [INFO] nifi-flume-bundle .................................. SUCCESS [
> 0.265
> > s]
> > [INFO] nifi-flume-processors .............................. SUCCESS
> [03:06
> > min]
> > [INFO] nifi-flume-nar ..................................... SUCCESS
> [01:40
> > min]
> > [INFO] nifi-docs .......................................... SUCCESS [
> 43.512
> > s]
> > [INFO] nifi-assembly ...................................... SKIPPED
> > [INFO] nifi-maven-archetypes .............................. SUCCESS [
> 1.266
> > s]
> > [INFO] nifi-processor-bundle-archetype .................... SUCCESS [
> 5.687
> > s]
> > [INFO] nifi-external ...................................... SUCCESS [
> 2.338
> > s]
> > [INFO] nifi-spark-receiver ................................ SUCCESS
> [02:21
> > min]
> > [INFO] nifi-storm-spout ................................... SUCCESS [
> 17.759
> > s]
> > [INFO] nifi-example-bundle ................................ SUCCESS [
> 0.801
> > s]
> > [INFO] nifi-nifi-example-processors ....................... SUCCESS [
> 22.380
> > s]
> > [INFO] nifi-example-nar ................................... SUCCESS [
> 31.817
> > s]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 12:54 min (Wall Clock)
> > [INFO] Finished at: 2015-07-27T10:07:35-04:00
> > [INFO] Final Memory: 177M/633M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.
> > 18:test (default-test) on project nifi-standard-processors: There are
> test
> > failu
> > res.
> > [ERROR]
> > [ERROR] Please refer to
> > C:\2014\nifi_test\nifi\nifi\nifi-nar-bundles\nifi-standa
> > rd-bundle\nifi-standard-processors\target\surefire-reports for the
> > individual te
> > st results.
> > [ERROR] -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e
> > swit
> > ch.
> > [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
> > rea
> > d the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> > eption
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> >
> > [ERROR] mvn <goals> -rf :nifi-standard-processors
> >
> >
> >
> > --
> > View this message in context:
> http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2267.html
> > Sent from the Apache NiFi (incubating) Developer List mailing list
> archive at Nabble.com.
>
>

Re: nifi error

Posted by Adam Taft <ad...@adamtaft.com>.
One possible option to help on this might be to commit a .gitattributes
file, which would basically name the problematic test files and mark them
to not modify their line endings.

http://git-scm.com/docs/gitattributes

I think the format would look something like:

/path/to/problematic/test/file -text

where the '-text' option would tell git to treat the file more like binary
and not convert line endings.



On Tue, Jul 28, 2015 at 11:15 AM, Mark Payne <ma...@hotmail.com> wrote:

> Excellent! Feel free to reach out if you run into any other issues.
>
> Thanks
> -Mark
>
> ----------------------------------------
> > Date: Tue, 28 Jul 2015 07:37:42 -0700
> > From: Dattathreyulu.Peri@capitalone.com
> > To: dev@nifi.incubator.apache.org
> > Subject: RE: nifi error
> >
> > thanks mark
> >
> > after running the
> > git config --global core.autocrlf false
> >
> > and then i ran just the mvn clean install from the nifi folder and it
> worked
> > and the build was successful.
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2278.html
> > Sent from the Apache NiFi (incubating) Developer List mailing list
> archive at Nabble.com.
>
>

RE: nifi error

Posted by Mark Payne <ma...@hotmail.com>.
Excellent! Feel free to reach out if you run into any other issues.

Thanks
-Mark

----------------------------------------
> Date: Tue, 28 Jul 2015 07:37:42 -0700
> From: Dattathreyulu.Peri@capitalone.com
> To: dev@nifi.incubator.apache.org
> Subject: RE: nifi error
>
> thanks mark
>
> after running the
> git config --global core.autocrlf false
>
> and then i ran just the mvn clean install from the nifi folder and it worked
> and the build was successful.
>
>
>
>
>
> --
> View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2278.html
> Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.
 		 	   		  

RE: nifi error

Posted by dattu peri <Da...@capitalone.com>.
thanks mark

after running the 
git config --global core.autocrlf false 

and then i ran just the mvn clean install from the nifi folder and it worked
and the build was successful.





--
View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2278.html
Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.

RE: nifi error

Posted by Mark Payne <ma...@hotmail.com>.
Hello,

I've seen this before when doing a "git clone" and not having the "core.autocrlf" property set to false.

This will tell Git not to try to change line endings automatically. The problem is that Git will automatically change the line endings on the files that we use for unit testing. As a result, the unit tests fail because the files are not what it expects.

If you run the following:

git config --global core.autocrlf false

That will tell git not to change the line feeds. You'll then need to checkout the standard-processors module again (an easy way to do this is to just delete the standard-processors directory and then from its parent run git checkout -- standard-processors).

After that, I think you should be good to go.

If you run into any other problems, please feel free to let us know!

Thanks
-Mark

----------------------------------------
> Date: Mon, 27 Jul 2015 11:05:09 -0700
> From: Dattathreyulu.Peri@capitalone.com
> To: dev@nifi.incubator.apache.org
> Subject: Re: nifi error
>
> Error we are getting after running mvn -T C2.0 clean install
>
> Line #1>
> TestUnpackContent.testFlowFileStreamV2:127 FlowFile content differs from
> input
> at byte 20 with input having value 13 and FlowFile having value 10
> TestUnpackContent.testFlowFileStreamV3:104 FlowFile content differs from
> input
> at byte 20 with input having value 13 and FlowFile having value 10
> TestUnpackContent.testTar:58 FlowFile content differs from input at byte
> 20 wi
> th input having value 13 and FlowFile having value 10
> TestUnpackContent.testZip:81 FlowFile content differs from input at byte
> 20 wi
> th input having value 13 and FlowFile having value 10
>
>
>
> Tests run: 282, Failures: 19, Errors: 0, Skipped: 11
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] nifi ............................................... SUCCESS [ 1.887
> s]
> [INFO] nifi-api ........................................... SUCCESS [ 19.807
> s]
> [INFO] nifi-commons ....................................... SUCCESS [ 1.359
> s]
> [INFO] nifi-utils ......................................... SUCCESS [ 31.130
> s]
> [INFO] nifi-data-provenance-utils ......................... SUCCESS [ 7.161
> s]
> [INFO] nifi-flowfile-packager ............................. SUCCESS [ 11.046
> s]
> [INFO] nifi-expression-language ........................... SUCCESS [ 54.819
> s]
> [INFO] nifi-logging-utils ................................. SUCCESS [ 4.233
> s]
> [INFO] nifi-properties .................................... SUCCESS [ 12.479
> s]
> [INFO] nifi-security-utils ................................ SUCCESS [ 5.817
> s]
> [INFO] nifi-socket-utils .................................. SUCCESS [ 13.313
> s]
> [INFO] nifi-web-utils ..................................... SUCCESS [ 9.387
> s]
> [INFO] nifi-processor-utils ............................... SUCCESS [ 16.229
> s]
> [INFO] nifi-write-ahead-log ............................... SUCCESS [ 38.448
> s]
> [INFO] nifi-nar-bundles ................................... SUCCESS [ 1.297
> s]
> [INFO] nifi-framework-bundle .............................. SUCCESS [ 1.436
> s]
> [INFO] nifi-framework ..................................... SUCCESS [ 0.281
> s]
> [INFO] nifi-client-dto .................................... SUCCESS [ 15.894
> s]
> [INFO] nifi-site-to-site-client ........................... SUCCESS [ 23.376
> s]
> [INFO] nifi-hl7-query-language ............................ SUCCESS [ 29.190
> s]
> [INFO] nifi-bootstrap ..................................... SUCCESS [ 7.889
> s]
> [INFO] nifi-mock .......................................... SUCCESS [ 22.091
> s]
> [INFO] nifi-nar-utils ..................................... SUCCESS [ 17.907
> s]
> [INFO] nifi-framework-core-api ............................ SUCCESS [ 19.074
> s]
> [INFO] nifi-documentation ................................. SUCCESS [ 55.100
> s]
> [INFO] nifi-runtime ....................................... SUCCESS [ 17.176
> s]
> [INFO] nifi-security ...................................... SUCCESS [ 30.447
> s]
> [INFO] nifi-user-actions .................................. SUCCESS [ 7.611
> s]
> [INFO] nifi-administration ................................ SUCCESS [01:08
> min]
> [INFO] nifi-site-to-site .................................. SUCCESS [ 38.387
> s]
> [INFO] nifi-framework-cluster-protocol .................... SUCCESS [01:21
> min]
> [INFO] nifi-framework-core ................................ SUCCESS [03:33
> min]
> [INFO] nifi-framework-cluster-web ......................... SUCCESS [ 8.979
> s]
> [INFO] nifi-web ........................................... SUCCESS [ 0.592
> s]
> [INFO] nifi-web-security .................................. SUCCESS [ 9.838
> s]
> [INFO] nifi-web-optimistic-locking ........................ SUCCESS [ 2.934
> s]
> [INFO] nifi-framework-cluster ............................. SUCCESS [ 32.898
> s]
> [INFO] nifi-file-authorization-provider ................... SUCCESS [ 23.145
> s]
> [INFO] nifi-cluster-authorization-provider ................ SUCCESS [ 9.154
> s]
> [INFO] nifi-custom-ui-utilities ........................... SUCCESS [ 7.230
> s]
> [INFO] nifi-web-content-access ............................ SUCCESS [ 6.065
> s]
> [INFO] nifi-ui-extension .................................. SUCCESS [ 4.767
> s]
> [INFO] nifi-provenance-repository-bundle .................. SUCCESS [ 1.451
> s]
> [INFO] nifi-volatile-provenance-repository ................ SUCCESS [ 32.326
> s]
> [INFO] nifi-web-api ....................................... SKIPPED
> [INFO] nifi-web-error ..................................... SUCCESS [ 6.768
> s]
> [INFO] nifi-web-docs ...................................... SUCCESS [ 19.212
> s]
> [INFO] nifi-web-content-viewer ............................ SUCCESS [ 30.305
> s]
> [INFO] nifi-web-ui ........................................ SUCCESS [09:29
> min]
> [INFO] nifi-jetty ......................................... SKIPPED
> [INFO] nifi-resources ..................................... SUCCESS [ 6.037
> s]
> [INFO] nifi-framework-nar ................................. SKIPPED
> [INFO] nifi-standard-services ............................. SUCCESS [ 2.426
> s]
> [INFO] nifi-distributed-cache-client-service-api .......... SUCCESS [ 7.389
> s]
> [INFO] nifi-hadoop-bundle ................................. SUCCESS [ 0.395
> s]
> [INFO] nifi-hdfs-processors ............................... SUCCESS [01:48
> min]
> [INFO] nifi-ssl-context-service-api ....................... SUCCESS [ 7.888
> s]
> [INFO] nifi-load-distribution-service-api ................. SUCCESS [ 5.133
> s]
> [INFO] nifi-http-context-map-api .......................... SUCCESS [ 5.127
> s]
> [INFO] nifi-dbcp-service-api .............................. SUCCESS [ 3.760
> s]
> [INFO] nifi-standard-services-api-nar ..................... SUCCESS [ 27.252
> s]
> [INFO] nifi-hadoop-libraries-bundle ....................... SUCCESS [ 2.223
> s]
> [INFO] nifi-hadoop-libraries-nar .......................... SUCCESS [01:57
> min]
> [INFO] nifi-hadoop-nar .................................... SUCCESS [ 8.416
> s]
> [INFO] nifi-jetty-bundle .................................. SKIPPED
> [INFO] nifi-persistent-provenance-repository .............. SUCCESS [02:46
> min]
> [INFO] nifi-provenance-repository-nar ..................... SUCCESS [ 12.998
> s]
> [INFO] nifi-distributed-cache-services-bundle ............. SUCCESS [ 0.312
> s]
> [INFO] nifi-distributed-cache-protocol .................... SUCCESS [ 11.859
> s]
> [INFO] nifi-distributed-cache-client-service .............. SUCCESS [ 22.565
> s]
> [INFO] nifi-ssl-context-bundle ............................ SUCCESS [ 0.280
> s]
> [INFO] nifi-ssl-context-service ........................... SUCCESS [ 37.986
> s]
> [INFO] nifi-standard-bundle ............................... SUCCESS [ 2.389
> s]
> [INFO] nifi-standard-processors ........................... FAILURE [06:54
> min]
> [INFO] nifi-standard-prioritizers ......................... SUCCESS [ 23.377
> s]
> [INFO] nifi-standard-reporting-tasks ...................... SUCCESS [ 21.957
> s]
> [INFO] nifi-standard-content-viewer ....................... SUCCESS [ 26.765
> s]
> [INFO] nifi-standard-nar .................................. SKIPPED
> [INFO] nifi-distributed-cache-server ...................... SUCCESS [01:25
> min]
> [INFO] nifi-distributed-cache-services-nar ................ SUCCESS [ 26.617
> s]
> [INFO] nifi-ssl-context-service-nar ....................... SUCCESS [ 11.538
> s]
> [INFO] nifi-http-context-map-bundle ....................... SUCCESS [ 0.484
> s]
> [INFO] nifi-http-context-map .............................. SUCCESS [ 19.215
> s]
> [INFO] nifi-http-context-map-nar .......................... SUCCESS [ 10.518
> s]
> [INFO] nifi-dbcp-service-bundle ........................... SUCCESS [ 0.218
> s]
> [INFO] nifi-dbcp-service .................................. SUCCESS [ 27.799
> s]
> [INFO] nifi-dbcp-service-nar .............................. SUCCESS [ 19.417
> s]
> [INFO] nifi-update-attribute-bundle ....................... SUCCESS [ 1.311
> s]
> [INFO] nifi-update-attribute-model ........................ SUCCESS [ 8.201
> s]
> [INFO] nifi-update-attribute-processor .................... SUCCESS [ 28.058
> s]
> [INFO] nifi-update-attribute-ui ........................... SUCCESS [ 35.597
> s]
> [INFO] nifi-update-attribute-nar .......................... SUCCESS [ 19.619
> s]
> [INFO] nifi-kafka-bundle .................................. SUCCESS [ 0.522
> s]
> [INFO] nifi-kafka-processors .............................. SUCCESS [ 26.703
> s]
> [INFO] nifi-kafka-nar ..................................... SUCCESS [ 40.683
> s]
> [INFO] nifi-kite-bundle ................................... SUCCESS [ 0.350
> s]
> [INFO] nifi-kite-processors ............................... SUCCESS [04:26
> min]
> [INFO] nifi-kite-nar ...................................... SUCCESS [01:00
> min]
> [INFO] nifi-solr-bundle ................................... SUCCESS [ 1.450
> s]
> [INFO] nifi-solr-processors ............................... SUCCESS [01:16
> min]
> [INFO] nifi-solr-nar ...................................... SUCCESS [ 30.064
> s]
> [INFO] nifi-aws-bundle .................................... SUCCESS [ 1.273
> s]
> [INFO] nifi-aws-processors ................................ SUCCESS [ 41.226
> s]
> [INFO] nifi-aws-nar ....................................... SUCCESS [01:09
> min]
> [INFO] nifi-social-media-bundle ........................... SUCCESS [ 1.459
> s]
> [INFO] nifi-twitter-processors ............................ SUCCESS [ 9.731
> s]
> [INFO] nifi-social-media-nar .............................. SUCCESS [ 24.718
> s]
> [INFO] nifi-geo-bundle .................................... SUCCESS [ 1.146
> s]
> [INFO] nifi-geo-processors ................................ SUCCESS [ 23.796
> s]
> [INFO] nifi-geo-nar ....................................... SUCCESS [ 20.890
> s]
> [INFO] nifi-hl7-bundle .................................... SUCCESS [ 0.998
> s]
> [INFO] nifi-hl7-processors ................................ SUCCESS [ 27.227
> s]
> [INFO] nifi-hl7-nar ....................................... SUCCESS [ 20.553
> s]
> [INFO] nifi-language-translation-bundle ................... SUCCESS [ 0.890
> s]
> [INFO] nifi-yandex-processors ............................. SUCCESS [ 29.353
> s]
> [INFO] nifi-language-translation-nar ...................... SUCCESS [ 37.251
> s]
> [INFO] nifi-mongodb-bundle ................................ SUCCESS [ 0.702
> s]
> [INFO] nifi-mongodb-processors ............................ SUCCESS [ 17.112
> s]
> [INFO] nifi-mongodb-nar ................................... SUCCESS [ 24.259
> s]
> [INFO] nifi-flume-bundle .................................. SUCCESS [ 0.265
> s]
> [INFO] nifi-flume-processors .............................. SUCCESS [03:06
> min]
> [INFO] nifi-flume-nar ..................................... SUCCESS [01:40
> min]
> [INFO] nifi-docs .......................................... SUCCESS [ 43.512
> s]
> [INFO] nifi-assembly ...................................... SKIPPED
> [INFO] nifi-maven-archetypes .............................. SUCCESS [ 1.266
> s]
> [INFO] nifi-processor-bundle-archetype .................... SUCCESS [ 5.687
> s]
> [INFO] nifi-external ...................................... SUCCESS [ 2.338
> s]
> [INFO] nifi-spark-receiver ................................ SUCCESS [02:21
> min]
> [INFO] nifi-storm-spout ................................... SUCCESS [ 17.759
> s]
> [INFO] nifi-example-bundle ................................ SUCCESS [ 0.801
> s]
> [INFO] nifi-nifi-example-processors ....................... SUCCESS [ 22.380
> s]
> [INFO] nifi-example-nar ................................... SUCCESS [ 31.817
> s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 12:54 min (Wall Clock)
> [INFO] Finished at: 2015-07-27T10:07:35-04:00
> [INFO] Final Memory: 177M/633M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.
> 18:test (default-test) on project nifi-standard-processors: There are test
> failu
> res.
> [ERROR]
> [ERROR] Please refer to
> C:\2014\nifi_test\nifi\nifi\nifi-nar-bundles\nifi-standa
> rd-bundle\nifi-standard-processors\target\surefire-reports for the
> individual te
> st results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> swit
> ch.
> [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
> rea
> d the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
> [ERROR] mvn <goals> -rf :nifi-standard-processors
>
>
>
> --
> View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2267.html
> Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.
 		 	   		  

Re: nifi error

Posted by dattu peri <Da...@capitalone.com>.
Error we are getting after running mvn -T C2.0 clean install

Line #1>
  TestUnpackContent.testFlowFileStreamV2:127 FlowFile content differs from
input
 at byte 20 with input having value 13 and FlowFile having value 10
  TestUnpackContent.testFlowFileStreamV3:104 FlowFile content differs from
input
 at byte 20 with input having value 13 and FlowFile having value 10
  TestUnpackContent.testTar:58 FlowFile content differs from input at byte
20 wi
th input having value 13 and FlowFile having value 10
  TestUnpackContent.testZip:81 FlowFile content differs from input at byte
20 wi
th input having value 13 and FlowFile having value 10



Tests run: 282, Failures: 19, Errors: 0, Skipped: 11

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] nifi ............................................... SUCCESS [  1.887
s]
[INFO] nifi-api ........................................... SUCCESS [ 19.807
s]
[INFO] nifi-commons ....................................... SUCCESS [  1.359
s]
[INFO] nifi-utils ......................................... SUCCESS [ 31.130
s]
[INFO] nifi-data-provenance-utils ......................... SUCCESS [  7.161
s]
[INFO] nifi-flowfile-packager ............................. SUCCESS [ 11.046
s]
[INFO] nifi-expression-language ........................... SUCCESS [ 54.819
s]
[INFO] nifi-logging-utils ................................. SUCCESS [  4.233
s]
[INFO] nifi-properties .................................... SUCCESS [ 12.479
s]
[INFO] nifi-security-utils ................................ SUCCESS [  5.817
s]
[INFO] nifi-socket-utils .................................. SUCCESS [ 13.313
s]
[INFO] nifi-web-utils ..................................... SUCCESS [  9.387
s]
[INFO] nifi-processor-utils ............................... SUCCESS [ 16.229
s]
[INFO] nifi-write-ahead-log ............................... SUCCESS [ 38.448
s]
[INFO] nifi-nar-bundles ................................... SUCCESS [  1.297
s]
[INFO] nifi-framework-bundle .............................. SUCCESS [  1.436
s]
[INFO] nifi-framework ..................................... SUCCESS [  0.281
s]
[INFO] nifi-client-dto .................................... SUCCESS [ 15.894
s]
[INFO] nifi-site-to-site-client ........................... SUCCESS [ 23.376
s]
[INFO] nifi-hl7-query-language ............................ SUCCESS [ 29.190
s]
[INFO] nifi-bootstrap ..................................... SUCCESS [  7.889
s]
[INFO] nifi-mock .......................................... SUCCESS [ 22.091
s]
[INFO] nifi-nar-utils ..................................... SUCCESS [ 17.907
s]
[INFO] nifi-framework-core-api ............................ SUCCESS [ 19.074
s]
[INFO] nifi-documentation ................................. SUCCESS [ 55.100
s]
[INFO] nifi-runtime ....................................... SUCCESS [ 17.176
s]
[INFO] nifi-security ...................................... SUCCESS [ 30.447
s]
[INFO] nifi-user-actions .................................. SUCCESS [  7.611
s]
[INFO] nifi-administration ................................ SUCCESS [01:08
min]
[INFO] nifi-site-to-site .................................. SUCCESS [ 38.387
s]
[INFO] nifi-framework-cluster-protocol .................... SUCCESS [01:21
min]
[INFO] nifi-framework-core ................................ SUCCESS [03:33
min]
[INFO] nifi-framework-cluster-web ......................... SUCCESS [  8.979
s]
[INFO] nifi-web ........................................... SUCCESS [  0.592
s]
[INFO] nifi-web-security .................................. SUCCESS [  9.838
s]
[INFO] nifi-web-optimistic-locking ........................ SUCCESS [  2.934
s]
[INFO] nifi-framework-cluster ............................. SUCCESS [ 32.898
s]
[INFO] nifi-file-authorization-provider ................... SUCCESS [ 23.145
s]
[INFO] nifi-cluster-authorization-provider ................ SUCCESS [  9.154
s]
[INFO] nifi-custom-ui-utilities ........................... SUCCESS [  7.230
s]
[INFO] nifi-web-content-access ............................ SUCCESS [  6.065
s]
[INFO] nifi-ui-extension .................................. SUCCESS [  4.767
s]
[INFO] nifi-provenance-repository-bundle .................. SUCCESS [  1.451
s]
[INFO] nifi-volatile-provenance-repository ................ SUCCESS [ 32.326
s]
[INFO] nifi-web-api ....................................... SKIPPED
[INFO] nifi-web-error ..................................... SUCCESS [  6.768
s]
[INFO] nifi-web-docs ...................................... SUCCESS [ 19.212
s]
[INFO] nifi-web-content-viewer ............................ SUCCESS [ 30.305
s]
[INFO] nifi-web-ui ........................................ SUCCESS [09:29
min]
[INFO] nifi-jetty ......................................... SKIPPED
[INFO] nifi-resources ..................................... SUCCESS [  6.037
s]
[INFO] nifi-framework-nar ................................. SKIPPED
[INFO] nifi-standard-services ............................. SUCCESS [  2.426
s]
[INFO] nifi-distributed-cache-client-service-api .......... SUCCESS [  7.389
s]
[INFO] nifi-hadoop-bundle ................................. SUCCESS [  0.395
s]
[INFO] nifi-hdfs-processors ............................... SUCCESS [01:48
min]
[INFO] nifi-ssl-context-service-api ....................... SUCCESS [  7.888
s]
[INFO] nifi-load-distribution-service-api ................. SUCCESS [  5.133
s]
[INFO] nifi-http-context-map-api .......................... SUCCESS [  5.127
s]
[INFO] nifi-dbcp-service-api .............................. SUCCESS [  3.760
s]
[INFO] nifi-standard-services-api-nar ..................... SUCCESS [ 27.252
s]
[INFO] nifi-hadoop-libraries-bundle ....................... SUCCESS [  2.223
s]
[INFO] nifi-hadoop-libraries-nar .......................... SUCCESS [01:57
min]
[INFO] nifi-hadoop-nar .................................... SUCCESS [  8.416
s]
[INFO] nifi-jetty-bundle .................................. SKIPPED
[INFO] nifi-persistent-provenance-repository .............. SUCCESS [02:46
min]
[INFO] nifi-provenance-repository-nar ..................... SUCCESS [ 12.998
s]
[INFO] nifi-distributed-cache-services-bundle ............. SUCCESS [  0.312
s]
[INFO] nifi-distributed-cache-protocol .................... SUCCESS [ 11.859
s]
[INFO] nifi-distributed-cache-client-service .............. SUCCESS [ 22.565
s]
[INFO] nifi-ssl-context-bundle ............................ SUCCESS [  0.280
s]
[INFO] nifi-ssl-context-service ........................... SUCCESS [ 37.986
s]
[INFO] nifi-standard-bundle ............................... SUCCESS [  2.389
s]
[INFO] nifi-standard-processors ........................... FAILURE [06:54
min]
[INFO] nifi-standard-prioritizers ......................... SUCCESS [ 23.377
s]
[INFO] nifi-standard-reporting-tasks ...................... SUCCESS [ 21.957
s]
[INFO] nifi-standard-content-viewer ....................... SUCCESS [ 26.765
s]
[INFO] nifi-standard-nar .................................. SKIPPED
[INFO] nifi-distributed-cache-server ...................... SUCCESS [01:25
min]
[INFO] nifi-distributed-cache-services-nar ................ SUCCESS [ 26.617
s]
[INFO] nifi-ssl-context-service-nar ....................... SUCCESS [ 11.538
s]
[INFO] nifi-http-context-map-bundle ....................... SUCCESS [  0.484
s]
[INFO] nifi-http-context-map .............................. SUCCESS [ 19.215
s]
[INFO] nifi-http-context-map-nar .......................... SUCCESS [ 10.518
s]
[INFO] nifi-dbcp-service-bundle ........................... SUCCESS [  0.218
s]
[INFO] nifi-dbcp-service .................................. SUCCESS [ 27.799
s]
[INFO] nifi-dbcp-service-nar .............................. SUCCESS [ 19.417
s]
[INFO] nifi-update-attribute-bundle ....................... SUCCESS [  1.311
s]
[INFO] nifi-update-attribute-model ........................ SUCCESS [  8.201
s]
[INFO] nifi-update-attribute-processor .................... SUCCESS [ 28.058
s]
[INFO] nifi-update-attribute-ui ........................... SUCCESS [ 35.597
s]
[INFO] nifi-update-attribute-nar .......................... SUCCESS [ 19.619
s]
[INFO] nifi-kafka-bundle .................................. SUCCESS [  0.522
s]
[INFO] nifi-kafka-processors .............................. SUCCESS [ 26.703
s]
[INFO] nifi-kafka-nar ..................................... SUCCESS [ 40.683
s]
[INFO] nifi-kite-bundle ................................... SUCCESS [  0.350
s]
[INFO] nifi-kite-processors ............................... SUCCESS [04:26
min]
[INFO] nifi-kite-nar ...................................... SUCCESS [01:00
min]
[INFO] nifi-solr-bundle ................................... SUCCESS [  1.450
s]
[INFO] nifi-solr-processors ............................... SUCCESS [01:16
min]
[INFO] nifi-solr-nar ...................................... SUCCESS [ 30.064
s]
[INFO] nifi-aws-bundle .................................... SUCCESS [  1.273
s]
[INFO] nifi-aws-processors ................................ SUCCESS [ 41.226
s]
[INFO] nifi-aws-nar ....................................... SUCCESS [01:09
min]
[INFO] nifi-social-media-bundle ........................... SUCCESS [  1.459
s]
[INFO] nifi-twitter-processors ............................ SUCCESS [  9.731
s]
[INFO] nifi-social-media-nar .............................. SUCCESS [ 24.718
s]
[INFO] nifi-geo-bundle .................................... SUCCESS [  1.146
s]
[INFO] nifi-geo-processors ................................ SUCCESS [ 23.796
s]
[INFO] nifi-geo-nar ....................................... SUCCESS [ 20.890
s]
[INFO] nifi-hl7-bundle .................................... SUCCESS [  0.998
s]
[INFO] nifi-hl7-processors ................................ SUCCESS [ 27.227
s]
[INFO] nifi-hl7-nar ....................................... SUCCESS [ 20.553
s]
[INFO] nifi-language-translation-bundle ................... SUCCESS [  0.890
s]
[INFO] nifi-yandex-processors ............................. SUCCESS [ 29.353
s]
[INFO] nifi-language-translation-nar ...................... SUCCESS [ 37.251
s]
[INFO] nifi-mongodb-bundle ................................ SUCCESS [  0.702
s]
[INFO] nifi-mongodb-processors ............................ SUCCESS [ 17.112
s]
[INFO] nifi-mongodb-nar ................................... SUCCESS [ 24.259
s]
[INFO] nifi-flume-bundle .................................. SUCCESS [  0.265
s]
[INFO] nifi-flume-processors .............................. SUCCESS [03:06
min]
[INFO] nifi-flume-nar ..................................... SUCCESS [01:40
min]
[INFO] nifi-docs .......................................... SUCCESS [ 43.512
s]
[INFO] nifi-assembly ...................................... SKIPPED
[INFO] nifi-maven-archetypes .............................. SUCCESS [  1.266
s]
[INFO] nifi-processor-bundle-archetype .................... SUCCESS [  5.687
s]
[INFO] nifi-external ...................................... SUCCESS [  2.338
s]
[INFO] nifi-spark-receiver ................................ SUCCESS [02:21
min]
[INFO] nifi-storm-spout ................................... SUCCESS [ 17.759
s]
[INFO] nifi-example-bundle ................................ SUCCESS [  0.801
s]
[INFO] nifi-nifi-example-processors ....................... SUCCESS [ 22.380
s]
[INFO] nifi-example-nar ................................... SUCCESS [ 31.817
s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12:54 min (Wall Clock)
[INFO] Finished at: 2015-07-27T10:07:35-04:00
[INFO] Final Memory: 177M/633M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.
18:test (default-test) on project nifi-standard-processors: There are test
failu
res.
[ERROR]
[ERROR] Please refer to
C:\2014\nifi_test\nifi\nifi\nifi-nar-bundles\nifi-standa
rd-bundle\nifi-standard-processors\target\surefire-reports for the
individual te
st results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[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
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn <goals> -rf :nifi-standard-processors



--
View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2267.html
Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.

Re: nifi error

Posted by Joe Witt <jo...@gmail.com>.
Sagar,

There should be more before/after that line that will help show what
happened.  Can you paste more of that into here?

Thanks
Joe

On Sun, Jul 26, 2015 at 1:00 AM, sagar gaikwad <co...@gmail.com> wrote:
> Aldrin,
> Thanks for the response. As you pointed it was an issue with the
> permissions. nifi-nar* was successfully built when I ran the command as
> sudo.
>
> After, that I am trying to build the nifi package from /nifi directory and
> keep running into this plugin error
>
> mvn -T 2.0C clean install
>
> "Failed to execute goal org.apache.maven.plugins:maven-surefire:2.18:test on
> project nifi-standard-processors "
>
>
>
> --
> View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2254.html
> Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.

Re: nifi error

Posted by Joe Witt <jo...@gmail.com>.
Sagar,

The relative path should not be necessary and may lead to other
issues.  As long as the nifi-parent/nifi-nar-maven-plugin are built
before nifi then it should be fine.  Most of the time this will not be
needed though as the dev line for nifi will point to release versions.
We just happen to be updating the parent/nifi-nar-maven plugin at this
time.

Parallel builds (mvn -T C2 clean install) should also work perfectly
so would really like to see the errors it printed for it.

Thanks
Joe

On Mon, Jul 27, 2015 at 11:04 AM, sagar gaikwad <co...@gmail.com> wrote:
> Aldrin,
> I was able to get it working. It worked I ran the install command in
> singular mode
>
> mvn clean install instead of mvn -T 2.0C clean install
>
>
> Also would it be possible to modify the relative path tab in your POM file.
> It is not currently set up. Any reason why
>
>
>
> --
> View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2265.html
> Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.

Re: nifi error

Posted by sagar gaikwad <co...@gmail.com>.
Aldrin,
I was able to get it working. It worked I ran the install command in
singular mode 

mvn clean install instead of mvn -T 2.0C clean install 


Also would it be possible to modify the relative path tab in your POM file.
It is not currently set up. Any reason why



--
View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2265.html
Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.

Re: nifi error

Posted by sagar gaikwad <co...@gmail.com>.
Aldrin,
Thanks for the response. As you pointed it was an issue with the
permissions. nifi-nar* was successfully built when I ran the command as
sudo. 

After, that I am trying to build the nifi package from /nifi directory and
keep running into this plugin error

mvn -T 2.0C clean install

"Failed to execute goal org.apache.maven.plugins:maven-surefire:2.18:test on
project nifi-standard-processors " 



--
View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2254.html
Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.

Re: nifi error

Posted by Aldrin Piri <al...@gmail.com>.
Sagar,

I was not able to recreate the issue you are experiencing (this is on OS X
and CentOS 7) from the latest version of development and starting with an
empty maven repository on each.

If the folder is not being created, it seems like it may be hitting an
issue with permissions.  I see you are using Vagrant.  Is it possible the
folder you are mapping into your Vagrant environment is not getting the
appropriate UID/GID?

To inspect things on your end, evaluate a listing of the checkout directory
in your Vagrant environment:

ls -la of the nifi directory checkout
id (to show your users and groups)

Additionally, as the user executing the build, are you able to manually
create the target directory?


On Sat, Jul 25, 2015 at 2:32 PM, sagar gaikwad <co...@gmail.com> wrote:

> Hey Joe,
> I was running into similar error as Dattu . I followed your steps
> git checkout develop
>
> Please be sure to build in the following order:
>
> cd ./nifi-parent
> mvn clean install
>
>
> I run into a different error while trying to build nifi-nar-maven-plugin
> mvn clean install
>
> Error Start :
>
> Failed to execute goal
> org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
> (default)
> on project nifi-nar-maven-plugin:Error finding remote resources manifests:
>
> /home/vagrant/nifi/nifi-nar-maven-plugin/target/maven-shared-archive-resources/META-INF/NOTICE
>
> Error End:
>
> I noticed that the TARGET directory is not created in the nar folder. Also
> noticed the relative path in the POM file was not set up. It was throwing
> NIFI project not found error. I fixed that to point it to the parent
> directory and now I am getting the above-stated error.
>
> Sagar Gaikwad
>
>
>
>
>
> --
> View this message in context:
> http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2251.html
> Sent from the Apache NiFi (incubating) Developer List mailing list archive
> at Nabble.com.
>

Re: nifi error

Posted by sagar gaikwad <co...@gmail.com>.
Hey Joe,
I was running into similar error as Dattu . I followed your steps
git checkout develop 

Please be sure to build in the following order: 

cd ./nifi-parent 
mvn clean install 


I run into a different error while trying to build nifi-nar-maven-plugin 
mvn clean install 

Error Start : 

Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default)
on project nifi-nar-maven-plugin:Error finding remote resources manifests:
/home/vagrant/nifi/nifi-nar-maven-plugin/target/maven-shared-archive-resources/META-INF/NOTICE

Error End:

I noticed that the TARGET directory is not created in the nar folder. Also
noticed the relative path in the POM file was not set up. It was throwing
NIFI project not found error. I fixed that to point it to the parent
directory and now I am getting the above-stated error.

Sagar Gaikwad





--
View this message in context: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2251.html
Sent from the Apache NiFi (incubating) Developer List mailing list archive at Nabble.com.

Re: nifi error

Posted by Matt Gilman <ma...@gmail.com>.
Sagar,

We separated each into their own repository to simplify the process for
folks building for the first time. Also, during this process we've removed
the develop branch and moved development onto master. Can you verify that
you tried to build using a fresh clone of the repository? It should have
moved all the files around appropriately but any local changes would need
to be address manually. Also, you probably would have needed to run a git
clean. Also can you verify that you were on the master branch?

Thanks!

Matt

On Wed, Sep 9, 2015 at 12:39 AM, sagar gaikwad <co...@gmail.com> wrote:

> Looks like your code repository has changes. I dont see nifi-parent
> directory
> anymore. Also I checked the install instructions on your web page. It only
> has 3 steps. set up jdk, set up maven and build the entire project.
>
> I get the following error when I try to build the entire project. I have
> used vagrant to set up an ubuntu machine, clone code from github, set up
> maven and jdk.
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
> (default)
> on project nifi: Error finding remote resources manifests:
> /home/vagrant/nifi/target/maven-shared-archive-resources/META-INF/NOTICE
> (No
> such file or directory) -> [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/MojoExecutionException
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-nifi-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2721.html
> Sent from the Apache NiFi Developer List mailing list archive at
> Nabble.com.
>

Re: nifi error

Posted by sagar gaikwad <co...@gmail.com>.
Looks like your code repository has changes. I dont see nifi-parent directory
anymore. Also I checked the install instructions on your web page. It only
has 3 steps. set up jdk, set up maven and build the entire project.

I get the following error when I try to build the entire project. I have
used vagrant to set up an ubuntu machine, clone code from github, set up
maven and jdk.

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default)
on project nifi: Error finding remote resources manifests:
/home/vagrant/nifi/target/maven-shared-archive-resources/META-INF/NOTICE (No
such file or directory) -> [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/MojoExecutionException








--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/nifi-error-tp2240p2721.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Re: nifi error

Posted by Joe Witt <jo...@gmail.com>.
Hello Dattu

If you intend to build off the latest code being worked that is in the
'develop' branch

git checkout develop

Please be sure to build in the following order:

cd ./nifi-parent
mvn clean install

cd ../nifi-nar-maven-plugin
mvn clean install

cd ../nifi
mvn -T C2 clean install

Thanks
Joe

On Fri, Jul 24, 2015 at 7:48 AM, Peri, Dattathreyulu
<Da...@capitalone.com> wrote:
> Hi ,
>
> I am trying to install NIFI and followed the instructions as suggested on http://nifi.apache.org/quickstart.html
>
> I cloned the
>
> git clone http://git-wip-us.apache.org/repos/asf/nifi.git
>
> and tried to run the mvn clean install from  nifi-nar-maven-plugin directory but getting the below error.  Can you please let me know if I am missing anything here?.  I did set up the proxy variables and running this command from GIT bash session
>
>
>
>
>
>
> $ mvn clean install
> [INFO] Scanning for projects...
> Downloading: https://repo.maven.apache.org/maven2/org/apache/nifi/nifi-parent/1.
> 0.0-incubating/nifi-parent-1.0.0-incubating.pom
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [FATAL] Non-resolvable parent POM for org.apache.nifi:nifi-nar-maven-plugin:1.0.
> 2-incubating-SNAPSHOT: Could not transfer artifact org.apache.nifi:nifi-parent:p
> om:1.0.0-incubating from/to central (https://repo.maven.apache.org/maven2): Conn
> ect to repo.maven.apache.org:443 [repo.maven.apache.org/23.235.44.215] failed: C
> onnection timed out: connect and 'parent.relativePath' points at no local POM @
> line 18, column 13
> @
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.nifi:nifi-nar-maven-plugin:1.0.2-incubating-SNA
> PSHOT (c:\2014\nifi_test\nifi\nifi-nar-maven-plugin\pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM for org.apache.nifi:nifi-nar-maven-plugin:
> 1.0.2-incubating-SNAPSHOT: Could not transfer artifact org.apache.nifi:nifi-pare
> nt:pom:1.0.0-incubating from/to central (https://repo.maven.apache.org/maven2):
> Connect to repo.maven.apache.org:443 [repo.maven.apache.org/23.235.44.215] faile
> d: Connection timed out: connect and 'parent.relativePath' points at no local PO
> M @ line 18, column 13 -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
> ch.
> [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 rea
> d the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
> gException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
> delException
>
>
> Thanks
> Dattu
>
> ________________________________________________________
>
> The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.