More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #783 failed

Job: Test against 2.2 failed

Test results

  • 725 tests in total
  • 17 tests failed
  • 606 tests were fixed
  • 14 tests were quarantined / skipped
  • 1 minute taken in total.

Build 783 has the following 17 errors:There were no new test failures since the previous build.

Existing test failures 17
Status Test Failing since Duration
java.lang.AssertionError: expected:<2> but was:<3>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at org.openmrs.module.reporting.cohort.definition.evaluator.AgeCohortDefinitionEvaluatorTest.testAgeRange(AgeCohortDefinitionEvaluatorTest.java:112)
	at org.openmrs.module.reporting.cohort.definition.evaluator.AgeCohortDefinitionEvaluatorTest.evaluate_shouldReturnOnlyPatientsBornOnOrBeforeTheEvaluationDate(AgeCohortDefinitionEvaluatorTest.java:47)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(35 more lines...)
java.lang.AssertionError: expected:<1> but was:<0>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at org.openmrs.module.reporting.cohort.definition.evaluator.AgeCohortDefinitionEvaluatorTest.testAgeRange(AgeCohortDefinitionEvaluatorTest.java:112)
	at org.openmrs.module.reporting.cohort.definition.evaluator.AgeCohortDefinitionEvaluatorTest.evaluate_shouldReturnOnlyPatientsInTheGivenAgeRange(AgeCohortDefinitionEvaluatorTest.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(35 more lines...)
java.lang.AssertionError: expected:<8> but was:<9>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at org.openmrs.module.reporting.cohort.definition.evaluator.PatientIdentifierCohortDefinitionEvaluatorTest.evaluate_shouldReturnPatientsWhoHaveIdentifiersMatchingThePassedLocations(PatientIdentifierCohortDefinitionEvaluatorTest.java:82)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(34 more lines...)
java.lang.AssertionError: expected:<8> but was:<9>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at org.openmrs.module.reporting.cohort.definition.evaluator.PatientIdentifierCohortDefinitionEvaluatorTest.evaluate_shouldReturnPatientsWhoHaveIdentifiersOfThePassedTypes(PatientIdentifierCohortDefinitionEvaluatorTest.java:57)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(34 more lines...)
org.openmrs.api.ValidationException: 'Visit #null' failed to validate with reason: startDatetime: Visit.startDateCannotFallBeforeTheBirthDateOfTheSamePatient
	at org.openmrs.validator.ValidateUtil.validate(ValidateUtil.java:82)
	at org.openmrs.aop.RequiredDataAdvice.before(RequiredDataAdvice.java:127)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
(39 more lines...)
org.openmrs.api.ValidationException: 'Visit #null' failed to validate with reason: startDatetime: Visit.startDateCannotFallBeforeTheBirthDateOfTheSamePatient
	at org.openmrs.validator.ValidateUtil.validate(ValidateUtil.java:82)
	at org.openmrs.aop.RequiredDataAdvice.before(RequiredDataAdvice.java:127)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
(39 more lines...)
org.openmrs.api.ValidationException: 'Visit #null' failed to validate with reason: startDatetime: Visit.startDateCannotFallBeforeTheBirthDateOfTheSamePatient
	at org.openmrs.validator.ValidateUtil.validate(ValidateUtil.java:82)
	at org.openmrs.aop.RequiredDataAdvice.before(RequiredDataAdvice.java:127)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
(39 more lines...)
org.openmrs.api.ValidationException: 'Visit #null' failed to validate with reason: startDatetime: Visit.startDateCannotFallBeforeTheBirthDateOfTheSamePatient
	at org.openmrs.validator.ValidateUtil.validate(ValidateUtil.java:82)
	at org.openmrs.aop.RequiredDataAdvice.before(RequiredDataAdvice.java:127)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
(39 more lines...)
java.lang.AssertionError: expected:<3> but was:<5>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at org.openmrs.module.reporting.dataset.definition.evaluator.MultiParameterDataSetEvaluatorTest.evaluate_shouldEvaluateAMultiParameterDataSetDefinition(MultiParameterDataSetEvaluatorTest.java:80)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(34 more lines...)
java.lang.AssertionError: expected:<Sun May 27 00:00:00 UTC 2007> but was:<1975-05-27 00:00:00.0>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.openmrs.module.reporting.dataset.definition.evaluator.MultiPeriodIndicatorDataSetEvaluatorTest.evaluate_shouldEvaluateAMultiPeriodIndicatorDataSetDefinition(MultiPeriodIndicatorDataSetEvaluatorTest.java:53)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(34 more lines...)
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:230)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:598)
	at org.openmrs.api.context.Context.isAuthenticated(Context.java:608)
	at org.openmrs.module.serialization.xstream.XStreamSerializer.deserialize(XStreamSerializer.java:332)
	at org.openmrs.module.reporting.serializer.ReportingSerializer.deserialize(ReportingSerializer.java:92)
	at org.openmrs.module.reporting.definition.library.implementerconfigured.BaseImplementerConfiguredDefinitionLibrary.loadDefinitions(BaseImplementerConfiguredDefinitionLibrary.java:134)
	at org.openmrs.module.reporting.definition.library.implementerconfigured.BaseImplementerConfiguredDefinitionLibrary.ensureDefinitions(BaseImplementerConfiguredDefinitionLibrary.java:104)
