Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #173 failed Child of TRUNK-ONEPOINTTENX-242

Test results

  • 893 tests in total
  • 13 tests failed
  • 13 failures are new
  • 4 minutes taken in total.
New test failures 13
Status Test View job Duration
Collapse Failed CareSettingController1_10Test shouldGetAnCareSettingByUuid History
Default Job < 1 sec
org.openmrs.module.webservices.rest.web.response.ObjectNotFoundException
	at org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource.retrieve(DelegatingCrudResource.java:58)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController.retrieve(MainResourceController.java:69)
	at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
(40 more lines...)
Collapse Failed CareSettingController1_10Test shouldSearchAndReturnAListOfCareSettingsMatchingTheQueryString History
Default Job < 1 sec
org.junit.ComparisonFailure: expected:<[2ed1e57d-9f18-41d3-b067-2eeaf4b30fb1]> but was:<[6f0c9a92-6f24-11e3-af88-005056821db0]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs1_10.CareSettingController1_10Test.shouldSearchAndReturnAListOfCareSettingsMatchingTheQueryString(CareSettingController1_10Test.java:120)
	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)
(33 more lines...)
Collapse Failed CareSettingController1_10Test shouldReturnTheAuditInfoForTheFullRepresentation History
Default Job < 1 sec
org.openmrs.module.webservices.rest.web.response.ObjectNotFoundException
	at org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource.retrieve(DelegatingCrudResource.java:58)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController.retrieve(MainResourceController.java:69)
	at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
(40 more lines...)
Collapse Failed CareSettingController1_10Test shouldGetFullByUuid History
Default Job < 1 sec
org.openmrs.module.webservices.rest.web.response.ObjectNotFoundException
	at org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource.retrieve(DelegatingCrudResource.java:58)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController.retrieve(MainResourceController.java:69)
	at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
(40 more lines...)
Collapse Failed CareSettingController1_10Test shouldGetRefByUuid History
Default Job < 1 sec
org.openmrs.module.webservices.rest.web.response.ObjectNotFoundException
	at org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource.retrieve(DelegatingCrudResource.java:58)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController.retrieve(MainResourceController.java:69)
	at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
(40 more lines...)
Collapse Failed CareSettingController1_10Test shouldGetDefaultByUuid History
Default Job < 1 sec
org.openmrs.module.webservices.rest.web.response.ObjectNotFoundException
	at org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource.retrieve(DelegatingCrudResource.java:58)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController.retrieve(MainResourceController.java:69)
	at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
(40 more lines...)
Collapse Failed OrderController1_10Test shouldPlaceANewDrugOrder History
Default Job < 1 sec
org.openmrs.api.APIException: Cannot determine the care setting of the order
	at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:110)
	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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
(70 more lines...)
Collapse Failed OrderController1_10Test shouldPlaceANewTestOrder History
Default Job < 1 sec
org.openmrs.api.APIException: Cannot determine the care setting of the order
	at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:110)
	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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
(70 more lines...)
Collapse Failed OrderController1_10Test shouldGetTheActiveOrdersForAPatientInTheSpecifiedCareSetting History
Default Job < 1 sec
java.lang.AssertionError: expected:<1> but was:<5>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs1_10.OrderController1_10Test.shouldGetTheActiveOrdersForAPatientInTheSpecifiedCareSetting(OrderController1_10Test.java:355)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(36 more lines...)
Collapse Failed OrderController1_10Test shouldPlaceANewOrder History
Default Job < 1 sec
org.openmrs.api.APIException: Cannot determine the care setting of the order
	at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:110)
	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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
(70 more lines...)
Collapse Failed CareSettingResource1_10Test asRepresentation_shouldReturnValidDefaultRepresentation History
Default Job < 1 sec
java.lang.AssertionError: newObject must not return null
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:621)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.getObject(BaseDelegatingResourceTest.java:154)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.newDefaultRepresentation(BaseDelegatingResourceTest.java:204)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.asRepresentation_shouldReturnValidDefaultRepresentation(BaseDelegatingResourceTest.java:284)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(36 more lines...)
Collapse Failed CareSettingResource1_10Test asRepresentation_shouldReturnValidFullRepresentation History
Default Job < 1 sec
java.lang.AssertionError: newObject must not return null
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:621)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.getObject(BaseDelegatingResourceTest.java:154)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.getFullRepresentation(BaseDelegatingResourceTest.java:217)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.asRepresentation_shouldReturnValidFullRepresentation(BaseDelegatingResourceTest.java:296)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(36 more lines...)
Collapse Failed CareSettingResource1_10Test asRepresentation_shouldReturnValidRefRepresentation History
Default Job < 1 sec
java.lang.AssertionError: newObject must not return null
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:621)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.getObject(BaseDelegatingResourceTest.java:154)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.newRefRepresentation(BaseDelegatingResourceTest.java:191)
	at org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResourceTest.asRepresentation_shouldReturnValidRefRepresentation(BaseDelegatingResourceTest.java:272)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(36 more lines...)