nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunny Zhang <Sunny.Zh...@microsoft.com.INVALID>
Subject Build ERROR with amven-surefire-plugin
Date Tue, 10 Sep 2019 00:14:56 GMT
Hi! I was blocked for this for a long while, hope anyone can help!

I always get ERROR when I build with
mvn -T C2.0 clean install -Pinclude-grp

[INFO] dockermaven-stateless .............................. SUCCESS [ 17.104 s]
[INFO] dockerhub .......................................... SUCCESS [ 19.432 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:39 min (Wall Clock)
[INFO] Finished at: 2019-09-09T15:36:59-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test
(default-test) on project nifi-properties-loader: There are test failures.
[ERROR]
[ERROR] Please refer to D:\Projects\Nifi-Original\nifi-master\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-properties-loader\target\surefire-reports
for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream
and [date]-jvmRun[N].dumpstream.
[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 <goals> -rf :nifi-properties-loader

^ this is 100% the fresh master branch code, but I still can't build.

If I skip test
mvn -T C2.0 clean install -Pinclude-grpc -DskipTests
then it will succeed.

How can I fix it??

Thanks.

Best,
Sunny



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message