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

Build: #220 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Test results

  • 893 tests in total
  • 2 tests failed
  • 1 failure is new
  • 4 minutes taken in total.

Build 220 has the following 2 errors: 1 new failure(s) occurred since the previous build.

New test failures 1
Status Test Duration
Collapse Failed OrderController1_10Test shouldPlaceANewTestOrder History
< 1 sec
org.openmrs.module.webservices.validation.ValidationException: 'Order. orderId: null patient: Patient#7 concept: 5497 care setting: org.openmrs.CareSetting[6f0c9a92-6f24-11e3-af88-005056821db0]' failed to validate with reason: specimenSource: TestOrder.error.notAmongAllowedConcepts
	at org.openmrs.module.webservices.validation.ValidateUtil.validate(ValidateUtil.java:59)
	at org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource.create(DelegatingCrudResource.java:95)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController.create(MainResourceController.java:85)
	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)
(42 more lines...)
Existing test failures 1
Status Test Failing since Duration
java.lang.NullPointerException
	at org.openmrs.api.impl.OrderServiceImpl.getOrderTypeByConcept(OrderServiceImpl.java:823)
	at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
(71 more lines...)