Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\HP\openmrs-core>mvn test -Dtest=CoreDataTunerTest
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] OpenMRS [pom]
- [INFO] openmrs-tools [jar]
- [INFO] openmrs-test [pom]
- [INFO] openmrs-api [jar]
- [INFO] openmrs-web [jar]
- [INFO] openmrs-webapp [war]
- [INFO] openmrs-liquibase [jar]
- [INFO]
- [INFO] ------------------------< org.openmrs:openmrs >-------------------------
- [INFO] Building OpenMRS 2.6.0-SNAPSHOT [1/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs ---
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: C:\Users\HP\openmrs-core
- [INFO] Storing buildNumber: 3b50fe at timestamp: 1664198533379
- [INFO] Storing buildScmBranch: master
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs ---
- [INFO]
- [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
- [INFO] Building openmrs-tools 2.6.0-SNAPSHOT [2/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-tools ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-tools ---
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-tools ---
- [INFO] Copying 4 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-tools ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-tools ---
- [INFO] skip non existing resourceDirectory C:\Users\HP\openmrs-core\tools\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-tools ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-tools ---
- [INFO]
- [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
- [INFO] Building openmrs-test 2.6.0-SNAPSHOT [3/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-test ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-test ---
- [INFO]
- [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
- [INFO] Building openmrs-api 2.6.0-SNAPSHOT [4/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-api ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-api ---
- [INFO]
- [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
- [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
- [INFO]
- [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 1111
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 1111 file(s)
- [INFO] Approximate time taken: 3s
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-api ---
- [INFO] Copying 1 resource
- [INFO] Copying 161 resources
- [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
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-api ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-api ---
- [INFO] Copying 153 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-api ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-api ---
- [INFO]
- [INFO] --------------------< org.openmrs.web:openmrs-web >---------------------
- [INFO] Building openmrs-web 2.6.0-SNAPSHOT [5/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-web ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-web ---
- [INFO]
- [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-web ---
- [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
- [INFO]
- [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-web ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 59
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 59 file(s)
- [INFO] Approximate time taken: 0s
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-web ---
- [INFO] Copying 22 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-web ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-web ---
- [INFO] Copying 3 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-web ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-web ---
- [INFO]
- [INFO] -------------------< org.openmrs.web:openmrs-webapp >-------------------
- [INFO] Building openmrs-webapp 2.6.0-SNAPSHOT [6/7]
- [INFO] --------------------------------[ war ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-webapp ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-webapp ---
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-webapp ---
- [INFO] Copying 2 resources
- [INFO] Copying 1 resource to ../jetty
- [INFO]
- [INFO] --- maven-antrun-plugin:3.1.0:run (default) @ openmrs-webapp ---
- [INFO] Executing tasks
- [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
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-webapp ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-webapp ---
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-webapp ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-webapp ---
- [INFO]
- [INFO] --------------< org.openmrs.liquibase:openmrs-liquibase >---------------
- [INFO] Building openmrs-liquibase 2.6.0-SNAPSHOT [7/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-liquibase ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-liquibase ---
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-liquibase ---
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-liquibase ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-liquibase ---
- [INFO] Copying 7 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-liquibase ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-liquibase ---
- [INFO]
- [INFO] -------------------------------------------------------
- [INFO] T E S T S
- [INFO] -------------------------------------------------------
- [INFO] Running org.openmrs.liquibase.CoreDataTunerTest
- 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'...
- 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'
- 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
- 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.
- at org.dom4j.io.SAXReader.read(SAXReader.java:511) ~[dom4j-2.1.3.jar:?]
- at org.dom4j.io.SAXReader.read(SAXReader.java:325) ~[dom4j-2.1.3.jar:?]
- at org.openmrs.liquibase.AbstractSnapshotTuner.readChangeLogFile(AbstractSnapshotTuner.java:142) ~[classes/:?]
- at org.openmrs.liquibase.CoreDataTunerTest.shouldCreateUpdatedChangeLogFile(CoreDataTunerTest.java:79) ~[test-classes/:?]
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_333]
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_333]
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_333]
- at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_333]
- at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) ~[junit-platform-commons-1.9.1.jar:1.9.1]
- at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) ~[junit-jupiter-engine-5.9.1.jar:5.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_333]
- at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_333]
- at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) ~[junit-platform-engine-1.9.1.jar:1.9.1]
- at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
- at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
- at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
- at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
- at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
- at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150) ~[surefire-junit-platform-2.22.2.jar:2.22.2]
- at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124) ~[surefire-junit-platform-2.22.2.jar:2.22.2]
- at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) ~[surefire-booter-2.22.2.jar:2.22.2]
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) ~[surefire-booter-2.22.2.jar:2.22.2]
- at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) ~[surefire-booter-2.22.2.jar:2.22.2]
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) ~[surefire-booter-2.22.2.jar:2.22.2]
- Caused by: org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
- at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:306) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3156) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:113) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:507) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:867) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:796) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:142) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:644) ~[?:1.8.0_333]
- at org.dom4j.io.SAXReader.read(SAXReader.java:494) ~[dom4j-2.1.3.jar:?]
- ... 68 more
- Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.
- at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:702) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:409) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1689) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(XMLEntityScanner.java:1141) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:859) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:448) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:251) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:113) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:507) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:867) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:796) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:142) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216) ~[?:1.8.0_333]
- at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:644) ~[?:1.8.0_333]
- at org.dom4j.io.SAXReader.read(SAXReader.java:494) ~[dom4j-2.1.3.jar:?]
- ... 68 more
- [ERROR] Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.079 s <<< FAILURE! - in org.openmrs.liquibase.CoreDataTunerTest
- [ERROR] shouldCreateUpdatedChangeLogFile{Path} Time elapsed: 1.064 s <<< ERROR!
- 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.
- at org.openmrs.liquibase.CoreDataTunerTest.shouldCreateUpdatedChangeLogFile(CoreDataTunerTest.java:79)
- Caused by: org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
- at org.openmrs.liquibase.CoreDataTunerTest.shouldCreateUpdatedChangeLogFile(CoreDataTunerTest.java:79)
- Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.
- at org.openmrs.liquibase.CoreDataTunerTest.shouldCreateUpdatedChangeLogFile(CoreDataTunerTest.java:79)
- [INFO]
- [INFO] Results:
- [INFO]
- [ERROR] Errors:
- [ERROR] CoreDataTunerTest.shouldCreateUpdatedChangeLogFile:79 ยป Document Error on line...
- [INFO]
- [ERROR] Tests run: 8, Failures: 0, Errors: 1, Skipped: 0
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for OpenMRS 2.6.0-SNAPSHOT:
- [INFO]
- [INFO] OpenMRS ............................................ SUCCESS [ 1.145 s]
- [INFO] openmrs-tools ...................................... SUCCESS [ 0.673 s]
- [INFO] openmrs-test ....................................... SUCCESS [ 0.018 s]
- [INFO] openmrs-api ........................................ SUCCESS [ 5.711 s]
- [INFO] openmrs-web ........................................ SUCCESS [ 0.751 s]
- [INFO] openmrs-webapp ..................................... SUCCESS [ 1.117 s]
- [INFO] openmrs-liquibase .................................. FAILURE [ 5.198 s]
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 14.946 s
- [INFO] Finished at: 2022-09-26T16:22:27+03:00
- [INFO] ------------------------------------------------------------------------
- [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.
- [ERROR]
- [ERROR] Please refer to C:\Users\HP\openmrs-core\liquibase\target\surefire-reports for the individual test results.
- [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <args> -rf :openmrs-liquibase
- C:\Users\HP\openmrs-core>
Advertisement
Add Comment
Please, Sign In to add comment