(38 more lines...)
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:230)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:598)
	at org.openmrs.api.context.Context.isAuthenticated(Context.java:608)
	at org.openmrs.module.serialization.xstream.XStreamSerializer.deserialize(XStreamSerializer.java:332)
	at org.openmrs.module.reporting.serializer.ReportingSerializer.deserialize(ReportingSerializer.java:92)
	at org.openmrs.module.reporting.definition.library.implementerconfigured.BaseImplementerConfiguredDefinitionLibrary.loadDefinitions(BaseImplementerConfiguredDefinitionLibrary.java:134)
	at org.openmrs.module.reporting.definition.library.implementerconfigured.BaseImplementerConfiguredDefinitionLibrary.ensureDefinitions(BaseImplementerConfiguredDefinitionLibrary.java:104)
(38 more lines...)
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:230)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:598)
	at org.openmrs.api.context.Context.isAuthenticated(Context.java:608)
	at org.openmrs.module.serialization.xstream.XStreamSerializer.deserialize(XStreamSerializer.java:332)
	at org.openmrs.module.reporting.serializer.ReportingSerializer.deserialize(ReportingSerializer.java:92)
	at org.openmrs.module.reporting.definition.library.implementerconfigured.BaseImplementerConfiguredDefinitionLibrary.loadDefinitions(BaseImplementerConfiguredDefinitionLibrary.java:134)
	at org.openmrs.module.reporting.definition.library.implementerconfigured.BaseImplementerConfiguredDefinitionLibrary.ensureDefinitions(BaseImplementerConfiguredDefinitionLibrary.java:104)
(38 more lines...)
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:230)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:598)
	at org.openmrs.api.context.Context.isAuthenticated(Context.java:608)
	at org.openmrs.module.serialization.xstream.XStreamSerializer.deserialize(XStreamSerializer.java:332)
	at org.openmrs.module.reporting.serializer.ReportingSerializer.deserialize(ReportingSerializer.java:92)
	at org.openmrs.module.reporting.definition.library.implementerconfigured.BaseImplementerConfiguredDefinitionLibrary.loadDefinitions(BaseImplementerConfiguredDefinitionLibrary.java:134)
	at org.openmrs.module.reporting.definition.library.implementerconfigured.BaseImplementerConfiguredDefinitionLibrary.ensureDefinitions(BaseImplementerConfiguredDefinitionLibrary.java:104)
(38 more lines...)
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:230)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:598)
	at org.openmrs.api.context.Context.isAuthenticated(Context.java:608)
	at org.openmrs.module.serialization.xstream.XStreamSerializer.deserialize(XStreamSerializer.java:332)
	at org.openmrs.module.reporting.serializer.ReportingSerializer.deserialize(ReportingSerializer.java:92)
	at org.openmrs.module.reporting.definition.library.implementerconfigured.BaseImplementerConfiguredDefinitionLibrary.loadDefinitions(BaseImplementerConfiguredDefinitionLibrary.java:134)
	at org.openmrs.module.reporting.definition.library.implementerconfigured.BaseImplementerConfiguredDefinitionLibrary.ensureDefinitions(BaseImplementerConfiguredDefinitionLibrary.java:104)
(38 more lines...)
org.junit.ComparisonFailure: expected:<...r><birthdate>27/May/[2007]</birthdate></row><r...> but was:<...r><birthdate>27/May/[1975]</birthdate></row><r...>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.openmrs.module.reporting.report.renderer.TextTemplateRendererTest.shouldRenderTemplate(TextTemplateRendererTest.java:114)
	at org.openmrs.module.reporting.report.renderer.TextTemplateRendererTest.shouldRenderGroovyTemplate(TextTemplateRendererTest.java:44)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(33 more lines...)
org.junit.ComparisonFailure: expected:<...r><birthdate>27/May/[2007]</birthdate></row><r...> but was:<...r><birthdate>27/May/[1975]</birthdate></row><r...>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.openmrs.module.reporting.report.renderer.TextTemplateRendererTest.shouldRenderTemplate(TextTemplateRendererTest.java:114)
	at org.openmrs.module.reporting.report.renderer.TextTemplateRendererTest.shouldRenderVelocityTemplate(TextTemplateRendererTest.java:49)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(33 more lines...)