makanga

Untitled

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