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

Build: #784 failed

Job: Test against 2.2 failed

Job result summary

Completed
Duration
1 minute
Revision
0f5ee05d15bf54ad1b8df0057f5668994179628e 0f5ee05d15bf54ad1b8df0057f5668994179628e
Total tests
724
Failing since
#782 (Manual run by Mike Seaton)
Fixed in
#785 (Code changes detected)

Tests

  • 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.
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...)
Fixed tests 8
Status Test Failing since Duration
Successful VisitCohortDefinitionEvaluatorTest shouldIncludeVisit_ifActiveVisitRangeStartAfterVisitStartAndVisitCurrentlyActive History
Failing since build #782 (Manual run by Mike Seaton) < 1 sec
Successful VisitCohortDefinitionEvaluatorTest shouldNotIncludeVisit_ifActiveVisitRangeEndBeforeVisitStartAndVisitCurrentlyActive History
Failing since build #782 (Manual run by Mike Seaton) < 1 sec
Successful EncountersForPatientDataEvaluatorTest shouldReturnEncountersInActiveVisit History
Failing since build #782 (Manual run by Mike Seaton) < 1 sec
Successful ImplementerConfiguredCohortDefinitionLibraryTest testSerializedDefinition History
Failing since build #782 (Manual run by Mike Seaton) < 1 sec
Successful ImplementerConfiguredDataSetDefinitionLibraryTest testSerializedDefinition History
Failing since build #782 (Manual run by Mike Seaton) < 1 sec
Successful ImplementerConfiguredEncounterDataDefinitionLibraryTest testSerializedDefinition History
Failing since build #782 (Manual run by Mike Seaton) < 1 sec
Successful ImplementerConfiguredPatientDataDefinitionLibraryTest testSerializedDefinition History
Failing since build #782 (Manual run by Mike Seaton) < 1 sec
Successful ImplementerConfiguredVisitDataDefinitionLibraryTest testSerializedDefinition History
Failing since build #782 (Manual run by Mike Seaton) < 1 sec