Build: #263 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
1 minute
Revision
6e06299867a0a6508698747cfaa8e47492ba28a5 6e06299867a0a6508698747cfaa8e47492ba28a5
Total tests
76
Fixed in
#265 (Code changes detected)

Tests

  • 76 tests in total
  • 4 tests failed
  • 4 failures are new
  • 5 tests were quarantined / skipped
  • 28 seconds taken in total.
New test failures 4
Status Test Duration
Collapse Failed OpenEmpiPatientExporterTest testExportPatient History
< 1 sec
java.util.ConcurrentModificationException
	at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:778)
	at java.util.LinkedList$ListItr.next(LinkedList.java:713)
	at org.openmrs.module.registrationcore.api.mpi.openempi.OpenEmpiPatientExporter.removeOpenEmpiGlobalIdentifier(OpenEmpiPatientExporter.java:43)
	at org.openmrs.module.registrationcore.api.mpi.openempi.OpenEmpiPatientExporter.exportPatient(OpenEmpiPatientExporter.java:33)
	at org.openmrs.module.registrationcore.api.mpi.openempi.OpenEmpiPatientExporterTest.testExportPatient(OpenEmpiPatientExporterTest.java:46)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
(28 more lines...)
Collapse Failed OpenEmpiPatientFetcherTest testPerformCorrectImportForPatientWithOpenMrsIdentifier History
< 1 sec
java.lang.IllegalArgumentException: id to load is required for loading
	at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:89)
	at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:61)
	at org.hibernate.impl.SessionImpl.get(SessionImpl.java:1002)
	at org.hibernate.impl.SessionImpl.get(SessionImpl.java:998)
	at org.openmrs.api.db.hibernate.HibernatePatientDAO.getPatientIdentifierType(HibernatePatientDAO.java:302)
	at org.openmrs.api.impl.PatientServiceImpl.getPatientIdentifierType(PatientServiceImpl.java:530)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(111 more lines...)
Collapse Failed OpenEmpiPatientFetcherTest testPerformCorrectImportForPatientWithoutOpenMrsIdentifier History
< 1 sec
java.lang.IllegalArgumentException: id to load is required for loading
	at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:89)
	at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:61)
	at org.hibernate.impl.SessionImpl.get(SessionImpl.java:1002)
	at org.hibernate.impl.SessionImpl.get(SessionImpl.java:998)
	at org.openmrs.api.db.hibernate.HibernatePatientDAO.getPatientIdentifierType(HibernatePatientDAO.java:302)
	at org.openmrs.api.impl.PatientServiceImpl.getPatientIdentifierType(PatientServiceImpl.java:530)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(111 more lines...)
Collapse Failed OpenEmpiPatientFilterTest testFilterPatientsWithSimilarIdentifiers History
< 1 sec
java.util.ConcurrentModificationException
	at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:778)
	at java.util.LinkedList$ListItr.next(LinkedList.java:713)
	at org.openmrs.module.registrationcore.api.mpi.openempi.OpenEmpiPatientFilter.removePatientsWithSameIdentifier(OpenEmpiPatientFilter.java:37)
	at org.openmrs.module.registrationcore.api.mpi.openempi.OpenEmpiPatientFilter.filter(OpenEmpiPatientFilter.java:27)
	at org.openmrs.module.registrationcore.api.mpi.openempi.OpenEmpiPatientFilterTest.testFilterPatientsWithSimilarIdentifiers(OpenEmpiPatientFilterTest.java:46)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
(28 more lines...)