Builds, runs unit tests and deploys artifacts to nexus repo

Build: #326 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Test results

  • 466 tests in total
  • 3 tests failed
  • 3 failures are new
  • 1 test was quarantined / skipped
  • 5 minutes taken in total.

Build 326 has the following 3 errors: 3 new failure(s) occurred since the previous build.

New test failures 3
Status Test Duration
Collapse Failed NumberFieldWidgetTest testNoAttributesWhenNotNeeded History
< 1 sec
org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
	at org.openmrs.api.context.Context.getUserContext(Context.java:237)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:616)
	at org.openmrs.aop.AuthorizationAdvice.before(AuthorizationAdvice.java:48)
	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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at com.sun.proxy.$Proxy221.getMessage(Unknown Source)
(67 more lines...)
Collapse Failed NumberFieldWidgetTest testRangeAttributes History
< 1 sec
org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
	at org.openmrs.api.context.Context.getUserContext(Context.java:237)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:616)
	at org.openmrs.aop.AuthorizationAdvice.before(AuthorizationAdvice.java:48)
	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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at com.sun.proxy.$Proxy221.getMessage(Unknown Source)
(67 more lines...)
Collapse Failed NumberFieldWidgetTest testShowsWholeNumberWithoutDecimalInEditMode History
< 1 sec
org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
	at org.openmrs.api.context.Context.getUserContext(Context.java:237)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:616)
	at org.openmrs.aop.AuthorizationAdvice.before(AuthorizationAdvice.java:48)
	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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at com.sun.proxy.$Proxy221.getMessage(Unknown Source)
(67 more lines...)