Closed satyarupsiddhanta closed 5 years ago
Hi, This is a randomly failing test, the PR fixing this will be merged soon, sorry for the inconvenience.
Hi, Would you please check now?
Ah thanks for the clarification @ruxandraRosu - I was getting it in #1282, but only when using 'unbuffer' on my Linux system. That would change timing characteristics I guess, so could be related.
I'll retry with latest master
I will check right now and let you know.
On Tue, 16 Jul, 2019, 6:52 PM Nigel Jones, notifications@github.com wrote:
Ah thanks for the clarification @ruxandraRosu https://github.com/ruxandraRosu - I was getting it in #1282 https://github.com/odpi/egeria/issues/1282, but only when using 'unbuffer' on my Linux system. That would change timing characteristics I guess, so could be related.
I'll retry with latest master
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/odpi/egeria/issues/1284?email_source=notifications&email_token=AGCH5ZV5FBZYN5A6HD5ZFBTP7XDPZA5CNFSM4ID4NVT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2A2M4Q#issuecomment-511813234, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCH5ZVMLNMKM6WJYNFJ4T3P7XDPZANCNFSM4ID4NVTQ .
mine still fails but may be diff cause
still fails:
[INFO] Governance Program OMAS with Spring ................ SUCCESS [ 0.448 s] [INFO] Information View OMAS Client ....................... SUCCESS [ 0.215 s] [INFO] Information View OMAS Server-side .................. FAILURE [02:50 min] [INFO] Information View OMAS Spring ....................... SKIPPED [INFO] IT Infrastructure OMAS ............................. SKIPPED [INFO] IT Infrastructure OMAS API ......................... SKIPPED
Took the latest master
On Tue, Jul 16, 2019 at 7:08 PM Nigel Jones notifications@github.com wrote:
mine still fails but may be diff cause
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/odpi/egeria/issues/1284?email_source=notifications&email_token=AGCH5ZSBDMU4JT2MESAS4X3P7XFORA5CNFSM4ID4NVT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2A37NQ#issuecomment-511819702, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCH5ZWYQBWWWRNGHH4JNI3P7XFORANCNFSM4ID4NVTQ .
Can you paste here the exception form the test please?
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test)
on project information-view-server: There are test failures.
[ERROR]
[ERROR] Please refer to
C:\egeria\open-metadata-implementation\access-services\information-view\information-view-server\target\surefire-reports
for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump,
[date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash
or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program
Files\Java\jdk1.8.0_191\jre\bin\java"
-javaagent:C:\Users\siddhasa\.m2\repository\org\jacoco\org.jacoco.agent\0.8.3\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\egeria\target\jacoco.exec,append=true
-jar
C:\Users\siddhasa\AppData\Local\Temp\surefire18149459586509723\surefirebooter2178925854214321649.jar
C:\Users\siddhasa\AppData\Local\Temp\surefire18149459586509723
2019-07-16T19-04-49_397-jvmRun1 surefire2892746082354918305tmp
surefire_175404198246324755077tmp"
[ERROR] Process Exit Code: 0
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The
forked VM terminated without properly saying goodbye. VM crash or
System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program
Files\Java\jdk1.8.0_191\jre\bin\java"
-javaagent:C:\Users\siddhasa\.m2\repository\org\jacoco\org.jacoco.agent\0.8.3\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\egeria\target\jacoco.exec,append=true
-jar
C:\Users\siddhasa\AppData\Local\Temp\surefire18149459586509723\surefirebooter2178925854214321649.jar
C:\Users\siddhasa\AppData\Local\Temp\surefire18149459586509723
2019-07-16T19-04-49_397-jvmRun1 surefire2892746082354918305tmp
surefire_175404198246324755077tmp"
[ERROR] Process Exit Code: 0
[ERROR] at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669)
[ERROR] at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
[ERROR] at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
[ERROR] at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
[ERROR] at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
[ERROR] at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
[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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[ERROR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
[ERROR] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR] at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[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
On Tue, Jul 16, 2019 at 7:29 PM ruxandraRosu notifications@github.com wrote:
Can you paste here the exception form the test please?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/odpi/egeria/issues/1284?email_source=notifications&email_token=AGCH5ZS4HK6VOUORHXT7OALP7XH23A5CNFSM4ID4NVT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2A6BJA#issuecomment-511828132, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCH5ZQJGORLEG5VHM2NSNLP7XH23ANCNFSM4ID4NVTQ .
Is this the only error message? Are there assertions errors? Can you please search for org.junit.ComparisonFailure to check? Please try using mvn with switch -e or -X as suggested in the error message.
Yes, this is the only error message. I couldnt find the file named ComparisonFailure
However searching for JUNIT gives me a Juinitreports folder C:\egeria\open-metadata-implementation\access-services\information-view\information-view-server\target\surefire-reports\junitreports
Attaching those reports.
There are no errors in those reports.
<?xml version="1.0" encoding="UTF-8"?>
-<testsuite errors="0" time="2.387" timestamp="16 Jul 2019 13:40:26 GMT" failures="0" tests="1" name="org.odpi.openmetadata.accessservices.informationview.ColumnContextBuilderTest" hostname="WHILG95M542" skipped="0">
<testcase time="2.387" name="testColumnContext" classname="org.odpi.openmetadata.accessservices.informationview.ColumnContextBuilderTest"/>
<?xml version="1.0" encoding="UTF-8"?>
-<testsuite errors="0" time="1.077" timestamp="16 Jul 2019 13:40:26 GMT" failures="0" tests="1" name="org.odpi.openmetadata.accessservices.informationview.DatabaseContextHandlerTest" hostname="WHILG95M542" skipped="0">
<testcase time="1.077" name="testDatabaseContextServices" classname="org.odpi.openmetadata.accessservices.informationview.DatabaseContextHandlerTest"/>
<?xml version="1.0" encoding="UTF-8"?>
-<testsuite errors="0" time="63.732" timestamp="16 Jul 2019 13:40:26 GMT" failures="0" tests="4" name="org.odpi.openmetadata.accessservices.informationview.ReportCreationTest" hostname="WHILG95M542" skipped="0">
<testcase time="15.978" name="testReportBasicPropertiesUpdate" classname="org.odpi.openmetadata.accessservices.informationview.ReportCreationTest"/> <testcase time="13.264" name="testReportSectionUpdate" classname="org.odpi.openmetadata.accessservices.informationview.ReportCreationTest"/> <testcase time="17.850" name="testReportColumnUpdate" classname="org.odpi.openmetadata.accessservices.informationview.ReportCreationTest"/> <testcase time="16.640" name="testReportCreation" classname="org.odpi.openmetadata.accessservices.informationview.ReportCreationTest"/>
Please let me know the absolute path of any other reports that you need. I will be happy to provide those.
On Tue, Jul 16, 2019 at 7:37 PM ruxandraRosu notifications@github.com wrote:
Is this the only error message? Are there assertions errors? Can you please search for org.junit.ComparisonFailure to check?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/odpi/egeria/issues/1284?email_source=notifications&email_token=AGCH5ZR5FW5YYJR7FTFG3W3P7XI2LA5CNFSM4ID4NVT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2A64HQ#issuecomment-511831582, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCH5ZSI3KKDRO5LNZ7B7F3P7XI2LANCNFSM4ID4NVTQ .
Is running mvn with switches -e or -X giving more details?
-e switch gave the following:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project information-view-server: There are test failures. [ERROR] [ERROR] Please refer to C:\egeria\open-metadata-implementation\access-services\information-view\information-view-server\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_191\jre\bin\java" -javaagent:C:\Users\siddhasa\.m2\repository\org\jacoco\org.jacoco.agent\0.8.3\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\egeria\target\jacoco.exec,append=true -jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006\surefirebooter7067154187651781379.jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006 2019-07-16T20-09-36_790-jvmRun1 surefire8664006066890453048tmp surefire_177334048983992205639tmp" [ERROR] Process Exit Code: 0 [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_191\jre\bin\java" -javaagent:C:\Users\siddhasa\.m2\repository\org\jacoco\org.jacoco.agent\0.8.3\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\egeria\target\jacoco.exec,append=true -jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006\surefirebooter7067154187651781379.jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006 2019-07-16T20-09-36_790-jvmRun1 surefire8664006066890453048tmp surefire_177334048983992205639tmp" [ERROR] Process Exit Code: 0 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857) [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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:498) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [ERROR] [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project information-view-server: There are test failures.
Please refer to C:\egeria\open-metadata-implementation\access-services\information-view\information-view-server\target\surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_191\jre\bin\java" -javaagent:C:\Users\siddhasa\.m2\repository\org\jacoco\org.jacoco.agent\0.8.3\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\egeria\target\jacoco.exec,append=true -jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006\surefirebooter7067154187651781379.jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006 2019-07-16T20-09-36_790-jvmRun1 surefire8664006066890453048tmp surefire_177334048983992205639tmp" Process Exit Code: 0 org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_191\jre\bin\java" -javaagent:C:\Users\siddhasa\.m2\repository\org\jacoco\org.jacoco.agent\0.8.3\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\egeria\target\jacoco.exec,append=true -jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006\surefirebooter7067154187651781379.jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006 2019-07-16T20-09-36_790-jvmRun1 surefire8664006066890453048tmp surefire_177334048983992205639tmp" Process Exit Code: 0 at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857) 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:956) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:192) 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: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)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:215) 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:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) 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: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: org.apache.maven.plugin.MojoExecutionException: There are test failures.
Please refer to C:\egeria\open-metadata-implementation\access-services\information-view\information-view-server\target\surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_191\jre\bin\java" -javaagent:C:\Users\siddhasa\.m2\repository\org\jacoco\org.jacoco.agent\0.8.3\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\egeria\target\jacoco.exec,append=true -jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006\surefirebooter7067154187651781379.jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006 2019-07-16T20-09-36_790-jvmRun1 surefire8664006066890453048tmp surefire_177334048983992205639tmp" Process Exit Code: 0 org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_191\jre\bin\java" -javaagent:C:\Users\siddhasa\.m2\repository\org\jacoco\org.jacoco.agent\0.8.3\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\egeria\target\jacoco.exec,append=true -jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006\surefirebooter7067154187651781379.jar C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006 2019-07-16T20-09-36_790-jvmRun1 surefire8664006066890453048tmp surefire_177334048983992205639tmp" Process Exit Code: 0 at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857) 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:956) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:192) 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: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)
at org.apache.maven.plugin.surefire.SurefireHelper.throwException
(SurefireHelper.java:284)
at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution
(SurefireHelper.java:161)
at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary
(SurefirePlugin.java:364)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked
(AbstractSurefireMojo.java:1041)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute
(AbstractSurefireMojo.java:857)
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:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
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: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: org.apache.maven.surefire.booter.SurefireBooterForkException:
The forked VM terminated without properly saying goodbye. VM crash or
System.exit called?
Command was cmd.exe /X /C ""C:\Program
Files\Java\jdk1.8.0_191\jre\bin\java"
-javaagent:C:\Users\siddhasa\.m2\repository\org\jacoco\org.jacoco.agent\0.8.3\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\egeria\target\jacoco.exec,append=true
-jar
C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006\surefirebooter7067154187651781379.jar
C:\Users\siddhasa\AppData\Local\Temp\surefire2042944467576292006
2019-07-16T20-09-36_790-jvmRun1 surefire8664006066890453048tmp
surefire_177334048983992205639tmp"
Process Exit Code: 0
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork
(ForkStarter.java:669)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run
(ForkStarter.java:282)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run
(ForkStarter.java:245)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider
(AbstractSurefireMojo.java:1183)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked
(AbstractSurefireMojo.java:1011)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute
(AbstractSurefireMojo.java:857)
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:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
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: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)
[ERROR]
[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
On Tue, Jul 16, 2019 at 8:08 PM ruxandraRosu notifications@github.com wrote:
Is running mvn with switches -e or -X giving more details?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/odpi/egeria/issues/1284?email_source=notifications&email_token=AGCH5ZQBSEUSIVMUNPOTN3LP7XMPXA5CNFSM4ID4NVT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2BCGII#issuecomment-511845153, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCH5ZSRLCASS7HKXJJTTG3P7XMPXANCNFSM4ID4NVTQ .
Would you please try to merge branch https://github.com/ruxandraRosu/egeria/tree/development2 locally? I've replaced testng to junit in this branch to exclude a possible dependency issue.
Testing with
git fetch https://github.com/ruxandraRosu/egeria development2:issue1284
git checkout issue1284
In #1282 I got the same error after trying development2. @satyarupsiddhanta how did your environment get on?
It didnt work yet. Stopped trying
On Wed, Jul 17, 2019 at 7:32 PM Nigel Jones notifications@github.com wrote:
In #1282 https://github.com/odpi/egeria/issues/1282 I got the same error after trying development2. @satyarupsiddhanta https://github.com/satyarupsiddhanta how did your environment get on?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/odpi/egeria/issues/1284?email_source=notifications&email_token=AGCH5ZWVMTM34EUZK4NGMLTP74Q6VA5CNFSM4ID4NVT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2EJNZY#issuecomment-512268007, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCH5ZWB6LMAPRKF4HAPSX3P74Q6VANCNFSM4ID4NVTQ .
Sorry you weren't able to get working.
Alternatives I can think of (until we fix the issue) could be
Apologies we haven't got a proper fix for you yet running under native windows.
I've made a further change in #1298 which has fixed my linux issue, and have also tested more thoroughly on multiple platforms. I
@ruxandraRosu I don't think there's any further action we can take on this yet. Assigned to you for comment/followup.
Build Successful. Thanks for all the fixes. Closing the issue!
that's great to hear. Sorry about the glitch and please do raise any further issues you find.
Thanks for the fix, Nigel!
[INFO] Governance Program OMAS with Spring ................ SUCCESS [ 10.705 s] [INFO] Information View OMAS Client ....................... SUCCESS [ 1.949 s] [INFO] Information View OMAS Server-side .................. FAILURE [02:55 min] [INFO] Information View OMAS Spring ....................... SKIPPED [INFO] IT Infrastructure OMAS ............................. SKIPPED
BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 25:25 min [INFO] Finished at: 2019-07-16T07:04:51+05:30 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project information-view-server: There are test failures. [ERROR]
Totally new to this, can someone suggest how to fix it?