Gary,Thanks for your help. It seems everything is okay for this at moment. This ticket could be closed. Best Regards,Guangrong
原始邮件 发件人:GaryWuviaRT 收件人:steven20...@gmail.com 抄送人:onap-discuss@lists.onap.org 日期:2017-09-01 01:39:42 主题:Re: [onap-discuss] [ONAP Helpdesk #44749] Help is Needed forJenkinsJob Failure Hi Guangrong,I just re-triggered those jobs (with no other changes) and they completed successfully. I suspect there were some issues with Nexus at the time when those jobs were run.Thanks,GaryFrom: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of fu.guangr...@zte.com.cnSent: Thursday, August 31, 2017 8:28 AMTo: onap-helpdesk@rt.linuxfoundation.orgCc: onap-disc...@lists.onap.orgSubject: Re: [onap-discuss] [ONAP Helpdesk #44749] Help is Needed forJenkins Job FailureGary,I feel so sorry to tell you some of our *-release-version-java-daily jobs are still failing due to some errors in the pom file. The links of the jobs are as following:https://jenkins.onap.org/view/holmes/job/holmes-rule-management-master-release-version-java-daily/9/consolehttps://jenkins.onap.org/view/holmes/job/holmes-engine-management-master-release-version-java-daily/9/consoleThe errors are about the <relativePath> info (which is ommited in our pom).I don't kno w why th is is happening because the job which shares the similar pom configurations is perfectly ok:https://jenkins.onap.org/view/holmes/job/holmes-common-master-release-version-java-daily/9/console<http://https:/jenkins.onap.org/view/holmes/job/holmes-common-master-release-version-java-daily/9/console>We can see the coverage data in Sonar as well.As a matter of fact, the configurations on the parent pom are exactly the same (see the screenshots below). Why did some of them pass the job while others failed? Please do help to solve this. We are sort of desperate because we've been struggling on the Sonar things for more than one week.[cid:image001.png@01D32245.6BAF1340][cid:image002.png@01D32245.6BAF1340][cid:image003.png@01D32245.6BAF1340]Thanks in advance.GuangrongOriginal MailSender: <onap-helpd...@rt.linuxfoundation.org<mailto:onap-helpd...@rt.linuxfoundation.org>>To: <steven20...@gmail.com<mailto:steven20...@gmail.com>>CC: <onap-discuss@lists.onap.org<mailto:onap-discuss@list s.onap.o rg>>Date: 2017/08/31 06:31Subject: Re: [onap-discuss] [ONAPHelpdesk #44749] Help is Needed forJenkins Job FailureHi Guangrong,The enforcer checks in oparent 1.0.0-SNAPSHOT have been changed to warnings now, and your job should complete successfully once it's re-triggered.Thanks,Gary-----Original Message-----From: onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Guangrong Fu via RTSent: Wednesday, August 30, 2017 8:32 AMCc: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>Subject: Re: [onap-discuss] [ONAP Helpdesk #44749] Help is Needed for Jenkins Job FailureDear Jess,Thanks for your information.Actually the code fragment you provided is already included in the pom file of OPARENT. The reason for the absence of the *.exec file is that we introduced the org.onap.oparent:version:1.0.0-SNAPSHOT rather than org.onap.oparent:parent:1.0.0-SNAPSHOT as our parent pom by mistake. No w it's f ixed and we can see the jacoco-ut.exec on our local machine. So let's check whether Sonar could find it or not.Unfortunately, problems keep rising:Two of our *-release-version-java jobs have been failing recently. The explicit error we get is as follows:*12:27:39* [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce(enforce-no-snapshots) on project holmes-rulemgt: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]*12:27:39* [ERROR] *12:27:39* [ERROR] To see the full stack trace of the errors, re-run Maven with the -eswitch.*12:27:39* [ERROR] Re-run Maven using the -X switch to enable full debug logging.*12:27:39* [ERROR] *12:27:39* [ERROR] For more information about the errors and possible solutions, please read the following articles:*12:27:39* [ERROR] [Help 1]http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException*12:27:39*[ERROR] *12:27:39* [ERROR] After co rrecting the problems, you canresume the build with the command*12:27:39* [ERROR] mvn <goals> -rf:holmes-rulemgtIt seems to be caused by the following problem about which I am not totally sure :Found Banned Dependency:org.onap.holmes.common:holmes-actions:jar:1.0.0-SNAPSHOTCould you please help to take a look at it?For another job, the failure is caused by the connection issue:[ERROR] SonarQube server [https://sonar.onap.org] can not be reachedOnly all of these issues are fixed can we get to know whether the changes in the pom files are correct. So I wish all of the problems above could be solved as soon as possible.Thanks.GuangrongBest Regards,GuangrongOn Wed, Aug 30, 2017 at 5:19 AM, Jessica Wagantall via RT < onap-helpd...@rt.linuxfoundation.org<mailto:onap-helpd...@rt.linuxfoundation.org>> wrote:> Dear Guangrong,>> my team member Thanh confirmed that there is this basic configuration> needed. Here is an example from what ODL has in one of their repos:>> <!-- Default Sonar configur ation -->> <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>> <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>> <sonar.jacoco.reportPath>${project.build.directory}/code-> coverage/jacoco.exec</sonar.jacoco.reportPath>> <sonar.jacoco.itReportPath>${project.build.directory}/code-> coverage/jacoco-it.exec</sonar.jacoco.itReportPath>> <!-- Note: This list should match jacoco-maven-plugin's exclusion> list below -->> <sonar.exclusions>**/gen/**,**/generated-sources/**,**/> generated-test-sources/**,**/yang-gen/**,**/yang-gen-> config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</> sonar.exclusions>>>> Please let me know if this helps.> Thanks!> Jess>>_______________________________________________onap-discuss mailing listonap-disc...@lists.onap.org<mailto:onap-discuss@lists.onap.org>https://lists.onap.org/mailman/listinfo/onap-discuss_______________________________________________onap-discuss mailing listonap- discuss@ lists.onap.org<mailto:onap-discuss@lists.onap.org>https://lists.onap.org/mailman/listinfo/onap-discuss _______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss