Code Monkey home page Code Monkey logo

onap-root's Introduction

onap-root's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

onap-root's Issues

Adjust grep on config pod wait check

From: Ramki Krishnan [mailto:[email protected]]
Sent: Saturday, December 2, 2017 10:05
To: Michael O'Brien [email protected]
Subject: minor fix in your script

Hi Michael,

Your script needs a minor fix, need to change grep 1/1 to grep 0/1.

usually the prepull takes up to 15 min - however hourly builds will finish the docker pulls before the config pod is finisheed

echo "verify onap-config is 0/1 not 1/1 - as in completed"
while [ $(kubectl get pods -n onap -a | grep config | grep 0/1 | wc -l) -gt 0 ]; do
sleep 15
echo "waiting for config pod to complete"
done

echo "start onap pods"

--
Thanks,
Ramki

Errors in process pom.xml and settings.xml

Hello,

I'm following the Building Entire ONAP instructions (as of 2/6/2020), but I'm getting the errors below.

Is Building Entire ONAP the correct link to the current insturctions to get the ONAP code and build it?

Thanks,

Dan

I cloned: https://github.com/obrienlabs/onap-root

Followed instructions and executed:

mvn clean install -U -DskipTests=true -Dmaven.test.skip=true -Dmaven.javadoc.skip=true

The pom.xml has the following errors:

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[ERROR] Child module /Users/dcoffey/Docs/Telecom/ONAP/code/git/logging-analytics/pomba-context-aggregator of /Users/dcoffey/Docs/Telecom/ONAP/code/git/pom.xml does not exist @ 

PATH on line 136 is wrong, should be:

logging-analytics/pomba/pomba-context-aggregator

[ERROR] Child module /Users/dcoffey/Docs/Telecom/ONAP/code/git/msb/service-mesh/pom.xml of /Users/dcoffey/Docs/Telecom/ONAP/code/git/pom.xml does not exist @ 

line 147 should be commented out - no pom.xml in PATH

[ERROR] Child module /Users/dcoffey/Docs/Telecom/ONAP/code/git/sdc/security-utils of /Users/dcoffey/Docs/Telecom/ONAP/code/git/pom.xml does not exist @ 

line 187 should be commented out - the folder "sdc/security-utils" does not exist in the file structure cloned.

These edits above fix the above errors.

Then these errors:

[INFO] ----------------------< org.onap.oparent:version >----------------------

[INFO] Building oparent 3.0.0-SNAPSHOT [1/871]

[INFO] --------------------------------[ pom ]---------------------------------

[INFO]

[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ version ---

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireProperty failed with message:

You must set a onap.nexus.url property in your ~/.m2/settings.xml. See oparent/settings.xml for an example.

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] oparent 3.0.0-SNAPSHOT ............................. FAILURE [ 0.291 s]

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.138 s
[INFO] Finished at: 2020-02-07T12:05:35-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) on project version: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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/MojoExecutionException

Copied the sections below from oparent/settings.xml into ~/.m2/settings.xml

FIX: edit ~/.m2/settings.xml

ADD:

onap-settings https://nexus.onap.org

and

In section

         <activeProfile>onap-settings</activeProfile>

Build still fails with Java errors:

[INFO] onap.root 1.1.0-SNAPSHOT ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.128 s
[INFO] Finished at: 2020-02-07T14:00:11-05:00
[INFO] ------------------------------------------------------------------------

