Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
6813
-
High
Description
When verifying the build - https://git.opendaylight.org/gerrit/#/c/45369/
the l2switch build fails.
Logs for the build failure are here - https://logs.opendaylight.org/releng/jenkins092/l2switch-distribution-check-beryllium/9/_console-output.log.gz
Summary of failure -
[INFO] features-l2switch .................................. SUCCESS [ 15.539 s]
[INFO] distribution-karaf ................................. FAILURE [ 31.323 s]
[INFO] l2switch-artifacts ................................. SKIPPED
[INFO] l2switch ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:37 min
[INFO] Finished at: 2016-09-26T17:06:43+00:00
[INFO] Final Memory: 155M/1539M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.6:tree (default-cli) on project distribution-karaf: Execution default-cli of goal org.apache.maven.plugins:maven-dependency-plugin:2.6:tree failed: A required class was missing while executing org.apache.maven.plugins:maven-dependency-plugin:2.6:tree: org/sonatype/aether/graph/Dependency
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-dependency-plugin:2.6
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/tmp/r/org/apache/maven/plugins/maven-dependency-plugin/2.6/maven-dependency-plugin-2.6.jar
[ERROR] urls[1] = file:/tmp/r/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
[ERROR] urls[2] = file:/tmp/r/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[3] = file:/tmp/r/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
[ERROR] urls[4] = file:/tmp/r/org/apache/maven/reporting/maven-reporting-impl/2.0.5/maven-reporting-impl-2.0.5.jar
[ERROR] urls[5] = file:/tmp/r/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar
[ERROR] urls[6] = file:/tmp/r/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.jar
[ERROR] urls[7] = file:/tmp/r/commons-io/commons-io/1.4/commons-io-1.4.jar
[ERROR] urls[8] = file:/tmp/r/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
[ERROR] urls[9] = file:/tmp/r/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[ERROR] urls[10] = file:/tmp/r/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
[ERROR] urls[11] = file:/tmp/r/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
[ERROR] urls[12] = file:/tmp/r/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[13] = file:/tmp/r/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[ERROR] urls[14] = file:/tmp/r/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar
[ERROR] urls[15] = file:/tmp/r/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar
[ERROR] urls[16] = file:/tmp/r/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
[ERROR] urls[17] = file:/tmp/r/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
[ERROR] urls[18] = file:/tmp/r/org/apache/velocity/velocity/1.5/velocity-1.5.jar
[ERROR] urls[19] = file:/tmp/r/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar
[ERROR] urls[20] = file:/tmp/r/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
[ERROR] urls[21] = file:/tmp/r/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
[ERROR] urls[22] = file:/tmp/r/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
[ERROR] urls[23] = file:/tmp/r/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar
[ERROR] urls[24] = file:/tmp/r/org/codehaus/plexus/plexus-archiver/2.2/plexus-archiver-2.2.jar
[ERROR] urls[25] = file:/tmp/r/org/codehaus/plexus/plexus-utils/3.0.9/plexus-utils-3.0.9.jar
[ERROR] urls[26] = file:/tmp/r/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar
[ERROR] urls[27] = file:/tmp/r/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
[ERROR] urls[28] = file:/tmp/r/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[29] = file:/tmp/r/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.jar
[ERROR] urls[30] = file:/tmp/r/org/apache/maven/shared/maven-dependency-analyzer/1.3/maven-dependency-analyzer-1.3.jar
[ERROR] urls[31] = file:/tmp/r/asm/asm/3.3.1/asm-3.3.1.jar
[ERROR] urls[32] = file:/tmp/r/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[33] = file:/tmp/r/org/apache/maven/shared/maven-dependency-tree/2.0/maven-dependency-tree-2.0.jar
[ERROR] urls[34] = file:/tmp/r/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
[ERROR] urls[35] = file:/tmp/r/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.jar
[ERROR] urls[36] = file:/tmp/r/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
[ERROR] urls[37] = file:/tmp/r/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[project>org.opendaylight.l2switch:distribution-karaf:0.3.4-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------: org.sonatype.aether.graph.Dependency
[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/AetherClassNotFound
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :distribution-karaf
Build step 'Invoke top-level Maven targets' marked build as failure
[ssh-agent] Stopped.
[PostBuildScript] - Execution post build scripts.
[l2switch-distribution-check-beryllium] $ /bin/bash /tmp/hudson3398714963996466720.sh
cp: cannot stat ‘karaf*.log’: No such file or directory
Archiving artifacts
[PostBuildScript] - Execution post build scripts.