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

Build: #784 failed

Job: Test against 2.2 failed

Test results

  • 724 tests in total
  • 10 tests failed
  • 1 failure is new
  • 8 tests were fixed
  • 14 tests were quarantined / skipped
  • 1 minute taken in total.

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

New test failures 1
Status Test Duration
Collapse Failed VisitCohortDefinitionEvaluatorTest shouldIncludeVisit_ifActiveVisitRangeEndSameAsVisitStart History
< 1 sec
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...)
Existing test failures 9
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...)
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.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...)