Advertisement
Guest User

Untitled

a guest
May 5th, 2021
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.81 KB | None
  1. G:\openmrs\openmrs-core>mvn clean install
  2. [INFO] Scanning for projects...
  3. [INFO] ------------------------------------------------------------------------
  4. [INFO] Reactor Build Order:
  5. [INFO]
  6. [INFO] OpenMRS [pom]
  7. [INFO] openmrs-tools [jar]
  8. [INFO] openmrs-test [pom]
  9. [INFO] openmrs-api [jar]
  10. [INFO] openmrs-web [jar]
  11. [INFO] openmrs-webapp [war]
  12. [INFO] openmrs-liquibase [jar]
  13. [INFO]
  14. [INFO] ------------------------< org.openmrs:openmrs >-------------------------
  15. [INFO] Building OpenMRS 2.5.0-SNAPSHOT [1/7]
  16. [INFO] --------------------------------[ pom ]---------------------------------
  17. [INFO]
  18. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
  19. [INFO] Deleting G:\openmrs\openmrs-core\target
  20. [INFO]
  21. [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs ---
  22. [INFO] ShortRevision tag detected. The value is '6'.
  23. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  24. [INFO] Working directory: G:\openmrs\openmrs-core
  25. [INFO] Storing buildNumber: 542ec2 at timestamp: 1620198645871
  26. [INFO] Storing buildScmBranch: master
  27. [INFO]
  28. [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs ---
  29. [INFO]
  30. [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs ---
  31. [WARNING] JAR will be empty - no content was marked for inclusion!
  32. [INFO] Building jar: G:\openmrs\openmrs-core\target\openmrs-2.5.0-SNAPSHOT-tests.jar
  33. [INFO]
  34. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
  35. [INFO] Checking licenses...
  36. [INFO]
  37. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs ---
  38. [INFO] Installing G:\openmrs\openmrs-core\pom.xml to C:\Users\ODEL\.m2\repository\org\openmrs\openmrs\2.5.0-SNAPSHOT\openmrs-2.5.0-SNAPSHOT.pom
  39. [INFO] Installing G:\openmrs\openmrs-core\target\openmrs-2.5.0-SNAPSHOT-tests.jar to C:\Users\ODEL\.m2\repository\org\openmrs\openmrs\2.5.0-SNAPSHOT\openmrs-2.5.0-SNAPSHOT-tests.jar
  40. [INFO]
  41. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  42. [INFO] Building openmrs-tools 2.5.0-SNAPSHOT [2/7]
  43. [INFO] --------------------------------[ jar ]---------------------------------
  44. [INFO]
  45. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
  46. [INFO] Deleting G:\openmrs\openmrs-core\tools\target
  47. [INFO]
  48. [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-tools ---
  49. [INFO]
  50. [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-tools ---
  51. [INFO]
  52. [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-tools ---
  53. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  54. [INFO] Using 'UTF-8' encoding to copy filtered properties files.
  55. [INFO] Copying 4 resources
  56. [INFO]
  57. [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-tools ---
  58. [INFO] No sources to compile
  59. [INFO]
  60. [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-tools ---
  61. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  62. [INFO] Using 'UTF-8' encoding to copy filtered properties files.
  63. [INFO] skip non existing resourceDirectory G:\openmrs\openmrs-core\tools\src\test\resources
  64. [INFO]
  65. [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-tools ---
  66. [INFO] No sources to compile
  67. [INFO]
  68. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-tools ---
  69. [INFO] No tests to run.
  70. [INFO]
  71. [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ openmrs-tools ---
  72. [INFO] Building jar: G:\openmrs\openmrs-core\tools\target\openmrs-tools-2.5.0-SNAPSHOT.jar
  73. [INFO]
  74. [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs-tools ---
  75. [WARNING] JAR will be empty - no content was marked for inclusion!
  76. [INFO] Building jar: G:\openmrs\openmrs-core\tools\target\openmrs-tools-2.5.0-SNAPSHOT-tests.jar
  77. [INFO]
  78. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-tools ---
  79. [INFO] Checking licenses...
  80. [INFO]
  81. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-tools ---
  82. [INFO] Installing G:\openmrs\openmrs-core\tools\target\openmrs-tools-2.5.0-SNAPSHOT.jar to C:\Users\ODEL\.m2\repository\org\openmrs\tools\openmrs-tools\2.5.0-SNAPSHOT\openmrs-tools-2.5.0-SNAPSHOT.jar
  83. [INFO] Installing G:\openmrs\openmrs-core\tools\pom.xml to C:\Users\ODEL\.m2\repository\org\openmrs\tools\openmrs-tools\2.5.0-SNAPSHOT\openmrs-tools-2.5.0-SNAPSHOT.pom
  84. [INFO] Installing G:\openmrs\openmrs-core\tools\target\openmrs-tools-2.5.0-SNAPSHOT-tests.jar to C:\Users\ODEL\.m2\repository\org\openmrs\tools\openmrs-tools\2.5.0-SNAPSHOT\openmrs-tools-2.5.0-SNAPSHOT-tests.jar
  85. [INFO]
  86. [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
  87. [INFO] Building openmrs-test 2.5.0-SNAPSHOT [3/7]
  88. [INFO] --------------------------------[ pom ]---------------------------------
  89. [INFO]
  90. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-test ---
  91. [INFO] Deleting G:\openmrs\openmrs-core\test\target
  92. [INFO]
  93. [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-test ---
  94. [INFO]
  95. [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-test ---
  96. [INFO]
  97. [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs-test ---
  98. [WARNING] JAR will be empty - no content was marked for inclusion!
  99. [INFO] Building jar: G:\openmrs\openmrs-core\test\target\openmrs-test-2.5.0-SNAPSHOT-tests.jar
  100. [INFO]
  101. [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-test ---
  102. [INFO] Checking licenses...
  103. [INFO]
  104. [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-test ---
  105. [INFO] Installing G:\openmrs\openmrs-core\test\pom.xml to C:\Users\ODEL\.m2\repository\org\openmrs\test\openmrs-test\2.5.0-SNAPSHOT\openmrs-test-2.5.0-SNAPSHOT.pom
  106. [INFO] Installing G:\openmrs\openmrs-core\test\target\openmrs-test-2.5.0-SNAPSHOT-tests.jar to C:\Users\ODEL\.m2\repository\org\openmrs\test\openmrs-test\2.5.0-SNAPSHOT\openmrs-test-2.5.0-SNAPSHOT-tests.jar
  107. [INFO]
  108. [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
  109. [INFO] Building openmrs-api 2.5.0-SNAPSHOT [4/7]
  110. [INFO] --------------------------------[ jar ]---------------------------------
  111. [INFO]
  112. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
  113. [INFO] Deleting G:\openmrs\openmrs-core\api\target
  114. [INFO]
  115. [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-api ---
  116. [INFO]
  117. [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-api ---
  118. [INFO]
  119. [INFO] --- jacoco-maven-plugin:0.8.6:prepare-agent (prepare-agent) @ openmrs-api ---
  120. [INFO] argLine set to -javaagent:C:\\Users\\ODEL\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.6\\org.jacoco.agent-0.8.6-runtime.jar=destfile=G:\\openmrs\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx2g -Djava.locale.providers=COMPAT
  121. [INFO]
  122. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
  123. [INFO] Using 'UTF-8' encoding to format source files.
  124. [INFO] Number of files to be formatted: 1084
  125. [INFO] Successfully formatted: 0 file(s)
  126. [INFO] Fail to format : 0 file(s)
  127. [INFO] Skipped : 1084 file(s)
  128. [INFO] Approximate time taken: 8s
  129. [INFO]
  130. [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-api ---
  131. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  132. [INFO] Using 'UTF-8' encoding to copy filtered properties files.
  133. [INFO] Copying 1 resource
  134. [INFO] Copying 153 resources
  135. [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
  136. [INFO]
  137. [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-api ---
  138. [INFO] Changes detected - recompiling the module!
  139. [INFO] Compiling 725 source files to G:\openmrs\openmrs-core\api\target\classes
  140. [INFO] /G:/openmrs/openmrs-core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
  141. [INFO] /G:/openmrs/openmrs-core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
  142. [INFO] /G:/openmrs/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java: Some input files use unchecked or unsafe operations.
  143. [INFO] /G:/openmrs/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java: Recompile with -Xlint:unchecked for details.
  144. [INFO]
  145. [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-api ---
  146. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  147. [INFO] Using 'UTF-8' encoding to copy filtered properties files.
  148. [INFO] Copying 147 resources
  149. [INFO]
  150. [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-api ---
  151. [INFO] Changes detected - recompiling the module!
  152. [INFO] Compiling 359 source files to G:\openmrs\openmrs-core\api\target\test-classes
  153. [INFO] /G:/openmrs/openmrs-core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Some input files use or override a deprecated API.
  154. [INFO] /G:/openmrs/openmrs-core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Recompile with -Xlint:deprecation for details.
  155. [INFO] /G:/openmrs/openmrs-core/api/src/test/java/org/openmrs/api/ConceptServiceTest.java: Some input files use unchecked or unsafe operations.
  156. [INFO] /G:/openmrs/openmrs-core/api/src/test/java/org/openmrs/api/ConceptServiceTest.java: Recompile with -Xlint:unchecked for details.
  157. [INFO]
  158. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-api ---
  159. [INFO]
  160. [INFO] -------------------------------------------------------
  161. [INFO] T E S T S
  162. [INFO] -------------------------------------------------------
  163. [INFO]
  164. [INFO] Results:
  165. [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file G:\openmrs\openmrs-core\api\target\surefire-reports\2021-05-05T10-11-07_388-jvmRun1.dumpstream
  166. [INFO]
  167. [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
  168. [INFO]
  169. [INFO] ------------------------------------------------------------------------
  170. [INFO] Reactor Summary for OpenMRS 2.5.0-SNAPSHOT:
  171. [INFO]
  172. [INFO] OpenMRS ............................................ SUCCESS [ 22.857 s]
  173. [INFO] openmrs-tools ...................................... SUCCESS [ 3.487 s]
  174. [INFO] openmrs-test ....................................... SUCCESS [ 1.690 s]
  175. [INFO] openmrs-api ........................................ FAILURE [01:58 min]
  176. [INFO] openmrs-web ........................................ SKIPPED
  177. [INFO] openmrs-webapp ..................................... SKIPPED
  178. [INFO] openmrs-liquibase .................................. SKIPPED
  179. [INFO] ------------------------------------------------------------------------
  180. [INFO] BUILD FAILURE
  181. [INFO] ------------------------------------------------------------------------
  182. [INFO] Total time: 02:26 min
  183. [INFO] Finished at: 2021-05-05T10:13:08+03:00
  184. [INFO] ------------------------------------------------------------------------
  185. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project openmrs-api: There are test failures.
  186. [ERROR]
  187. [ERROR] Please refer to G:\openmrs\openmrs-core\api\target\surefire-reports for the individual test results.
  188. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
  189. [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
  190. [ERROR] Command was cmd.exe /X /C ""C:\Program Files\java\jre\bin\java" -javaagent:C:\\Users\\ODEL\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.6\\org.jacoco.agent-0.8.6-runtime.jar=destfile=G:\\openmrs\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx2g -Djava.locale.providers=COMPAT org.apache.maven.surefire.booter.ForkedBooter C:\Users\ODEL\AppData\Local\Temp\surefire2550268528428197852 2021-05-05T10-11-07_388-jvmRun1 surefire6378928104745329219tmp surefire_07570008454548219909tmp"
  191. [ERROR] Error occurred in starting fork, check output in log
  192. [ERROR] Process Exit Code: 1
  193. [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
  194. [ERROR] Command was cmd.exe /X /C ""C:\Program Files\java\jre\bin\java" -javaagent:C:\\Users\\ODEL\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.6\\org.jacoco.agent-0.8.6-runtime.jar=destfile=G:\\openmrs\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx2g -Djava.locale.providers=COMPAT org.apache.maven.surefire.booter.ForkedBooter C:\Users\ODEL\AppData\Local\Temp\surefire2550268528428197852 2021-05-05T10-11-07_388-jvmRun1 surefire6378928104745329219tmp surefire_07570008454548219909tmp"
  195. [ERROR] Error occurred in starting fork, check output in log
  196. [ERROR] Process Exit Code: 1
  197. [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669)
  198. [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
  199. [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
  200. [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
  201. [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
  202. [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
  203. [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
  204. [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
  205. [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
  206. [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
  207. [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
  208. [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
  209. [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
  210. [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  211. [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
  212. [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
  213. [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
  214. [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
  215. [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
  216. [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
  217. [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  218. [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  219. [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  220. [ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
  221. [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
  222. [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
  223. [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
  224. [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
  225. [ERROR]
  226. [ERROR] -> [Help 1]
  227. [ERROR]
  228. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  229. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  230. [ERROR]
  231. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  232. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  233. [ERROR]
  234. [ERROR] After correcting the problems, you can resume the build with the command
  235. [ERROR] mvn <args> -rf :openmrs-api
  236.  
Advertisement
RAW Paste Data Copied
Advertisement