Plan for OpenMRS Core 1.11.x

Build: #358 failed

Job: Build and Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Job result summary

Completed
Duration
4 minutes
Revision
5772e7c3afd80c1fd77aaaf5d16cc70419f5f2e1 5772e7c3afd80c1fd77aaaf5d16cc70419f5f2e1
Total tests
3007
Fixed in
#359 (Code changes detected)

Tests

  • 3,007 tests in total
  • 5 tests failed
  • 5 failures are new
  • 25 tests were quarantined / skipped
  • 2 minutes taken in total.
New test failures 5
Status Test Duration
Collapse Failed ConceptServiceTest getConcepts_shouldReturnPreferredNamesHigher History
< 1 sec
java.lang.NullPointerException
	at org.openmrs.api.ConceptServiceTest.getConcepts_shouldReturnPreferredNamesHigher(ConceptServiceTest.java:3268)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
(31 more lines...)
Collapse Failed ConceptServiceTest purgeConcept_shouldFailIfAnyOfTheConceptNamesOfTheConceptIsBeingUsedByAnObs History
< 1 sec
java.lang.Exception: Unexpected exception, expected<org.openmrs.api.ConceptNameInUseException> but was<java.lang.AssertionError>
	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:83)
	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
(39 more lines...)
Collapse Failed ConceptServiceTest saveConcept_shouldCreateANewConceptNameWhenTheOldNameIsChanged History
< 1 sec
java.lang.NullPointerException
	at org.openmrs.api.ConceptServiceTest.saveConcept_shouldCreateANewConceptNameWhenTheOldNameIsChanged(ConceptServiceTest.java:1392)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
(31 more lines...)
Collapse Failed ConceptServiceTest saveConcept_shouldVoidTheConceptNameIfTheTextOfTheNameHasChanged History
< 1 sec
java.lang.NullPointerException
	at org.openmrs.api.ConceptServiceTest.saveConcept_shouldVoidTheConceptNameIfTheTextOfTheNameHasChanged(ConceptServiceTest.java:1424)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
(31 more lines...)
Collapse Failed HibernateConceptDAOTest getDrugs_shouldReturnDrugIf_EitherDrugNameIsUpperOrLowerCase History
< 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:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.openmrs.api.db.hibernate.HibernateConceptDAOTest.getDrugs_shouldReturnDrugIf_EitherDrugNameIsUpperOrLowerCase(HibernateConceptDAOTest.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(34 more lines...)