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

Stages & jobs

  1. Default Stage

Build result summary

Details

Completed
Queue duration
1 second
Duration
5 minutes
Labels
None
Revision
4c4b649f5ff0bb8a197db93e8d05b442704d1d9f
Total tests
893
Fixed in
#174 (Changes by Wyclif Luyima)

Tests

Responsible

No one has taken responsibility for this failure

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Tests

New test failures 13
Status Test View job Duration
Collapse Failed CareSettingController1_10Test shouldGetAnCareSettingByUuid
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
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
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
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
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
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
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
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
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
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
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
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
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...)