makanga

Untitled

Sep 21st, 2022
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.67 KB | None | 0 0
  1. C:\Users\HP\openmrs-core>mvn test -Dtest=CoreDataTunerTest
  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.6.0-SNAPSHOT [1/7]
  16. [INFO] --------------------------------[ pom ]---------------------------------
  17. [INFO]
  18. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs ---
  19. [INFO] ShortRevision tag detected. The value is '6'.
  20. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  21. [INFO] Working directory: C:\Users\HP\openmrs-core
  22. [INFO] Storing buildNumber: ba5188 at timestamp: 1663784210008
  23. [INFO] Storing buildScmBranch: master
  24. [INFO]
  25. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs ---
  26. [INFO]
  27. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  28. [INFO] Building openmrs-tools 2.6.0-SNAPSHOT [2/7]
  29. [INFO] --------------------------------[ jar ]---------------------------------
  30. [INFO]
  31. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-tools ---
  32. [INFO]
  33. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-tools ---
  34. [INFO]
  35. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-tools ---
  36. [INFO] Copying 4 resources
  37. [INFO]
  38. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-tools ---
  39. [INFO] No sources to compile
  40. [INFO]
  41. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-tools ---
  42. [INFO] skip non existing resourceDirectory C:\Users\HP\openmrs-core\tools\src\test\resources
  43. [INFO]
  44. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-tools ---
  45. [INFO] No sources to compile
  46. [INFO]
  47. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-tools ---
  48. [INFO] No tests to run.
  49. [INFO]
  50. [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
  51. [INFO] Building openmrs-test 2.6.0-SNAPSHOT [3/7]
  52. [INFO] --------------------------------[ pom ]---------------------------------
  53. [INFO]
  54. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-test ---
  55. [INFO]
  56. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-test ---
  57. [INFO]
  58. [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
  59. [INFO] Building openmrs-api 2.6.0-SNAPSHOT [4/7]
  60. [INFO] --------------------------------[ jar ]---------------------------------
  61. [INFO]
  62. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-api ---
  63. [INFO]
  64. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-api ---
  65. [INFO]
  66. [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
  67. [INFO] argLine set to -javaagent:C:\\Users\\HP\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.8\\org.jacoco.agent-0.8.8-runtime.jar=destfile=C:\\Users\\HP\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
  68. [INFO]
  69. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
  70. [INFO] Using 'UTF-8' encoding to format source files.
  71. [INFO] Number of files to be formatted: 1111
  72. [INFO] Successfully formatted: 0 file(s)
  73. [INFO] Fail to format : 0 file(s)
  74. [INFO] Skipped : 1111 file(s)
  75. [INFO] Approximate time taken: 5s
  76. [INFO]
  77. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-api ---
  78. [INFO] Copying 1 resource
  79. [INFO] Copying 161 resources
  80. [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
  81. [INFO]
  82. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-api ---
  83. [INFO] Nothing to compile - all classes are up to date
  84. [INFO]
  85. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-api ---
  86. [INFO] Copying 153 resources
  87. [INFO]
  88. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-api ---
  89. [INFO] Nothing to compile - all classes are up to date
  90. [INFO]
  91. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-api ---
  92. [INFO]
  93. [INFO] --------------------< org.openmrs.web:openmrs-web >---------------------
  94. [INFO] Building openmrs-web 2.6.0-SNAPSHOT [5/7]
  95. [INFO] --------------------------------[ jar ]---------------------------------
  96. [INFO]
  97. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-web ---
  98. [INFO]
  99. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-web ---
  100. [INFO]
  101. [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-web ---
  102. [INFO] argLine set to -javaagent:C:\\Users\\HP\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.8\\org.jacoco.agent-0.8.8-runtime.jar=destfile=C:\\Users\\HP\\openmrs-core\\web\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
  103. [INFO]
  104. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-web ---
  105. [INFO] Using 'UTF-8' encoding to format source files.
  106. [INFO] Number of files to be formatted: 59
  107. [INFO] Successfully formatted: 0 file(s)
  108. [INFO] Fail to format : 0 file(s)
  109. [INFO] Skipped : 59 file(s)
  110. [INFO] Approximate time taken: 0s
  111. [INFO]
  112. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-web ---
  113. [INFO] Copying 22 resources
  114. [INFO]
  115. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-web ---
  116. [INFO] Nothing to compile - all classes are up to date
  117. [INFO]
  118. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-web ---
  119. [INFO] Copying 3 resources
  120. [INFO]
  121. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-web ---
  122. [INFO] Nothing to compile - all classes are up to date
  123. [INFO]
  124. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-web ---
  125. [INFO]
  126. [INFO] -------------------< org.openmrs.web:openmrs-webapp >-------------------
  127. [INFO] Building openmrs-webapp 2.6.0-SNAPSHOT [6/7]
  128. [INFO] --------------------------------[ war ]---------------------------------
  129. [INFO]
  130. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-webapp ---
  131. [INFO]
  132. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-webapp ---
  133. [INFO]
  134. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-webapp ---
  135. [INFO] Copying 2 resources
  136. [INFO] Copying 1 resource to ../jetty
  137. [INFO]
  138. [INFO] --- maven-antrun-plugin:3.1.0:run (default) @ openmrs-webapp ---
  139. [INFO] Executing tasks
  140. [INFO] [unzip] Expanding: C:\Users\HP\openmrs-core\webapp\src\main\resources\liquibase-demo-data.zip into C:\Users\HP\openmrs-core\webapp\target\classes
  141. [INFO] Executed tasks
  142. [INFO]
  143. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-webapp ---
  144. [INFO] No sources to compile
  145. [INFO]
  146. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-webapp ---
  147. [INFO] Copying 1 resource
  148. [INFO]
  149. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-webapp ---
  150. [INFO] No sources to compile
  151. [INFO]
  152. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-webapp ---
  153. [INFO]
  154. [INFO] --------------< org.openmrs.liquibase:openmrs-liquibase >---------------
  155. [INFO] Building openmrs-liquibase 2.6.0-SNAPSHOT [7/7]
  156. [INFO] --------------------------------[ jar ]---------------------------------
  157. [INFO]
  158. [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-liquibase ---
  159. [INFO]
  160. [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-liquibase ---
  161. [INFO]
  162. [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-liquibase ---
  163. [INFO] Copying 1 resource
  164. [INFO]
  165. [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-liquibase ---
  166. [INFO] Nothing to compile - all classes are up to date
  167. [INFO]
  168. [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-liquibase ---
  169. [INFO] Copying 7 resources
  170. [INFO]
  171. [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-liquibase ---
  172. [INFO] Nothing to compile - all classes are up to date
  173. [INFO]
  174. [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-liquibase ---
  175. [INFO]
  176. [INFO] -------------------------------------------------------
  177. [INFO] T E S T S
  178. [INFO] -------------------------------------------------------
  179. [INFO] Running org.openmrs.liquibase.CoreDataTunerTest
  180. INFO - AbstractSnapshotTuner.createUpdatedChangeLogFile(72) |2022-09-21T21:17:04,781| Updating generated Liquibase file: 'src\test\resources\org\openmrs\liquibase\snapshots\core-data\liquibase-core-data-SNAPSHOT.xml'...
  181. INFO - AbstractSnapshotTuner.createUpdatedChangeLogFile(76) |2022-09-21T21:17:05,302| The updated file is available under: 'C:\Users\HP\AppData\Local\Temp\junit2348983874364894028\liquibase-core-data-UPDATED-SNAPSHOT.xml'
  182. ERROR - AbstractSnapshotTuner.readChangeLogFile(145) |2022-09-21T21:17:05,370| processing the file 'C:\Users\HP\AppData\Local\Temp\junit2348983874364894028\liquibase-core-data-UPDATED-SNAPSHOT.xml' raised an exception
  183. org.dom4j.DocumentException: Error on line 1679 of document file:///C:/Users/HP/AppData/Local/Temp/junit2348983874364894028/liquibase-core-data-UPDATED-SNAPSHOT.xml : Invalid byte 2 of 3-byte UTF-8 sequence.
  184. at org.dom4j.io.SAXReader.read(SAXReader.java:511) ~[dom4j-2.1.3.jar:?]
  185. at org.dom4j.io.SAXReader.read(SAXReader.java:325) ~[dom4j-2.1.3.jar:?]
  186. at org.openmrs.liquibase.AbstractSnapshotTuner.readChangeLogFile(AbstractSnapshotTuner.java:142) ~[classes/:?]
  187. at org.openmrs.liquibase.CoreDataTunerTest.shouldCreateUpdatedChangeLogFile(CoreDataTunerTest.java:79) ~[test-classes/:?]
  188. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_333]
  189. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_333]
  190. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_333]
  191. at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_333]
  192. at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) ~[junit-platform-commons-1.9.0.jar:1.9.0]
  193. at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  194. at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  195. at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  196. at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  197. at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  198. at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  199. at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  200. at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  201. at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  202. at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  203. at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  204. at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  205. at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  206. at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  207. at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  208. at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  209. at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  210. at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) ~[junit-jupiter-engine-5.9.0.jar:5.9.0]
  211. at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  212. at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  213. at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  214. at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  215. at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  216. at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  217. at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  218. at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  219. at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_333]
  220. at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  221. at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  222. at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  223. at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  224. at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  225. at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  226. at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  227. at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  228. at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  229. at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_333]
  230. at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  231. at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  232. at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  233. at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  234. at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  235. at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  236. at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  237. at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  238. at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  239. at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  240. at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  241. at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) ~[junit-platform-engine-1.9.0.jar:1.9.0]
  242. at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
  243. at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
  244. at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
  245. at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
  246. at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
  247. at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150) ~[surefire-junit-platform-2.22.2.jar:2.22.2]
  248. at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124) ~[surefire-junit-platform-2.22.2.jar:2.22.2]
  249. at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) ~[surefire-booter-2.22.2.jar:2.22.2]
  250. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) ~[surefire-booter-2.22.2.jar:2.22.2]
  251. at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) ~[surefire-booter-2.22.2.jar:2.22.2]
  252. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) ~[surefire-booter-2.22.2.jar:2.22.2]
  253. Caused by: org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
  254. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204) ~[?:1.8.0_333]
  255. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178) ~[?:1.8.0_333]
  256. at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) ~[?:1.8.0_333]
  257. at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:306) ~[?:1.8.0_333]
  258. at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3156) ~[?:1.8.0_333]
  259. at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) ~[?:1.8.0_333]
  260. at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:113) ~[?:1.8.0_333]
  261. at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:507) ~[?:1.8.0_333]
  262. at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:867) ~[?:1.8.0_333]
  263. at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:796) ~[?:1.8.0_333]
  264. at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:142) ~[?:1.8.0_333]
  265. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216) ~[?:1.8.0_333]
  266. at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:644) ~[?:1.8.0_333]
  267. at org.dom4j.io.SAXReader.read(SAXReader.java:494) ~[dom4j-2.1.3.jar:?]
  268. ... 68 more
  269. Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.
  270. at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:702) ~[?:1.8.0_333]
  271. at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:409) ~[?:1.8.0_333]
  272. at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1689) ~[?:1.8.0_333]
  273. at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(XMLEntityScanner.java:1141) ~[?:1.8.0_333]
  274. at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:859) ~[?:1.8.0_333]
  275. at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:448) ~[?:1.8.0_333]
  276. at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:251) ~[?:1.8.0_333]
  277. at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786) ~[?:1.8.0_333]
  278. at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) ~[?:1.8.0_333]
  279. at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:113) ~[?:1.8.0_333]
  280. at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:507) ~[?:1.8.0_333]
  281. at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:867) ~[?:1.8.0_333]
  282. at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:796) ~[?:1.8.0_333]
  283. at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:142) ~[?:1.8.0_333]
  284. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216) ~[?:1.8.0_333]
  285. at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:644) ~[?:1.8.0_333]
  286. at org.dom4j.io.SAXReader.read(SAXReader.java:494) ~[dom4j-2.1.3.jar:?]
  287. ... 68 more
  288. [ERROR] Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.54 s <<< FAILURE! - in org.openmrs.liquibase.CoreDataTunerTest
  289. [ERROR] shouldCreateUpdatedChangeLogFile{Path} Time elapsed: 1.213 s <<< ERROR!
  290. org.dom4j.DocumentException: Error on line 1679 of document file:///C:/Users/HP/AppData/Local/Temp/junit2348983874364894028/liquibase-core-data-UPDATED-SNAPSHOT.xml : Invalid byte 2 of 3-byte UTF-8 sequence.
  291. at org.openmrs.liquibase.CoreDataTunerTest.shouldCreateUpdatedChangeLogFile(CoreDataTunerTest.java:79)
  292. Caused by: org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
  293. at org.openmrs.liquibase.CoreDataTunerTest.shouldCreateUpdatedChangeLogFile(CoreDataTunerTest.java:79)
  294. Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.
  295. at org.openmrs.liquibase.CoreDataTunerTest.shouldCreateUpdatedChangeLogFile(CoreDataTunerTest.java:79)
  296.  
  297. [INFO]
  298. [INFO] Results:
  299. [INFO]
  300. [ERROR] Errors:
  301. [ERROR] CoreDataTunerTest.shouldCreateUpdatedChangeLogFile:79 » Document Error on line...
  302. [INFO]
  303. [ERROR] Tests run: 8, Failures: 0, Errors: 1, Skipped: 0
  304. [INFO]
  305. [INFO] ------------------------------------------------------------------------
  306. [INFO] Reactor Summary for OpenMRS 2.6.0-SNAPSHOT:
  307. [INFO]
  308. [INFO] OpenMRS ............................................ SUCCESS [ 1.344 s]
  309. [INFO] openmrs-tools ...................................... SUCCESS [ 0.766 s]
  310. [INFO] openmrs-test ....................................... SUCCESS [ 0.031 s]
  311. [INFO] openmrs-api ........................................ SUCCESS [ 7.622 s]
  312. [INFO] openmrs-web ........................................ SUCCESS [ 0.946 s]
  313. [INFO] openmrs-webapp ..................................... SUCCESS [ 1.254 s]
  314. [INFO] openmrs-liquibase .................................. FAILURE [ 6.051 s]
  315. [INFO] ------------------------------------------------------------------------
  316. [INFO] BUILD FAILURE
  317. [INFO] ------------------------------------------------------------------------
  318. [INFO] Total time: 18.388 s
  319. [INFO] Finished at: 2022-09-21T21:17:07+03:00
  320. [INFO] ------------------------------------------------------------------------
  321. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project openmrs-liquibase: There are test failures.
  322. [ERROR]
  323. [ERROR] Please refer to C:\Users\HP\openmrs-core\liquibase\target\surefire-reports for the individual test results.
  324. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
  325. [ERROR] -> [Help 1]
  326. [ERROR]
  327. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  328. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  329. [ERROR]
  330. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  331. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  332. [ERROR]
  333. [ERROR] After correcting the problems, you can resume the build with the command
  334. [ERROR] mvn <args> -rf :openmrs-liquibase
  335.  
  336. C:\Users\HP\openmrs-core>
Advertisement
Add Comment
Please, Sign In to add comment