[RELENG-37] CONTROLLER Carbon Autorelease Build Failures Created: 27/Oct/16 Updated: 19/Oct/17 Resolved: 31/Oct/16 |
|
| Status: | Resolved |
| Project: | releng |
| Component/s: | Autorelease |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | A H | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 7053 |
| Description |
|
There are Carbon Autorelease Build Failures in sal-clustering-commons. 00:48:33 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project sal-clustering-commons: Compilation failure: Compilation failure: |
| Comments |
| Comment by Vratko Polak [ 29/Oct/16 ] |
|
The reference to the class in question was introduced here: Controller merge jobs download the required jar and compilation passes without any issues: I have no idea why the autorelease job never attempts such a download, thus ignoring odlparent:odlparent declaration: Attempted workaround: https://git.opendaylight.org/gerrit/47751 But the real issue is somewhere else: autorelease, odlparent:odlparent, or perhaps controller:commons.opendaylight. |
| Comment by Vratko Polak [ 30/Oct/16 ] |
|
So it was the known issue of autorelease not updating submodules (in this case odlparent commit is from before 47357 was merged). Fix for the current submodule commits: https://git.opendaylight.org/gerrit/47755 Maybe we need a job to perform "git checkout {branch}" in each submodule (and push the new commit to autorelease master) before triggering autorelease-release- {stream}. |
| Comment by Robert Varga [ 30/Oct/16 ] |
|
I think this may have something to do with: Downloading: http://oss.sonatype.org/content/repositories/snapshots/org/opendaylight/odlparent/findbugs/1.8.0-SNAPSHOT/maven-metadata.xml Which points to findbugs not having proper declaration of scm/distributionManagement or similar. |
| Comment by Robert Varga [ 30/Oct/16 ] |
|
https://git.opendaylight.org/gerrit/47759 Another thing that occurs to me is the annotations version – we have 3.0.0 declared, but the plugin uses 3.0.1: http://gleclaire.github.io/findbugs-maven-plugin/dependency-updates-report.html https://git.opendaylight.org/gerrit/47760 should address that. |
| Comment by Stephen Kitt [ 31/Oct/16 ] |
|
autorelease is lagging behind odlparent (again): $ git submodule status odlparent |
| Comment by Thanh Ha (zxiiro) [ 31/Oct/16 ] |
|
Updated and merged Vratko's patch for autorelease. Thanks everyone. |