Build: #283 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
47 seconds
Revision
ebb9c4d74542eaab8d8136936782359246ced68f ebb9c4d74542eaab8d8136936782359246ced68f
Total tests
76
Fixed in
#285 (Code changes detected)

Tests

  • 76 tests in total
  • 6 tests failed
  • 6 failures are new
  • 5 tests were quarantined / skipped
  • 33 seconds taken in total.
New test failures 6
Status Test Duration
Collapse Failed RegistrationCoreServiceTest registerPatient_shouldCreateAPatientFromRecordWithRelationships History
20 secs
org.hibernate.exception.SQLGrammarException: could not execute query
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.doList(Loader.java:2536)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
	at org.hibernate.loader.Loader.list(Loader.java:2271)
	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:316)
	at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1842)
(189 more lines...)
Collapse Failed RegistrationCoreServiceTest registerPatient_shouldCreateAPatientWithManuallyEnteredIdentifier History
< 1 sec
org.hibernate.LazyInitializationException: could not initialize proxy - no Session
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167)
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
	at org.openmrs.PatientIdentifierType_$$_javassist_72.toString(PatientIdentifierType_$$_javassist_72.java)
	at java.lang.String.valueOf(String.java:2838)
	at java.lang.StringBuilder.append(StringBuilder.java:132)
	at org.openmrs.validator.PatientIdentifierValidator.validateIdentifier(PatientIdentifierValidator.java:114)
(65 more lines...)
Collapse Failed RegistrationCoreServiceTest registerPatient_shouldFireAnEventWhenAPatientIsRegistered History
< 1 sec
org.hibernate.exception.SQLGrammarException: could not execute query
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.doList(Loader.java:2536)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
	at org.hibernate.loader.Loader.list(Loader.java:2271)
	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:316)
	at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1842)
(189 more lines...)
Collapse Failed RegistrationCoreServiceTest registerPatient_shouldSetProperIdentifierLocationBasedOnTag History
< 1 sec
org.hibernate.exception.SQLGrammarException: could not execute query
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.doList(Loader.java:2536)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
	at org.hibernate.loader.Loader.list(Loader.java:2271)
	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:316)
	at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1842)
(189 more lines...)
Collapse Failed RegistrationCoreServiceTest registerPatient_shouldThrowExceptionWhenInvalidIdentifier History
< 1 sec
java.lang.Exception: Unexpected exception, expected<org.openmrs.api.InvalidCheckDigitException> but was<org.hibernate.LazyInitializationException>
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
	at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
(69 more lines...)
Collapse Failed OpenEmpiPatientFetcherTest testPerformCorrectImportForPatientWithoutOpenMrsIdentifier History
< 1 sec
org.hibernate.exception.SQLGrammarException: could not execute query
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.doList(Loader.java:2536)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
	at org.hibernate.loader.Loader.list(Loader.java:2271)
	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:316)
	at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1842)
(193 more lines...)