Runs unit test and deploys artifacts to artifactory. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #35 failed

Job: Build and test Module failed

Stages & jobs

  1. Test module

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
24 seconds
Agent
yue.openmrs.org
Revision
ea2bfa18037981d08f483cdda3b103f2839c8b59 ea2bfa18037981d08f483cdda3b103f2839c8b59
Total tests
37
Fixed in
#37 (Code changes detected)

Tests

  • 37 tests in total
  • 11 tests failed
  • 11 failures are new
  • 2 seconds taken in total.
New test failures 11
Status Test Duration
Collapse Failed UtilTest loadHibernateFilterRegistrations_shouldLoadAllHibernateFilterRegistrations History
< 1 sec
java.lang.AssertionError: expected:<7> but was:<8>
	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.UtilTest.loadHibernateFilterRegistrations_shouldLoadAllHibernateFilterRegistrations(UtilTest.java:39)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(27 more lines...)
Collapse Failed AccessUtilTest org.openmrs.module.datafilter.impl.AccessUtilTest History
< 1 sec
java.lang.UnsupportedOperationException
	at java.util.AbstractMap.put(AbstractMap.java:209)
	at org.openmrs.module.datafilter.Util.addAnnotationToClass(Util.java:232)
	at org.openmrs.module.datafilter.Util.addAnnotationToGroup(Util.java:206)
	at org.openmrs.module.datafilter.Util.registerFilter(Util.java:168)
	at org.openmrs.module.datafilter.Util.initializeFilters(Util.java:120)
	at org.openmrs.module.datafilter.impl.BaseFilterTest.beforeBaseFilterClass(BaseFilterTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(24 more lines...)
Collapse Failed EncounterAllFiltersTest org.openmrs.module.datafilter.impl.EncounterAllFiltersTest History
< 1 sec
java.lang.UnsupportedOperationException
	at java.util.AbstractMap.put(AbstractMap.java:209)
	at org.openmrs.module.datafilter.Util.addAnnotationToClass(Util.java:232)
	at org.openmrs.module.datafilter.Util.addAnnotationToGroup(Util.java:206)
	at org.openmrs.module.datafilter.Util.registerFilter(Util.java:168)
	at org.openmrs.module.datafilter.Util.initializeFilters(Util.java:120)
	at org.openmrs.module.datafilter.impl.BaseFilterTest.beforeBaseFilterClass(BaseFilterTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(24 more lines...)
Collapse Failed EncounterEncTypeViewPrivilegeBasedFilterTest org.openmrs.module.datafilter.impl.EncounterEncTypeViewPrivilegeBasedFilterTest History
< 1 sec
java.lang.UnsupportedOperationException
	at java.util.AbstractMap.put(AbstractMap.java:209)
	at org.openmrs.module.datafilter.Util.addAnnotationToClass(Util.java:232)
	at org.openmrs.module.datafilter.Util.addAnnotationToGroup(Util.java:206)
	at org.openmrs.module.datafilter.Util.registerFilter(Util.java:168)
	at org.openmrs.module.datafilter.Util.initializeFilters(Util.java:120)
	at org.openmrs.module.datafilter.impl.BaseFilterTest.beforeBaseFilterClass(BaseFilterTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(24 more lines...)
Collapse Failed EncounterLocationBasedFilterTest org.openmrs.module.datafilter.impl.EncounterLocationBasedFilterTest History
< 1 sec
java.lang.UnsupportedOperationException
	at java.util.AbstractMap.put(AbstractMap.java:209)
	at org.openmrs.module.datafilter.Util.addAnnotationToClass(Util.java:232)
	at org.openmrs.module.datafilter.Util.addAnnotationToGroup(Util.java:206)
	at org.openmrs.module.datafilter.Util.registerFilter(Util.java:168)
	at org.openmrs.module.datafilter.Util.initializeFilters(Util.java:120)
	at org.openmrs.module.datafilter.impl.BaseFilterTest.beforeBaseFilterClass(BaseFilterTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(24 more lines...)
Collapse Failed ObsEncTypeViewPrivilegeBasedFilterTest org.openmrs.module.datafilter.impl.ObsEncTypeViewPrivilegeBasedFilterTest History
< 1 sec
java.lang.UnsupportedOperationException
	at java.util.AbstractMap.put(AbstractMap.java:209)
	at org.openmrs.module.datafilter.Util.addAnnotationToClass(Util.java:232)
	at org.openmrs.module.datafilter.Util.addAnnotationToGroup(Util.java:206)
	at org.openmrs.module.datafilter.Util.registerFilter(Util.java:168)
	at org.openmrs.module.datafilter.Util.initializeFilters(Util.java:120)
	at org.openmrs.module.datafilter.impl.BaseFilterTest.beforeBaseFilterClass(BaseFilterTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(24 more lines...)
Collapse Failed ObsLocationBasedFilterTest org.openmrs.module.datafilter.impl.ObsLocationBasedFilterTest History
< 1 sec
java.lang.UnsupportedOperationException
	at java.util.AbstractMap.put(AbstractMap.java:209)
	at org.openmrs.module.datafilter.Util.addAnnotationToClass(Util.java:232)
	at org.openmrs.module.datafilter.Util.addAnnotationToGroup(Util.java:206)
	at org.openmrs.module.datafilter.Util.registerFilter(Util.java:168)
	at org.openmrs.module.datafilter.Util.initializeFilters(Util.java:120)
	at org.openmrs.module.datafilter.impl.BaseFilterTest.beforeBaseFilterClass(BaseFilterTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(24 more lines...)
Collapse Failed PatientLocationBasedFilterTest org.openmrs.module.datafilter.impl.PatientLocationBasedFilterTest History
< 1 sec
java.lang.UnsupportedOperationException
	at java.util.AbstractMap.put(AbstractMap.java:209)
	at org.openmrs.module.datafilter.Util.addAnnotationToClass(Util.java:232)
	at org.openmrs.module.datafilter.Util.addAnnotationToGroup(Util.java:206)
	at org.openmrs.module.datafilter.Util.registerFilter(Util.java:168)
	at org.openmrs.module.datafilter.Util.initializeFilters(Util.java:120)
	at org.openmrs.module.datafilter.impl.BaseFilterTest.beforeBaseFilterClass(BaseFilterTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(24 more lines...)
Collapse Failed UserLocationBasedFilterTest org.openmrs.module.datafilter.impl.UserLocationBasedFilterTest History
< 1 sec
java.lang.UnsupportedOperationException
	at java.util.AbstractMap.put(AbstractMap.java:209)
	at org.openmrs.module.datafilter.Util.addAnnotationToClass(Util.java:232)
	at org.openmrs.module.datafilter.Util.addAnnotationToGroup(Util.java:206)
	at org.openmrs.module.datafilter.Util.registerFilter(Util.java:168)
	at org.openmrs.module.datafilter.Util.initializeFilters(Util.java:120)
	at org.openmrs.module.datafilter.impl.BaseFilterTest.beforeBaseFilterClass(BaseFilterTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(24 more lines...)
Collapse Failed VisitLocationBasedFilterTest org.openmrs.module.datafilter.impl.VisitLocationBasedFilterTest History
< 1 sec
java.lang.UnsupportedOperationException
	at java.util.AbstractMap.put(AbstractMap.java:209)
	at org.openmrs.module.datafilter.Util.addAnnotationToClass(Util.java:232)
	at org.openmrs.module.datafilter.Util.addAnnotationToGroup(Util.java:206)
	at org.openmrs.module.datafilter.Util.registerFilter(Util.java:168)
	at org.openmrs.module.datafilter.Util.initializeFilters(Util.java:120)
	at org.openmrs.module.datafilter.impl.BaseFilterTest.beforeBaseFilterClass(BaseFilterTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(24 more lines...)
Collapse Failed DataFilterServiceTest org.openmrs.module.datafilter.impl.api.DataFilterServiceTest History
< 1 sec
java.lang.UnsupportedOperationException
	at java.util.AbstractMap.put(AbstractMap.java:209)
	at org.openmrs.module.datafilter.Util.addAnnotationToClass(Util.java:232)
	at org.openmrs.module.datafilter.Util.addAnnotationToGroup(Util.java:206)
	at org.openmrs.module.datafilter.Util.registerFilter(Util.java:168)
	at org.openmrs.module.datafilter.Util.initializeFilters(Util.java:120)
	at org.openmrs.module.datafilter.impl.BaseFilterTest.beforeBaseFilterClass(BaseFilterTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(24 more lines...)