Runs unit test and deploys artifacts to maven repo. More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #1447 failed
Job: Default Job failed
Job result summary
- Completed
- Duration
- 33 seconds
- Revision
-
9003e8ed9e84c05c1e3d5dc1ee604e94de91190f
9003e8ed9e84c05c1e3d5dc1ee604e94de91190f - Total tests
- 16
- Fixed in
- #1448 (Child of APPUI-APPUI-793)
Tests
- 16 tests in total
- 14 tests failed
- 14 failures are new
- 9 seconds taken in total.
Status | Test | Duration | |
---|---|---|---|
Collapse |
CodedOrFreeTextAnswerListWidgetTest
testViewNonEmptyList
|
< 1 sec | |
java.lang.NoClassDefFoundError: org/openmrs/module/emrapi/diagnosis/CodedOrFreeTextAnswer at org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextAnswerListWidgetTest.testViewNonEmptyList(CodedOrFreeTextAnswerListWidgetTest.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) (32 more lines...) |
|||
Collapse |
EncounterDiagnosesTagHandlerComponentTest
org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesTagHandlerComponentTest
|
< 1 sec | |
org.openmrs.api.APIException: contextDAO is null at org.openmrs.api.context.Context.getContextDAO(Context.java:173) at org.openmrs.api.context.Context.closeSession(Context.java:737) at org.openmrs.test.BaseContextSensitiveTest.closeSessionAfterEachClass(BaseContextSensitiveTest.java:709) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) (19 more lines...) |
|||
Collapse |
EncounterDiagnosesTagHandlerComponentTest
testHandleSubmissionHandlesValidSubmissionEditingForm
|
< 1 sec | |
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:220) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:301) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) (58 more lines...) |
|||
Collapse |
EncounterDiagnosesTagHandlerComponentTest
testHandleSubmissionHandlesValidSubmissionEnteringForm
|
< 1 sec | |
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:220) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:301) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) (58 more lines...) |
|||
Collapse |
EncounterDiagnosesTagHandlerTest
getSubstitution_shouldAFailIfInvalidValueForPriorDiagnosesAttributeValueInvalid
|
< 1 sec | |
java.lang.NoClassDefFoundError: org/openmrs/module/emrapi/visit/VisitDomainWrapper at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2534) at java.lang.Class.getDeclaredMethods(Class.java:1855) at org.mockito.cglib.core.ReflectUtils.addAllMethods(ReflectUtils.java:349) at org.mockito.cglib.proxy.Enhancer.getMethods(Enhancer.java:427) at org.mockito.cglib.proxy.Enhancer.generateClass(Enhancer.java:457) at org.mockito.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) (50 more lines...) |
|||
Collapse |
EncounterDiagnosesTagHandlerTest
getSubstitution_shouldAddEncounterDiagnosisElementToFormSubmissionController
|
< 1 sec | |
java.lang.NoClassDefFoundError: org/openmrs/module/emrapi/visit/VisitDomainWrapper at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2534) at java.lang.Class.getDeclaredMethods(Class.java:1855) at org.mockito.cglib.core.ReflectUtils.addAllMethods(ReflectUtils.java:349) at org.mockito.cglib.proxy.Enhancer.getMethods(Enhancer.java:427) at org.mockito.cglib.proxy.Enhancer.generateClass(Enhancer.java:457) at org.mockito.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) (50 more lines...) |
|||
Collapse |
EncounterDispositionTagHandlerComponentTest
org.openmrs.module.coreapps.htmlformentry.EncounterDispositionTagHandlerComponentTest
|
1 sec | |
org.openmrs.api.APIException: contextDAO is null at org.openmrs.api.context.Context.getContextDAO(Context.java:173) at org.openmrs.api.context.Context.closeSession(Context.java:737) at org.openmrs.test.BaseContextSensitiveTest.closeSessionAfterEachClass(BaseContextSensitiveTest.java:709) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) (19 more lines...) |
|||
Collapse |
EncounterDispositionTagHandlerComponentTest
testEnteringForm
|
3 secs | |
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:220) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:301) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) (58 more lines...) |
|||
Collapse |
EncounterDispositionTagHandlerComponentTest
testFormOnlyShowsDispositionsInDescriptor
|
1 sec | |
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:220) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:301) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) (58 more lines...) |
|||
Collapse |
ParseEncounterToJsonTest
userShouldEditEncounterWhenDoesNotHavePrivilegeButParticipateInTheEncounter
|
< 1 sec | |
java.lang.NoClassDefFoundError: org/openmrs/module/emrapi/encounter/EncounterDomainWrapper at org.openmrs.module.coreapps.parser.ParseEncounterToJson.createEncounterJSON(ParseEncounterToJson.java:37) at org.openmrs.module.coreapps.parser.ParseEncounterToJsonTest.userShouldEditEncounterWhenDoesNotHavePrivilegeButParticipateInTheEncounter(ParseEncounterToJsonTest.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:68) (30 more lines...) |
|||
Collapse |
ParseEncounterToJsonTest
userShouldEditEncounterWhenHasPrivilegeAndParticipatedInTheEncounter
|
< 1 sec | |
java.lang.NoClassDefFoundError: org/openmrs/module/emrapi/encounter/EncounterDomainWrapper at org.openmrs.module.coreapps.parser.ParseEncounterToJson.createEncounterJSON(ParseEncounterToJson.java:37) at org.openmrs.module.coreapps.parser.ParseEncounterToJsonTest.userShouldEditEncounterWhenHasPrivilegeAndParticipatedInTheEncounter(ParseEncounterToJsonTest.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:68) (30 more lines...) |
|||
Collapse |
ParseEncounterToJsonTest
userShouldEditEncounterWhenHasPrivilegeButDidNotParticipatedInTheEncounter
|
< 1 sec | |
java.lang.NoClassDefFoundError: org/openmrs/module/emrapi/encounter/EncounterDomainWrapper at org.openmrs.module.coreapps.parser.ParseEncounterToJson.createEncounterJSON(ParseEncounterToJson.java:37) at org.openmrs.module.coreapps.parser.ParseEncounterToJsonTest.userShouldEditEncounterWhenHasPrivilegeButDidNotParticipatedInTheEncounter(ParseEncounterToJsonTest.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:68) (41 more lines...) |
|||
Collapse |
ParseEncounterToJsonTest
userShouldEditEncounterWhenIsAdmin
|
< 1 sec | |
java.lang.NoClassDefFoundError: org/openmrs/module/emrapi/encounter/EncounterDomainWrapper at org.openmrs.module.coreapps.parser.ParseEncounterToJson.createEncounterJSON(ParseEncounterToJson.java:37) at org.openmrs.module.coreapps.parser.ParseEncounterToJsonTest.userShouldEditEncounterWhenIsAdmin(ParseEncounterToJsonTest.java:115) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:68) (30 more lines...) |
|||
Collapse |
ParseEncounterToJsonTest
userShouldNotEditAnEncounterWhenDoesNotHaveThePrivilegeAndDidNotParticipatedInTheEncounter
|
< 1 sec | |
java.lang.NoClassDefFoundError: org/openmrs/module/emrapi/encounter/EncounterDomainWrapper at org.openmrs.module.coreapps.parser.ParseEncounterToJson.createEncounterJSON(ParseEncounterToJson.java:37) at org.openmrs.module.coreapps.parser.ParseEncounterToJsonTest.userShouldNotEditAnEncounterWhenDoesNotHaveThePrivilegeAndDidNotParticipatedInTheEncounter(ParseEncounterToJsonTest.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:68) (30 more lines...) |