Hey thanks for replying. Here are all the individual test results from "\nifi-framework-api\target\surefire-reports":
------------------------------------------------------------------------------- Test set: org.apache.nifi.authorization.TestAbstractPolicyBasedAuthorizer ------------------------------------------------------------------------------- Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.25 s - in org.apache.nifi.authorization.TestAbstractPolicyBasedAuthorizer ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Test set: org.apache.nifi.authorization.TestAccessPolicy ------------------------------------------------------------------------------- Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.nifi.authorization.TestAccessPolicy ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Test set: org.apache.nifi.authorization.TestGroup ------------------------------------------------------------------------------- Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.nifi.authorization.TestGroup ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Test set: org.apache.nifi.authorization.TestUser ------------------------------------------------------------------------------- Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.nifi.authorization.TestUser ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Test set: org.apache.nifi.bundle.BundleCoordinateTest ------------------------------------------------------------------------------- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.nifi.bundle.BundleCoordinateTest ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Test set: org.apache.nifi.bundle.BundleDetailsTest ------------------------------------------------------------------------------- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.nifi.bundle.BundleDetailsTest ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Test set: org.apache.nifi.web.TestRevision ------------------------------------------------------------------------------- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.nifi.web.TestRevision Thanks, Sunny -----Original Message----- From: Joe Witt <[email protected]> Sent: Monday, September 9, 2019 6:00 PM To: [email protected] Subject: Re: Build ERROR with amven-surefire-plugin Sunny You’ll need to share the test failure output. Thanks On Mon, Sep 9, 2019 at 8:15 PM Sunny Zhang <[email protected]> wrote: > 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] > https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki > .apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FMojoFailureException& > data=02%7C01%7CSunny.Zhang%40microsoft.com%7C4b7505235fac452fa07108d73 > 58a466c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63703674033300429 > 2&sdata=L2ykDK7Mywiuy7CwU%2BWmyEgJAp8pAagLEuo9Lll4Abs%3D&reser > ved=0 > [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 > > >
