Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 033102@FEIT033102 MINGW64 ~/Documents/Project/Slicer/ABUS_Server_Build/openmrs-module-radiology-master
- $ mvn package
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] Radiology [pom]
- [INFO] Radiology API [jar]
- [INFO] Radiology OMOD [jar]
- [INFO]
- [INFO] --------------------< org.openmrs.module:radiology >--------------------
- [INFO] Building Radiology 0.1.2-SNAPSHOT [1/3]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ radiology ---
- [INFO] Updating license headers...
- [INFO]
- [INFO] ------------------< org.openmrs.module:radiology-api >------------------
- [INFO] Building Radiology API 0.1.2-SNAPSHOT [2/3]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (prepare-agent) @ radiology-api ---
- [INFO] argLine set to -javaagent:C:\\Users\\033102\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.7.7.201606060606\\org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=C:\\Users\\033102\\Documents\\Project\\Slicer\\ABUS_Server_Build\\openmrs-module-radiology-master\\api\\target\\jacoco.exec
- [INFO]
- [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ radiology-api ---
- [INFO] Updating license headers...
- [INFO]
- [INFO] --- formatter-maven-plugin:1.6.0:format (format-code) @ radiology-api ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 93
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 93 file(s)
- [INFO] Approximate time taken: 0s
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ radiology-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 27 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ radiology-api ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ radiology-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 33 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ radiology-api ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ radiology-api ---
- [INFO] Surefire report directory: C:\Users\033102\Documents\Project\Slicer\ABUS_Server_Build\openmrs-module-radiology-master\api\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.module.radiology.dicom.code.PerformedProcedureStepStatusTest
- Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.101 sec
- Running org.openmrs.module.radiology.dicom.DicomUidValidatorTest
- Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
- Running org.openmrs.module.radiology.dicom.DicomWebViewerTest
- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.959 sec
- Running org.openmrs.module.radiology.dicom.UuidDicomUidGeneratorTest
- Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec
- Running org.openmrs.module.radiology.modality.RadiologyModalityEditorComponentTest
- Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.766 sec
- Running org.openmrs.module.radiology.modality.RadiologyModalityServiceComponentTest
- Tests run: 16, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.6 sec <<< FAILURE!
- shouldThrowIllegalArgumentExceptionIfGivenReasonIsNullOrContainsOnlyWhitespaces(org.openmrs.module.radiology.modality.RadiologyModalityServiceComponentTest) Time elapsed: 0.059 sec <<< FAILURE!
- java.lang.AssertionError:
- Expected: (an instance of java.lang.IllegalArgumentException and exception with message a string containing "Reason for deletion cannot be empty")
- but: exception with message a string containing "Reason for deletion cannot be empty" message was "删除原因不能为空"
- Stacktrace was: java.lang.IllegalArgumentException: 删除原因不能为空
- at org.openmrs.module.radiology.modality.RadiologyModalityServiceImpl.retireRadiologyModality(RadiologyModalityServiceImpl.java:58)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
- at com.sun.proxy.$Proxy96.retireRadiologyModality(Unknown Source)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
- at com.sun.proxy.$Proxy97.retireRadiologyModality(Unknown Source)
- at org.openmrs.module.radiology.modality.RadiologyModalityServiceComponentTest.shouldThrowIllegalArgumentExceptionIfGivenReasonIsNullOrContainsOnlyWhitespaces(RadiologyModalityServiceComponentTest.java:153)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
- at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
- at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
- at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
- at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
- at org.junit.rules.RunRules.evaluate(RunRules.java:20)
- at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
- at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
- at org.junit.Assert.assertThat(Assert.java:865)
- at org.junit.Assert.assertThat(Assert.java:832)
- at org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
- at org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
- at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
- at org.junit.rules.RunRules.evaluate(RunRules.java:20)
- at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
- at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
- Running org.openmrs.module.radiology.modality.RadiologyModalityValidatorTest
- Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.229 sec
- Running org.openmrs.module.radiology.order.HibernateRadiologyOrderDAOComponentTest
- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec
- Running org.openmrs.module.radiology.order.RadiologyOrderSearchCriteriaTest
- Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
- Running org.openmrs.module.radiology.order.RadiologyOrderServiceComponentTest
- Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.437 sec
- Running org.openmrs.module.radiology.order.RadiologyOrderServiceImplComponentTest
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.302 sec
- Running org.openmrs.module.radiology.order.RadiologyOrderServiceTest
- Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.276 sec
- Running org.openmrs.module.radiology.order.RadiologyOrderTest
- Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
- Running org.openmrs.module.radiology.order.RadiologyOrderValidatorTest
- Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
- Running org.openmrs.module.radiology.RadiologyPropertiesComponentTest
- Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.671 sec
- Running org.openmrs.module.radiology.report.RadiologyReportEditorComponentTest
- Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.245 sec
- Running org.openmrs.module.radiology.report.RadiologyReportSearchCriteriaTest
- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
- Running org.openmrs.module.radiology.report.RadiologyReportServiceComponentTest
- Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.088 sec
- Running org.openmrs.module.radiology.report.RadiologyReportServiceTest
- Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.512 sec
- Running org.openmrs.module.radiology.report.RadiologyReportTest
- Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
- Running org.openmrs.module.radiology.report.RadiologyReportValidatorTest
- Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
- Running org.openmrs.module.radiology.report.template.MetaTagsValidationEngineTest
- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
- Running org.openmrs.module.radiology.report.template.MrrtReportTemplateEditorComponentTest
- Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 sec
- Running org.openmrs.module.radiology.report.template.MrrtReportTemplateFileParserComponentTest
- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.377 sec
- Running org.openmrs.module.radiology.report.template.MrrtReportTemplateSearchCriteriaTest
- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
- Running org.openmrs.module.radiology.report.template.MrrtReportTemplateServiceComponentTest
- Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.742 sec
- Running org.openmrs.module.radiology.report.template.MrrtReportTemplateValidatorComponentTest
- Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.396 sec
- Running org.openmrs.module.radiology.report.template.ValidationResultTest
- Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
- Running org.openmrs.module.radiology.study.RadiologyStudyEditorComponentTest
- Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 sec
- Running org.openmrs.module.radiology.study.RadiologyStudyServiceComponentTest
- Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.287 sec
- Running org.openmrs.module.radiology.study.RadiologyStudyServiceImplTest
- Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
- Running org.openmrs.module.radiology.study.RadiologyStudyTest
- Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
- Running org.openmrs.module.radiology.util.DecimalUuidTest
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
- Results :
- Failed tests: shouldThrowIllegalArgumentExceptionIfGivenReasonIsNullOrContainsOnlyWhitespaces(org.openmrs.module.radiology.modality.RadiologyModalityServiceComponentTest): (..)
- Tests run: 372, Failures: 1, Errors: 0, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for Radiology 0.1.2-SNAPSHOT:
- [INFO]
- [INFO] Radiology .......................................... SUCCESS [ 1.186 s]
- [INFO] Radiology API ...................................... FAILURE [ 31.488 s]
- [INFO] Radiology OMOD ..................................... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 33.145 s
- [INFO] Finished at: 2020-10-26T23:28:08+11:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project radiology-api: There are test failures.
- [ERROR]
- [ERROR] Please refer to C:\Users\033102\Documents\Project\Slicer\ABUS_Server_Build\openmrs-module-radiology-master\api\target\surefire-reports for the individual test results.
- [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 :radiology-api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement