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

Build: #135 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
5 minutes
Revision
87f8384cc632b637f5a8fd321ce8329bff3bffaf 87f8384cc632b637f5a8fd321ce8329bff3bffaf
Total tests
892
Fixed in
#136 (Child of TRUNK-ONEPOINTTENX-202)

Tests

  • 892 tests in total
  • 2 tests failed
  • 2 failures are new
  • 4 minutes taken in total.
New test failures 2
Status Test Duration
Collapse Failed OrderTypeController1_10Test shouldEditAnOrderType History
< 1 sec
org.openmrs.module.webservices.validation.ValidationException: 'Updated name' failed to validate with reason: javaClassName: OrderType.duplicate
	at org.openmrs.module.webservices.validation.ValidateUtil.validate(ValidateUtil.java:59)
	at org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource.update(DelegatingCrudResource.java:134)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController.update(MainResourceController.java:99)
	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...)
Collapse Failed OrderTypeController1_10Test shouldRetireAnOrderType History
< 1 sec
org.openmrs.api.APIException: 'Test order' failed to validate with reason: javaClassName: OrderType.duplicate
	at org.openmrs.validator.ValidateUtil.validate(ValidateUtil.java:85)
	at org.openmrs.aop.RequiredDataAdvice.before(RequiredDataAdvice.java:136)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
(53 more lines...)

Error summary

The build generated some errors. See the full build log for more details.

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /opt/bamboo-agent/agent1-home/xml-data/build-dir/RESTWS-RESTWS-JOB1/omod-1.10/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch