makanga

Untitled

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