AAI Dev SetUp Issues while running this command

* cd ~/src/aai/graphadmin/ && mvn -PrunAjsc 
-Dstart-class=org.onap.aai.schema.GenTester 
-Daai.schema.version=0.0.1-TEST-SNAPSHOT 
-Daai.schema.ingest.version=0.0.1-TEST-SNAPSHOT -DskipTests 
-Dcheckstyle.skip=true -DAJSC_HOME=$HOME/src/aai/graphadmin 
-DBUNDLECONFIG_DIR=src/main/resources

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18598): https://lists.onap.org/g/onap-discuss/message/18598
Mute This Topic: https://lists.onap.org/mt/32941970/21656
Mute #aai: https://lists.onap.org/mk?hashtag=aai&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for 
org.onap.aai.graphadmin:aai-graphadmin:jar:0.0.1-TEST-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: org.antlr:antlr4-runtime:jar -> duplicate declaration of version 
${antlr.version} @ line 667, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING]
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with 
nexus-staging-maven-plugin
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building aai-graphadmin 0.0.1-TEST-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-no-snapshots) @ 
aai-graphadmin ---
[INFO]
[INFO] --- gmaven-plugin:1.0:execute (default) @ aai-graphadmin ---
0.0.1-TEST-SNAPSHOT
New Tag for docker:0.0-STAGING-latest
[INFO]
[INFO] --- maven-dependency-plugin:2.8:unpack (unpack-schema-dependency) @ 
aai-graphadmin ---
[INFO] Configured Artifact: 
org.onap.aai.schema-service:aai-schema:0.0.1-TEST-SNAPSHOT:jar
[INFO] aai-schema-0.0.1-TEST-SNAPSHOT.jar already unpacked.
[INFO]
[INFO] --- maven-dependency-plugin:2.8:unpack (unpack-edgerules-dependency) @ 
aai-graphadmin ---
[INFO] Configured Artifact: 
org.onap.aai.schema-service:aai-schema:0.0.1-TEST-SNAPSHOT:jar
[INFO] aai-schema-0.0.1-TEST-SNAPSHOT.jar already unpacked.
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ 
aai-graphadmin ---
[INFO] surefireArgLine set to 
-javaagent:/home/ranvijay/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ranvijay/src/aai/graphadmin/target/code-coverage/jacoco-ut.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/**,dumponexit=true
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent 
(jacoco-initialize-unit-tests) @ aai-graphadmin ---
[INFO] argLine set to 
-javaagent:/home/ranvijay/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ranvijay/src/aai/graphadmin/target/coverage-reports/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/**,dumponexit=true
[INFO]
[INFO] --- antlr4-maven-plugin:4.7:antlr4 (default) @ aai-graphadmin ---
[INFO] No grammars to process
[INFO] ANTLR 4: Processing source directory 
/home/ranvijay/src/aai/graphadmin/src/main/resources/antlr4
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (onap-license) @ aai-graphadmin 
---
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (onap-java-style) @ 
aai-graphadmin ---
[INFO]
[INFO] --- license-maven-plugin:3.0:check (default) @ aai-graphadmin ---
[INFO] Checking licenses...
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
aai-graphadmin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 59 resources
[INFO] skip non existing resourceDirectory 
/home/ranvijay/src/aai/graphadmin/src/main/swm
[INFO] Copying 5 resources to 
/home/ranvijay/src/aai/graphadmin/target/swm/package/nix/dist_files/opt/app/aai-graphadmin/appconfig
[INFO] Copying 9 resources to 
/home/ranvijay/src/aai/graphadmin/target/swm/package/nix/dist_files/opt/app/aai-graphadmin/appconfig
[INFO] Copying 36 resources to 
/home/ranvijay/src/aai/graphadmin/target/swm/package/nix/dist_files/opt/app/aai-graphadmin/appconfig/schema
[INFO] Copying 3 resources to 
/home/ranvijay/src/aai/graphadmin/target/aai-graphadmin-0.0.1-TEST-SNAPSHOT-build/
[INFO] Copying 2 resources to 
/home/ranvijay/src/aai/graphadmin/target/swm/package/nix/dist_files/opt/app/aai-graphadmin/appconfig
[INFO] skip non existing resourceDirectory 
/home/ranvijay/src/aai/graphadmin/src/main/resources/migration-input-files
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ aai-graphadmin 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 140 source files to 
/home/ranvijay/src/aai/graphadmin/target/classes
[INFO] 
/home/ranvijay/src/aai/graphadmin/src/main/java/org/onap/aai/web/JerseyConfiguration.java:
 Some input files use or override a deprecated API.
[INFO] 
/home/ranvijay/src/aai/graphadmin/src/main/java/org/onap/aai/web/JerseyConfiguration.java:
 Recompile with -Xlint:deprecation for details.
[INFO] 
/home/ranvijay/src/aai/graphadmin/src/main/java/org/onap/aai/migration/NotificationHelper.java:
 Some input files use unchecked or unsafe operations.
[INFO] 
/home/ranvijay/src/aai/graphadmin/src/main/java/org/onap/aai/migration/NotificationHelper.java:
 Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
aai-graphadmin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 30 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
aai-graphadmin ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ aai-graphadmin ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (post-unit-test) @ aai-graphadmin 
---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ aai-graphadmin ---
[INFO] Building jar: 
/home/ranvijay/src/aai/graphadmin/target/aai-graphadmin-0.0.1-TEST-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.20.RELEASE:repackage (default) @ 
aai-graphadmin ---
[INFO] Layout: ZIP
[INFO]
[INFO] --- maven-assembly-plugin:2.4.1:single (make-assembly) @ aai-graphadmin 
---
[INFO] Reading assembly descriptor: src/main/assembly/descriptor.xml
[INFO] Copying files to 
/home/ranvijay/src/aai/graphadmin/target/aai-graphadmin-0.0.1-TEST-SNAPSHOT-build
[WARNING] Assembly file: 
/home/ranvijay/src/aai/graphadmin/target/aai-graphadmin-0.0.1-TEST-SNAPSHOT-build
 is not a regular file (it may be a directory). It cannot be attached to the 
project build for installation or deployment.
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (run-spring-boot) @ aai-graphadmin ---
    ---- NOTE --- about to open graph (takes a little while)--------;
[WARNING]
java.lang.ExceptionInInitializerError
        at org.onap.aai.dbmap.AAIGraph.getInstance(AAIGraph.java:103)
        at org.onap.aai.schema.GenTester.main(GenTester.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Failed to instantiate graphs
        at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:85)
        at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:57)
        at org.onap.aai.dbmap.AAIGraph$Helper.<clinit>(AAIGraph.java:90)
        ... 8 more
Caused by: java.lang.IllegalArgumentException: Could not instantiate 
implementation: 
org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager
        at 
org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:69)
        at 
org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477)
        at 
org.janusgraph.diskstorage.Backend.getStorageManager(Backend.java:409)
        at 
org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1376)
        at 
org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:164)
        at 
org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:133)
        at 
org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:113)
        at org.onap.aai.dbmap.AAIGraph.loadGraph(AAIGraph.java:115)
        at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:82)
        ... 10 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at 
org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:58)
        ... 18 more
Caused by: org.janusgraph.diskstorage.TemporaryBackendException: Temporary 
failure in storage backend
        at 
org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager.ensureKeyspaceExists(AstyanaxStoreManager.java:619)
        at 
org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager.<init>(AstyanaxStoreManager.java:314)
        ... 23 more
Caused by: com.netflix.astyanax.connectionpool.exceptions.PoolTimeoutException: 
PoolTimeoutException: [host=localhost(127.0.0.1):9160, latency=10001(10001), 
attempts=1]Timed out waiting for connection
        at 
com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.waitForConnection(SimpleHostConnectionPool.java:231)
        at 
com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.borrowConnection(SimpleHostConnectionPool.java:198)
        at 
com.netflix.astyanax.connectionpool.impl.RoundRobinExecuteWithFailover.borrowConnection(RoundRobinExecuteWithFailover.java:84)
        at 
com.netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryOperation(AbstractExecuteWithFailoverImpl.java:117)
        at 
com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352)
        at 
com.netflix.astyanax.thrift.ThriftClusterImpl.executeSchemaChangeOperation(ThriftClusterImpl.java:146)
        at 
com.netflix.astyanax.thrift.ThriftClusterImpl.internalCreateKeyspace(ThriftClusterImpl.java:321)
        at 
com.netflix.astyanax.thrift.ThriftClusterImpl.addKeyspace(ThriftClusterImpl.java:294)
        at 
org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager.ensureKeyspaceExists(AstyanaxStoreManager.java:614)
        ... 24 more
[WARNING] thread Thread[logback-1,5,org.onap.aai.schema.GenTester] was 
interrupted but is still alive after waiting at least 14999msecs
[WARNING] thread Thread[logback-1,5,org.onap.aai.schema.GenTester] will linger 
despite being asked to die via interruption
[WARNING] thread Thread[pool-6-thread-1,5,org.onap.aai.schema.GenTester] will 
linger despite being asked to die via interruption
[WARNING] NOTE: 2 thread(s) did not finish despite being asked to  via 
interruption. This is not a problem with exec:java, it is a problem with the 
running code. Although not serious, it should be remedied.
[WARNING] Couldn't destroy threadgroup 
org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup[name=org.onap.aai.schema.GenTester,maxpri=10]
java.lang.IllegalThreadStateException
        at java.lang.ThreadGroup.destroy(ThreadGroup.java:778)
        at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:321)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:09 min
[INFO] Finished at: 2019-08-19T12:08:48+05:30
[INFO] Final Memory: 122M/239M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java 
(run-spring-boot) on project aai-graphadmin: An exception occured while 
executing the Java class. null: ExceptionInInitializerError: Failed to 
instantiate graphs: Could not instantiate implementation: 
org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager: 
InvocationTargetException: Temporary failure in storage backend: 
PoolTimeoutException: [host=localhost(127.0.0.1):9160, latency=10001(10001), 
attempts=1]Timed out waiting for connection -> [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

Reply via email to