Runs unit test and deploys artifacts to artifactory. More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #28 failed
Job: Build and test Module failed
Job result summary
- Completed
- Duration
- 52 seconds
- Revision
-
d4c09f30f8a49f60fb3b012acb3b8eb53a07f774
d4c09f30f8a49f60fb3b012acb3b8eb53a07f774 - Total tests
- 76
- Fixed in
- #29 (Code changes detected)
Tests
- 76 tests in total
- 19 tests failed
- 19 failures are new
- 19 seconds taken in total.
Status | Test | Duration | |
---|---|---|---|
Collapse |
EncounterAllFiltersTest
getEncounters_shouldReturnEncountersBelongingToPatientsAccessibleToTheUser
|
< 1 sec | |
java.lang.AssertionError: expected:<2> but was:<4> 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.datafilter.location.EncounterAllFiltersTest.getEncounters_shouldReturnEncountersBelongingToPatientsAccessibleToTheUser(EncounterAllFiltersTest.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
EncounterAllFiltersTest
getEncounters_shouldReturnNoEncountersIfTheUserIsNotGrantedAnyAccess
|
< 1 sec | |
java.lang.AssertionError: expected:<0> but was:<4> 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.datafilter.location.EncounterAllFiltersTest.getEncounters_shouldReturnNoEncountersIfTheUserIsNotGrantedAnyAccess(EncounterAllFiltersTest.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
EncounterEncTypeViewPrivilegeBasedFilterTest
getEncounters_shouldExcludeEncountersThatRequireAPrivilege
|
< 1 sec | |
java.lang.AssertionError: expected:<3> but was:<4> 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.datafilter.location.EncounterEncTypeViewPrivilegeBasedFilterTest.getEncounters_shouldExcludeEncountersThatRequireAPrivilege(EncounterEncTypeViewPrivilegeBasedFilterTest.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
EncounterEncTypeViewPrivilegeBasedFilterTest
getEncounters_shouldIncludeEncountersThatRequireAPrivilegeAndTheUserHasIt
|
< 1 sec | |
java.lang.AssertionError: expected:<3> but was:<4> 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.datafilter.location.EncounterEncTypeViewPrivilegeBasedFilterTest.getEncounters_shouldIncludeEncountersThatRequireAPrivilegeAndTheUserHasIt(EncounterEncTypeViewPrivilegeBasedFilterTest.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
EncounterEncTypeViewPrivilegeBasedFilterTest
getVisits_shouldExcludePrivilegedEncountersOfTheVisitIfTheUserHasNoRequiredPrivilege
|
< 1 sec | |
java.lang.AssertionError: expected:<2> but was:<4> 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.datafilter.location.EncounterEncTypeViewPrivilegeBasedFilterTest.getVisits_shouldExcludePrivilegedEncountersOfTheVisitIfTheUserHasNoRequiredPrivilege(EncounterEncTypeViewPrivilegeBasedFilterTest.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
EncounterLocationBasedFilterTest
getEncounters_shouldReturnEncountersBelongingToPatientsAccessibleToTheUser
|
< 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.datafilter.location.EncounterLocationBasedFilterTest.getEncounters_shouldReturnEncountersBelongingToPatientsAccessibleToTheUser(EncounterLocationBasedFilterTest.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
EncounterLocationBasedFilterTest
getEncounters_shouldReturnNoEncountersIfTheUserIsNotGrantedAccessToAnyBasis
|
< 1 sec | |
java.lang.AssertionError: expected:<0> 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.datafilter.location.EncounterLocationBasedFilterTest.getEncounters_shouldReturnNoEncountersIfTheUserIsNotGrantedAccessToAnyBasis(EncounterLocationBasedFilterTest.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
ObsEncTypeViewPrivilegeBasedFilterTest
getObs_shouldExcludeEncountersThatRequireAPrivilege
|
< 1 sec | |
java.lang.AssertionError: expected:<0> but was:<1> 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.datafilter.location.ObsEncTypeViewPrivilegeBasedFilterTest.getObs_shouldExcludeEncountersThatRequireAPrivilege(ObsEncTypeViewPrivilegeBasedFilterTest.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
ObsEncTypeViewPrivilegeBasedFilterTest
getObs_shouldIncludeEncountersThatRequireAPrivilegeAndTheUserHasIt
|
< 1 sec | |
java.lang.AssertionError: expected:<0> but was:<1> 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.datafilter.location.ObsEncTypeViewPrivilegeBasedFilterTest.getObs_shouldIncludeEncountersThatRequireAPrivilegeAndTheUserHasIt(ObsEncTypeViewPrivilegeBasedFilterTest.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
ObsLocationBasedFilterTest
getObs_shouldReturnNoObsIfTheUserIsNotGrantedAccessToAnyBasis
|
< 1 sec | |
java.lang.AssertionError: expected:<0> 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.datafilter.location.ObsLocationBasedFilterTest.getObs_shouldReturnNoObsIfTheUserIsNotGrantedAccessToAnyBasis(ObsLocationBasedFilterTest.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
ObsLocationBasedFilterTest
getObs_shouldReturnObsBelongingToPatientsAccessibleToTheUser
|
< 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.datafilter.location.ObsLocationBasedFilterTest.getObs_shouldReturnObsBelongingToPatientsAccessibleToTheUser(ObsLocationBasedFilterTest.java:66) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
PatientLocationBasedFilterTest
getAllPatients_shouldReturnNoPatientsIfTheUserIsNotGrantedAccessToAnyBasis
|
< 1 sec | |
java.lang.AssertionError: expected:<0> but was:<11> 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.datafilter.location.PatientLocationBasedFilterTest.getAllPatients_shouldReturnNoPatientsIfTheUserIsNotGrantedAccessToAnyBasis(PatientLocationBasedFilterTest.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
PatientLocationBasedFilterTest
getAllPatients_shouldReturnPatientsAccessibleToTheUser
|
< 1 sec | |
java.lang.AssertionError: expected:<3> but was:<11> 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.datafilter.location.PatientLocationBasedFilterTest.getAllPatients_shouldReturnPatientsAccessibleToTheUser(PatientLocationBasedFilterTest.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
PatientLocationBasedFilterTest
getPatients_shouldReturnNoPatientsIfTheUserIsNotGrantedAccessToAnyBasis
|
< 1 sec | |
org.hibernate.search.exception.SearchException: HSEARCH000115: Unknown @FullTextFilter: 'datafilter_locationBasedPatientFullTextFilter' at org.hibernate.search.query.engine.impl.HSQueryImpl.enableFullTextFilter(HSQueryImpl.java:389) at org.hibernate.search.query.hibernate.impl.FullTextQueryImpl.enableFullTextFilter(FullTextQueryImpl.java:318) at org.openmrs.module.datafilter.location.FullTextQueryCreatedEventListener.onApplicationEvent(FullTextQueryCreatedEventListener.java:81) at org.openmrs.module.datafilter.location.FullTextQueryCreatedEventListener.onApplicationEvent(FullTextQueryCreatedEventListener.java:34) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331) (80 more lines...) |
|||
Collapse |
PatientLocationBasedFilterTest
getPatients_shouldReturnPatientsByIdentifierAccessibleToTheUser
|
< 1 sec | |
org.hibernate.search.exception.SearchException: HSEARCH000115: Unknown @FullTextFilter: 'datafilter_locationBasedPatientFullTextFilter' at org.hibernate.search.query.engine.impl.HSQueryImpl.enableFullTextFilter(HSQueryImpl.java:389) at org.hibernate.search.query.hibernate.impl.FullTextQueryImpl.enableFullTextFilter(FullTextQueryImpl.java:318) at org.openmrs.module.datafilter.location.FullTextQueryCreatedEventListener.onApplicationEvent(FullTextQueryCreatedEventListener.java:81) at org.openmrs.module.datafilter.location.FullTextQueryCreatedEventListener.onApplicationEvent(FullTextQueryCreatedEventListener.java:34) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331) (80 more lines...) |
|||
Collapse |
PatientLocationBasedFilterTest
getPatients_shouldReturnPatientsByNameAccessibleToTheUser
|
< 1 sec | |
org.hibernate.search.exception.SearchException: HSEARCH000115: Unknown @FullTextFilter: 'datafilter_locationBasedPatientFullTextFilter' at org.hibernate.search.query.engine.impl.HSQueryImpl.enableFullTextFilter(HSQueryImpl.java:389) at org.hibernate.search.query.hibernate.impl.FullTextQueryImpl.enableFullTextFilter(FullTextQueryImpl.java:318) at org.openmrs.module.datafilter.location.FullTextQueryCreatedEventListener.onApplicationEvent(FullTextQueryCreatedEventListener.java:81) at org.openmrs.module.datafilter.location.FullTextQueryCreatedEventListener.onApplicationEvent(FullTextQueryCreatedEventListener.java:34) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331) (80 more lines...) |
|||
Collapse |
PatientLocationBasedFilterTest
getPatients_shouldReturnPatientsByPersonAttributeAccessibleToTheUser
|
< 1 sec | |
org.hibernate.search.exception.SearchException: HSEARCH000115: Unknown @FullTextFilter: 'datafilter_locationBasedPatientFullTextFilter' at org.hibernate.search.query.engine.impl.HSQueryImpl.enableFullTextFilter(HSQueryImpl.java:389) at org.hibernate.search.query.hibernate.impl.FullTextQueryImpl.enableFullTextFilter(FullTextQueryImpl.java:318) at org.openmrs.module.datafilter.location.FullTextQueryCreatedEventListener.onApplicationEvent(FullTextQueryCreatedEventListener.java:81) at org.openmrs.module.datafilter.location.FullTextQueryCreatedEventListener.onApplicationEvent(FullTextQueryCreatedEventListener.java:34) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331) (80 more lines...) |
|||
Collapse |
VisitLocationBasedFilterTest
getVisits_shouldReturnNoVisitsIfTheUserIsNotGrantedAccessToAnyBasis
|
< 1 sec | |
java.lang.AssertionError: expected:<0> 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.datafilter.location.VisitLocationBasedFilterTest.getVisits_shouldReturnNoVisitsIfTheUserIsNotGrantedAccessToAnyBasis(VisitLocationBasedFilterTest.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |
|||
Collapse |
VisitLocationBasedFilterTest
getVisits_shouldReturnVisitsBelongingToPatientsAccessibleToTheUser
|
< 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.datafilter.location.VisitLocationBasedFilterTest.getVisits_shouldReturnVisitsBelongingToPatientsAccessibleToTheUser(VisitLocationBasedFilterTest.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (37 more lines...) |