Open Network Automation Platform - root project https://wiki.onap.org/display/DW/Building+Entire+ONAP
obrienlabs / onap-root Goto Github PK
View Code? Open in Web Editor NEWOpen Network Automation Platform - root project
Open Network Automation Platform - root project
Open Network Automation Platform - root project https://wiki.onap.org/display/DW/Building+Entire+ONAP
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.
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
https://gerrit.onap.org/r/#/q/status:merged
root@ip-172-31-82-46:# docker login -u docker -p docker nexus3.onap.org:10001# docker pull nexus3.onap.org:10001/onap/sdnc-image:1.2-STAGING-latest
Login Succeeded
root@ip-172-31-82-46:
Pulling repository nexus.onap.org:10001/onap/sdnc-image
Based on Brain Bainbridge https://github.com/dbainbri-ciena/onap-manifest
see code currently in review.
https://git.onap.org/oom
https://jira.onap.org/browse/OOM-710
https://jira.onap.org/browse/OOM-715
https://gerrit.onap.org/r/32019
https://jira.onap.org/browse/OOM-716
https://gerrit.onap.org/r/32653
Design page below
https://wiki.onap.org/display/DW/ONAP+on+Kubernetes+on+Microsoft+Azure
thank you
Michael O'Brien
ONAP
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.organd
In section
<activeProfile>onap-settings</activeProfile>
Build still fails with Java errors:
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
Line 33 in dd588a0
Hello,
Is pom.xml referencing the paths as created by git_recurse.sh.
Please update pom.xml accordingly so that it is up to date with git_recurse.sh.
Thank You.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.