You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the docs and get the below failure while running Maven install. Please advise.
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/open-saber/java/middleware/registry-middleware/authorization/target/jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ authorization ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /open-saber/java/middleware/registry-middleware/authorization/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ authorization ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /open-saber/java/middleware/registry-middleware/authorization/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ authorization ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /open-saber/java/middleware/registry-middleware/authorization/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ authorization ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /open-saber/java/middleware/registry-middleware/authorization/target/test-classes
[INFO] /open-saber/java/middleware/registry-middleware/authorization/src/test/java/io/opensaber/registry/authorization/AuthorizationFilterTest.java: /open-saber/java/middleware/registry-middleware/authorization/src/test/java/io/opensaber/registry/authorization/AuthorizationFilterTest.java uses unchecked or unsafe operations.
[INFO] /open-saber/java/middleware/registry-middleware/authorization/src/test/java/io/opensaber/registry/authorization/AuthorizationFilterTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ authorization ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /open-saber/java/middleware/registry-middleware/authorization/target/surefire-reports/2020-01-23T05-37-35_953-jvmRun1.dumpstream
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Open Software Archetype for Building Electronic Registries 2.0.2 SUCCESS [ 1.114 s]
[INFO] pojos 2.0.2 ........................................ SUCCESS [ 6.544 s]
[INFO] middleware commons 2.0.2 ........................... SUCCESS [ 3.296 s]
[INFO] middleware-bom 2.0.2 ............................... SUCCESS [ 0.004 s]
[INFO] registry-middleware 2.0.2 .......................... SUCCESS [ 0.004 s]
[INFO] Authorization 2.0.2 ................................ FAILURE [ 4.409 s]
[INFO] Validation 2.0.2 ................................... SKIPPED
[INFO] validators 2.0.2 ................................... SKIPPED
[INFO] Json based Validation 2.0.2 ........................ SKIPPED
[INFO] JSON schema based validation 2.0.2 ................. SKIPPED
[INFO] registry-interceptors 2.0.2 ........................ SKIPPED
[INFO] Transaction Event Handler 2.0.2 .................... SKIPPED
[INFO] Elastic-Search 2.0.2 ............................... SKIPPED
[INFO] sunbird-actor 1.0.0 ................................ SKIPPED
[INFO] Opensaber-Audit 2.0.2 .............................. SKIPPED
[INFO] opensaber-actors 2.0.2 ............................. SKIPPED
[INFO] view-templates 1.0.0 ............................... SKIPPED
[INFO] registry 2.0.2 ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.357 s
[INFO] Finished at: 2020-01-23T05:37:44Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project authorization: There are test failures.
[ERROR]
[ERROR] Please refer to /open-saber/java/middleware/registry-middleware/authorization/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /open-saber/java/middleware/registry-middleware/authorization && /usr/lib/jvm/java-11-openjdk-amd64/bin/java -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/open-saber/java/middleware/registry-middleware/authorization/target/jacoco.exec -jar /open-saber/java/middleware/registry-middleware/authorization/target/surefire/surefirebooter7788883352922752064.jar /open-saber/java/middleware/registry-middleware/authorization/target/surefire 2020-01-23T05-37-35_953-jvmRun1 surefire16210920398346207136tmp surefire_113944365439261665770tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /open-saber/java/middleware/registry-middleware/authorization && /usr/lib/jvm/java-11-openjdk-amd64/bin/java -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/open-saber/java/middleware/registry-middleware/authorization/target/jacoco.exec -jar /open-saber/java/middleware/registry-middleware/authorization/target/surefire/surefirebooter7788883352922752064.jar /open-saber/java/middleware/registry-middleware/authorization/target/surefire 2020-01-23T05-37-35_953-jvmRun1 surefire16210920398346207136tmp surefire_113944365439261665770tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:671)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1194)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1022)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:868)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR]
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :authorization
root@55724427e189:/open-saber/java# mvn clean install > out.txt
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
The text was updated successfully, but these errors were encountered:
I followed the docs and get the below failure while running Maven install. Please advise.
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/open-saber/java/middleware/registry-middleware/authorization/target/jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ authorization ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /open-saber/java/middleware/registry-middleware/authorization/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ authorization ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /open-saber/java/middleware/registry-middleware/authorization/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ authorization ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /open-saber/java/middleware/registry-middleware/authorization/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ authorization ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /open-saber/java/middleware/registry-middleware/authorization/target/test-classes
[INFO] /open-saber/java/middleware/registry-middleware/authorization/src/test/java/io/opensaber/registry/authorization/AuthorizationFilterTest.java: /open-saber/java/middleware/registry-middleware/authorization/src/test/java/io/opensaber/registry/authorization/AuthorizationFilterTest.java uses unchecked or unsafe operations.
[INFO] /open-saber/java/middleware/registry-middleware/authorization/src/test/java/io/opensaber/registry/authorization/AuthorizationFilterTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ authorization ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /open-saber/java/middleware/registry-middleware/authorization/target/surefire-reports/2020-01-23T05-37-35_953-jvmRun1.dumpstream
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Open Software Archetype for Building Electronic Registries 2.0.2 SUCCESS [ 1.114 s]
[INFO] pojos 2.0.2 ........................................ SUCCESS [ 6.544 s]
[INFO] middleware commons 2.0.2 ........................... SUCCESS [ 3.296 s]
[INFO] middleware-bom 2.0.2 ............................... SUCCESS [ 0.004 s]
[INFO] registry-middleware 2.0.2 .......................... SUCCESS [ 0.004 s]
[INFO] Authorization 2.0.2 ................................ FAILURE [ 4.409 s]
[INFO] Validation 2.0.2 ................................... SKIPPED
[INFO] validators 2.0.2 ................................... SKIPPED
[INFO] Json based Validation 2.0.2 ........................ SKIPPED
[INFO] JSON schema based validation 2.0.2 ................. SKIPPED
[INFO] registry-interceptors 2.0.2 ........................ SKIPPED
[INFO] Transaction Event Handler 2.0.2 .................... SKIPPED
[INFO] Elastic-Search 2.0.2 ............................... SKIPPED
[INFO] sunbird-actor 1.0.0 ................................ SKIPPED
[INFO] Opensaber-Audit 2.0.2 .............................. SKIPPED
[INFO] opensaber-actors 2.0.2 ............................. SKIPPED
[INFO] view-templates 1.0.0 ............................... SKIPPED
[INFO] registry 2.0.2 ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.357 s
[INFO] Finished at: 2020-01-23T05:37:44Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project authorization: There are test failures.
[ERROR]
[ERROR] Please refer to /open-saber/java/middleware/registry-middleware/authorization/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /open-saber/java/middleware/registry-middleware/authorization && /usr/lib/jvm/java-11-openjdk-amd64/bin/java -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/open-saber/java/middleware/registry-middleware/authorization/target/jacoco.exec -jar /open-saber/java/middleware/registry-middleware/authorization/target/surefire/surefirebooter7788883352922752064.jar /open-saber/java/middleware/registry-middleware/authorization/target/surefire 2020-01-23T05-37-35_953-jvmRun1 surefire16210920398346207136tmp surefire_113944365439261665770tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /open-saber/java/middleware/registry-middleware/authorization && /usr/lib/jvm/java-11-openjdk-amd64/bin/java -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/open-saber/java/middleware/registry-middleware/authorization/target/jacoco.exec -jar /open-saber/java/middleware/registry-middleware/authorization/target/surefire/surefirebooter7788883352922752064.jar /open-saber/java/middleware/registry-middleware/authorization/target/surefire 2020-01-23T05-37-35_953-jvmRun1 surefire16210920398346207136tmp surefire_113944365439261665770tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:671)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1194)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1022)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:868)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR]
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :authorization
root@55724427e189:/open-saber/java# mvn clean install > out.txt
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
The text was updated successfully, but these errors were encountered: