All, I submitted a set of changes yesterday that addressed this issue.
In summary, the problem was that, due most likely to a known issue with the Nexus “staging” feature that is used for our daily builds, the 1.1.0 version of the root pom (which hadn’t changed in quite a while) seemed to have been lost. To fix this, I had to: 1) Temporarily updated sdnc-core to comment out <parent> and <module> tags and updated root pom version to 1.1.0 to create a version 1.1.0 of the root pom. 2) Updated root pom version to 1.1.2 and created a version 1.1.2 (so that there is one and only one valid version of 1.1.2 root pom). 3) Uncommented the tags above, updated parent to use version 1.1.2 of root pom, and rolled version of sdnc-core to 1.1.2-SNAPSHOT. 4) Rolled all other sdnc- repos to version 1.1.2-SNAPSHOT, compiled against version 1.1.2 of root pom. The net result of all of that is that the current version of each repo in master is now 1.1.2-SNAPSHOT, and the current version of the root pom used by all is 1.1.2. With those changes, builds should be working again. Dan Dan Timoney Principal Technical Staff Member AT&T Email : [email protected]<mailto:[email protected]> Office : +1 (732) 420-3226 Mobile : +1 (201) 960-1211 200 S Laurel Ave, Rm E2-2A03 Middletown, NJ 08873 From: <[email protected]> on behalf of "OBRIEN, FRANK MICHAEL" <[email protected]> Date: Monday, June 5, 2017 at 5:50 PM To: "Shankar, Shashank Kumar" <[email protected]>, "FREEMAN, BRIAN D" <[email protected]>, Gary Wu <[email protected]>, "ROSE, DANIEL V" <[email protected]>, "[email protected]" <[email protected]> Subject: Re: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. Guys, Thank you, the build is working again – had to turn off the Javadoc task though. obrienbiometrics:core michaelobrien$ mvn clean install -U -DskipTests=true -Dmaven.test.skip=true -Dmaven.javadoc.skip=true [INFO] [INFO] SDN-C Core Components .............................. SUCCESS [ 2.605 s] … [INFO] SLI - Common Classes ............................... SUCCESS [ 9.976 s] [INFO] SLI - Provider ..................................... SUCCESS [ 1.321 s] … [INFO] BUILD SUCCESS [INFO] Total time: 36.349 s [INFO] Finished at: 2017-06-05T17:30:14-04:00 /michael From: [email protected] [mailto:[email protected]] On Behalf Of Shankar, Shashank Kumar Sent: Monday, June 5, 2017 17:01 To: FREEMAN, BRIAN D <[email protected]>; Gary Wu <[email protected]>; ROSE, DANIEL V <[email protected]>; [email protected] Subject: Re: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. Thanks for the suggestions. I think this now got fixed since a bunch of patches fixing it was submitted by the SDNC team under the bug [1] and hence the build seems to pass successfully on local and on gerrit. [1] - https://jira.onap.org/browse/SDNC-14<https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.onap.org_browse_SDNC-2D14&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=qLcfee4a2vOwYSub0bljcQ&m=NehxpnTXLv3MZ64H8yDU9m_RWOZO4auvbkPrIUZUOgI&s=LSxK-04tcLk0MSRDdM64a7jsqEu-zcxQaWfBb1ytqLA&e=> Regards, Shashank From: "FREEMAN, BRIAN D" <[email protected]<mailto:[email protected]>> Date: Saturday, June 3, 2017 at 3:58 PM To: Gary Wu <[email protected]<mailto:[email protected]>>, Shashank Kumar Shankar <[email protected]<mailto:[email protected]>>, "ROSE, DANIEL V" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. I’ve forwarded the question to SDNC. Not sure its a valid work around but if you copy rootpom to something like rootpom110 , modify the version to 1.1.0 and mvn clean install it will populate a root 1.1.0 in your local repository that seems to work. Or you can wait till Monday for the team to look into it :) Brian From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Gary Wu Sent: Friday, June 02, 2017 6:57 PM To: Shankar, Shashank Kumar <[email protected]<mailto:[email protected]>>; ROSE, DANIEL V <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: Re: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. Yes, that settings.xml does include staging. I took a look at the staging repo, and org.openecomp.sdnc.core:root:pom:1.1.0 that used to exist there is no longer there; instead, there’s a version 1.1.1. I suspect that the SDNC team has bumped the root pom version upstream but the corresponding change hasn’t been made in the downstream repos yet. Thanks, Gary From: Shankar, Shashank Kumar [mailto:[email protected]] Sent: Friday, June 02, 2017 3:44 PM To: Gary Wu <[email protected]<mailto:[email protected]>>; ROSE, DANIEL V <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: Re: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. Hi Gary, I am using the example settings.xml as given in [1] with proxy additions. But, irrespective, this error should’t occur at the gates? [1] - https://wiki.onap.org/display/DW/Setting+Up+Your+Development+Environment<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Setting-2BUp-2BYour-2BDevelopment-2BEnvironment&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=3deJ8z9AHsMOs7Kk_pDnWFRVgr0pErjr7pnk1PEjMwA&s=pclAh2JRLVyV7eLImYWXete_VYzxnGlJVEQeyJfufAs&e=> Thanks, Shashank. From: Gary Wu <[email protected]<mailto:[email protected]>> Date: Friday, June 2, 2017 at 2:59 PM To: Shashank Kumar Shankar <[email protected]<mailto:[email protected]>>, "ROSE, DANIEL V" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. Hi Shashank, Does your .m2/settings.xml include the ONAP staging repos? Thanks, Gary From:[email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Shankar, Shashank Kumar Sent: Friday, June 02, 2017 2:57 PM To: ROSE, DANIEL V <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: Re: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. Well, the error is failing at the gates as well. I have a patch [1] which fails due to same error [2]. So I ran the mvn install on a fresh master locally and it had the same error. I can put up a test patch without any code changes to check if it works fine at the gates. [1] - https://gerrit.onap.org/r/#/c/4557/<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_-23_c_4557_&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=3deJ8z9AHsMOs7Kk_pDnWFRVgr0pErjr7pnk1PEjMwA&s=ImPs13dVBuBvCeORUOx7ry1FQa5Zra0uwgUJcq5Gi7A&e=> [2] - https://logs.onap.org/production/vex-yul-ecomp-jenkins-1/sdnc-adaptors-master-verify-java-skip-tests/46/console.log.gz<https://urldefense.proofpoint.com/v2/url?u=https-3A__logs.onap.org_production_vex-2Dyul-2Decomp-2Djenkins-2D1_sdnc-2Dadaptors-2Dmaster-2Dverify-2Djava-2Dskip-2Dtests_46_console.log.gz&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=3deJ8z9AHsMOs7Kk_pDnWFRVgr0pErjr7pnk1PEjMwA&s=nagdH3Wqnc0N8QedYKNO_010IxpSIO2zGvCNscJj5r8&e=> Regards, Shashank From: "ROSE, DANIEL V" <[email protected]<mailto:[email protected]>> Date: Friday, June 2, 2017 at 2:50 PM To: Shashank Kumar Shankar <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. I think that’s a settings.xml thing? Daniel Rose ECOMP / ONAP com.att.ecomp 732-420-7308 From: Shankar, Shashank Kumar [mailto:[email protected]] Sent: Friday, June 02, 2017 5:49 PM To: ROSE, DANIEL V <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: Re: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. I am not sure why its looking into it. The build should work correctly in a fresh cloned master I assume. Here is another paste: http://paste.openstack.org/raw/611344/<https://urldefense.proofpoint.com/v2/url?u=http-3A__paste.openstack.org_raw_611344_&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=iRQv28FKL5YKAt1X7eUGoViH-gqaFo8_RQNfz3-Udpw&s=E4ACEWW-5MMmNXT37gvTZkbgyDjtQfcwoVCh08obVeE&e=> Thanks, Shashank. From: "ROSE, DANIEL V" <[email protected]<mailto:[email protected]>> Date: Friday, June 2, 2017 at 2:45 PM To: Shashank Kumar Shankar <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. Pastebin is blocked behind our firewall, but I don’t think youll find org.openecomp.sdnc.core:root:pom:1.1.0 in opendaylights repo Thanks, Daniel Rose ECOMP / ONAP com.att.ecomp 732-420-7308 From:[email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Shankar, Shashank Kumar Sent: Friday, June 02, 2017 5:44 PM To: [email protected]<mailto:[email protected]> Subject: [onap-discuss] Maven clean install build error in SDNC-Adaptor Master. Hi, I am running into build errors when 'mvn clean install' is run on freshly cloned SDNC-Adaptor master repo. The error is as seen here: [1]. My ~/.m2 has the latest settings.xml. It seems it can’t find org.openecomp.sdnc.core:root:pom:1.1.0 in https://nexus.opendaylight.org/content/repositories/public<https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.opendaylight.org_content_repositories_public&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=EpsGHef1-3q6XjlMhj0pr6QGHmDmg6b_ySh5gwW9LFM&s=1K8og7INgTmVYfYlMyrgZvtXUoeHTSprJoEizfOQF9k&e=>/. Any idea what’s going on? [1] - https://pastebin.com/raw/LLuHGYds<https://urldefense.proofpoint.com/v2/url?u=https-3A__pastebin.com_raw_LLuHGYds&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=EpsGHef1-3q6XjlMhj0pr6QGHmDmg6b_ySh5gwW9LFM&s=1tYR7-Ko1iOG850fCT9lEVZwEHRcWVWTJ6jNT1ciRZQ&e=> Best, Shashank. This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=qLcfee4a2vOwYSub0bljcQ&m=NehxpnTXLv3MZ64H8yDU9m_RWOZO4auvbkPrIUZUOgI&s=51OMeDbePGRse28u9fVDkS-zDoxnw9k6HpbJkMLNdT8&e=>
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
