More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #783 failed
Job: Test against 2.2 failed
Job result summary
- Completed
- Duration
- 1 minute
- Revision
-
b1168f82ce6f65360eb06971203ede2c9ad27a9c
b1168f82ce6f65360eb06971203ede2c9ad27a9c - Total tests
- 725
- Failing since
- #782 (Manual run by Mike Seaton – )
- Fixed in
- #785 (Code changes detected)
Tests
- 725 tests in total
- 17 tests failed
- 606 tests were fixed
- 14 tests were quarantined / skipped
- 1 minute taken in total.
Status | Test | Failing since | Duration | |
---|---|---|---|---|
AgeCohortDefinitionEvaluatorTest
evaluate_shouldReturnOnlyPatientsBornOnOrBeforeTheEvaluationDate
|
Failing since build #782 (Manual run by Mike Seaton) | < 1 sec | ||
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...) |
||||
AgeCohortDefinitionEvaluatorTest
evaluate_shouldReturnOnlyPatientsInTheGivenAgeRange
|
Failing since build #782 (Manual run by Mike Seaton) | < 1 sec | ||
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...) |
||||
PatientIdentifierCohortDefinitionEvaluatorTest
evaluate_shouldReturnPatientsWhoHaveIdentifiersMatchingThePassedLocations
|
Failing since build #782 (Manual run by Mike Seaton) | < 1 sec | ||
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...) |
||||
PatientIdentifierCohortDefinitionEvaluatorTest
evaluate_shouldReturnPatientsWhoHaveIdentifiersOfThePassedTypes
|
Failing since build #782 (Manual run by Mike Seaton) | < 1 sec | ||
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...) |
||||
VisitCohortDefinitionEvaluatorTest
shouldIncludeVisit_ifActiveVisitRangeStartAfterVisitAndRangeEndAfterVisit
|
Failing since build #782 (Manual run by Mike Seaton) | < 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...) |
||||
VisitCohortDefinitionEvaluatorTest
shouldIncludeVisit_ifActiveVisitRangeStartAfterVisitStartAndVisitCurrentlyActive
|
Failing since build #782 (Manual run by Mike Seaton) | < 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...) |
||||
VisitCohortDefinitionEvaluatorTest
shouldNotIncludeVisit_ifActiveVisitRangeEndBeforeVisitStartAndVisitCurrentlyActive
|
Failing since build #782 (Manual run by Mike Seaton) | < 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...) |
||||
EncountersForPatientDataEvaluatorTest
shouldReturnEncountersInActiveVisit
|
Failing since build #782 (Manual run by Mike Seaton) | < 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...) |
||||
MultiParameterDataSetEvaluatorTest
evaluate_shouldEvaluateAMultiParameterDataSetDefinition
|
Failing since build #782 (Manual run by Mike Seaton) | < 1 sec | ||
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...) |
||||
MultiPeriodIndicatorDataSetEvaluatorTest
evaluate_shouldEvaluateAMultiPeriodIndicatorDataSetDefinition
|
Failing since build #782 (Manual run by Mike Seaton) | < 1 sec | ||
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...) |
||||
ImplementerConfiguredCohortDefinitionLibraryTest
testSerializedDefinition
|
Failing since build #782 (Manual run by Mike Seaton) | < 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: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...) |
||||
ImplementerConfiguredDataSetDefinitionLibraryTest
testSerializedDefinition
|
Failing since build #782 (Manual run by Mike Seaton) | < 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: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...) |
||||
ImplementerConfiguredEncounterDataDefinitionLibraryTest
testSerializedDefinition
|
Failing since build #782 (Manual run by Mike Seaton) | < 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: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...) |
||||
ImplementerConfiguredPatientDataDefinitionLibraryTest
testSerializedDefinition
|
Failing since build #782 (Manual run by Mike Seaton) | < 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: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...) |
||||
ImplementerConfiguredVisitDataDefinitionLibraryTest
testSerializedDefinition
|
Failing since build #782 (Manual run by Mike Seaton) | < 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: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...) |
||||
TextTemplateRendererTest
shouldRenderGroovyTemplate
|
Failing since build #782 (Manual run by Mike Seaton) | < 1 sec | ||
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...) |
||||
TextTemplateRendererTest
shouldRenderVelocityTemplate
|
Failing since build #782 (Manual run by Mike Seaton) | < 1 sec | ||
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...) |