constituent[0]: file:/usr/local/Cellar/maven/3.6.3/libexec/conf/logging/
constituent[1]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-plugin-api-3.6.3.jar
constituent[2]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-compat-3.6.3.jar
constituent[3]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-resolver-util-1.4.1.jar
constituent[4]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/plexus-component-annotations-2.1.0.jar
constituent[5]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-settings-builder-3.6.3.jar
constituent[6]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/plexus-cipher-1.7.jar
constituent[7]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/plexus-interpolation-1.25.jar
constituent[8]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-resolver-spi-1.4.1.jar
constituent[9]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/guice-4.2.1-no_aop.jar
constituent[10]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-artifact-3.6.3.jar
constituent[11]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-resolver-provider-3.6.3.jar
constituent[12]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/cdi-api-1.0.jar
constituent[13]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-slf4j-provider-3.6.3.jar
constituent[14]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/plexus-utils-3.2.1.jar
constituent[15]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/plexus-sec-dispatcher-1.4.jar
constituent[16]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-repository-metadata-3.6.3.jar
constituent[17]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/commons-cli-1.4.jar
constituent[18]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-resolver-transport-wagon-1.4.1.jar
constituent[19]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/commons-io-2.5.jar
constituent[20]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/jansi-1.17.1.jar
constituent[21]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-model-builder-3.6.3.jar
constituent[22]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-embedder-3.6.3.jar
constituent[23]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/wagon-file-3.3.4.jar
constituent[24]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/org.eclipse.sisu.inject-0.3.4.jar
constituent[25]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-resolver-connector-basic-1.4.1.jar
constituent[26]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-settings-3.6.3.jar
constituent[27]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-model-3.6.3.jar
constituent[28]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-resolver-api-1.4.1.jar
constituent[29]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/jcl-over-slf4j-1.7.29.jar
constituent[30]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/wagon-http-3.3.4-shaded.jar
constituent[31]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/org.eclipse.sisu.plexus-0.3.4.jar
constituent[32]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/slf4j-api-1.7.29.jar
constituent[33]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-builder-support-3.6.3.jar
constituent[34]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/jsoup-1.12.1.jar
constituent[35]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/wagon-provider-api-3.3.4.jar
constituent[36]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-shared-utils-3.2.1.jar
constituent[37]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-resolver-impl-1.4.1.jar
constituent[38]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/maven-core-3.6.3.jar
constituent[39]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/javax.inject-1.jar
constituent[40]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/commons-lang3-3.8.1.jar
constituent[41]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/guava-25.1-android.jar
constituent[42]: file:/usr/local/Cellar/maven/3.6.3/libexec/lib/jsr250-api-1.0.jar

Exception in thread "main" java.lang.Error: java.lang.reflect.InvocationTargetException
at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.(BGMBuilder.java:146)
at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(BGMBuilder.java:116)
at com.sun.tools.xjc.ModelLoader.annotateXMLSchema(ModelLoader.java:426)
at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:175)
at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:120)
at org.jvnet.mjiip.v_2_2.XJC22Mojo.loadModel(XJC22Mojo.java:50)
at org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:40)
at org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:27)
at org.jvnet.jaxb2.maven2.RawXJC2Mojo.doExecute(RawXJC2Mojo.java:314)
at org.jvnet.jaxb2.maven2.RawXJC2Mojo.execute(RawXJC2Mojo.java:156)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
... 32 more
Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
at com.sun.tools.xjc.reader.xmlschema.BindingComponent.getClassSelector(BindingComponent.java:65)
at com.sun.tools.xjc.reader.xmlschema.ColorBinder.(ColorBinder.java:62)
at com.sun.tools.xjc.reader.xmlschema.BindGreen.(BindGreen.java:63)
... 38 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
... 41 more
Caused by: java.lang.NoClassDefFoundError: javax/activation/MimeTypeParseException
at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3142)
at java.base/java.lang.Class.getConstructor0(Class.java:3347)
at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2558)
at com.sun.tools.xjc.reader.Ring.get(Ring.java:100)
at com.sun.tools.xjc.reader.xmlschema.DefaultClassBinder.(DefaultClassBinder.java:98)
at com.sun.tools.xjc.reader.xmlschema.ClassSelector.(ClassSelector.java:214)
... 47 more
Caused by: java.lang.ClassNotFoundException: javax.activation.MimeTypeParseException
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
... 54 more

dcoffey@14:00:11 ~/Docs/Telecom/ONAP/code/git

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.