Build #1,447

Runs unit test and deploys artifacts to maven repo. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #1447 failed Child of EMRAPI-EMRAPI-866

Build result summary

Details

Completed
Duration
39 seconds
Labels
None
Revision
9003e8ed9e84c05c1e3d5dc1ee604e94de91190f 9003e8ed9e84c05c1e3d5dc1ee604e94de91190f
Total tests
16
Fixed in
#1448 (Child of APPUI-APPUI-793)

Tests

Responsible

No one has taken responsibility for this failure

Tests

New test failures 14
Status Test View job Duration
Collapse Failed CodedOrFreeTextAnswerListWidgetTest testViewNonEmptyList History
Default Job < 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 Failed EncounterDiagnosesTagHandlerComponentTest org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesTagHandlerComponentTest History
Default Job < 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 Failed EncounterDiagnosesTagHandlerComponentTest testHandleSubmissionHandlesValidSubmissionEnteringForm History
Default Job < 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 Failed EncounterDiagnosesTagHandlerComponentTest testHandleSubmissionHandlesValidSubmissionEditingForm History
Default Job < 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 Failed EncounterDiagnosesTagHandlerTest getSubstitution_shouldAFailIfInvalidValueForPriorDiagnosesAttributeValueInvalid History
Default Job < 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 Failed EncounterDiagnosesTagHandlerTest getSubstitution_shouldAddEncounterDiagnosisElementToFormSubmissionController History
Default Job < 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 Failed EncounterDispositionTagHandlerComponentTest testFormOnlyShowsDispositionsInDescriptor History
Default Job 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 Failed EncounterDispositionTagHandlerComponentTest org.openmrs.module.coreapps.htmlformentry.EncounterDispositionTagHandlerComponentTest History
Default Job 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 Failed EncounterDispositionTagHandlerComponentTest testEnteringForm History
Default Job 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 Failed ParseEncounterToJsonTest userShouldEditEncounterWhenIsAdmin History
Default Job < 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 Failed ParseEncounterToJsonTest userShouldEditEncounterWhenHasPrivilegeAndParticipatedInTheEncounter History
Default Job < 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 Failed ParseEncounterToJsonTest userShouldNotEditAnEncounterWhenDoesNotHaveThePrivilegeAndDidNotParticipatedInTheEncounter History
Default Job < 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...)
Collapse Failed ParseEncounterToJsonTest userShouldEditEncounterWhenDoesNotHavePrivilegeButParticipateInTheEncounter History
Default Job < 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 Failed ParseEncounterToJsonTest userShouldEditEncounterWhenHasPrivilegeButDidNotParticipatedInTheEncounter History
Default Job < 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...)