Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #1360 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
38 seconds
Revision
22bf60f6370aa06345bbeec0d8b81271c09cc072 22bf60f6370aa06345bbeec0d8b81271c09cc072
Total tests
4
Fixed in
#1361 (Manual run from the stage: Release by Wyclif Luyima)

Tests

  • 4 tests in total
  • 4 tests failed
  • 4 failures are new
  • 10 seconds taken in total.
New test failures 4
Status Test Duration
Collapse Failed ReferenceDemoDataActivatorTest org.openmrs.module.referencedemodata.ReferenceDemoDataActivatorTest History
2 secs
org.openmrs.api.APIException: contextDAO is null
	at org.openmrs.api.context.Context.getContextDAO(Context.java:173)
	at org.openmrs.api.context.Context.closeSession(Context.java:737)
	at org.openmrs.test.BaseContextSensitiveTest.closeSessionAfterEachClass(BaseContextSensitiveTest.java:739)
	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:622)
(19 more lines...)
Collapse Failed ReferenceDemoDataActivatorTest started_shouldCreateASchedulerUserAndSetTheRelatedGlobalProperties History
1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
	at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:220)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:301)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
(50 more lines...)
Collapse Failed ReferenceDemoDataActivatorTest started_shouldCreateDemoPatients History
4 secs
java.lang.IllegalStateException: Failed to load ApplicationContext
	at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:220)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:301)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
(50 more lines...)
Collapse Failed ReferenceDemoDataActivatorTest started_shouldInstallTheMetadataPackageOnStartup History
2 secs
java.lang.IllegalStateException: Failed to load ApplicationContext
	at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:220)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:301)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
(50 more lines...)