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

Build: #1360 failed Changes by Wyclif Luyima

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
6 seconds
Duration
1 minute
Labels
None
Revisions
Git
22bf60f6370aa06345bbeec0d8b81271c09cc072 22bf60f6370aa06345bbeec0d8b81271c09cc072
Release scripts
fd5310f196074c1101fc7f1e2349005e2f083d72 fd5310f196074c1101fc7f1e2349005e2f083d72
Total tests
4
Failing since
#1358 (Manual run from the stage: Release by Wyclif Luyima)
Fixed in
#1362 (Manual run from the stage: Release by Wyclif Luyima)

Tests

Responsible

This build has been failing since #1358
No one has taken responsibility

Code commits

Git
Author Commit Message Commit date
Wyclif Luyima Wyclif Luyima 22bf60f6370aa06345bbeec0d8b81271c09cc072 22bf60f6370aa06345bbeec0d8b81271c09cc072 Changed the emrapi version to 1.4

Tests

New test failures 4
Status Test View job Duration
Collapse Failed ReferenceDemoDataActivatorTest started_shouldInstallTheMetadataPackageOnStartup History
Default Job 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...)
Collapse Failed ReferenceDemoDataActivatorTest started_shouldCreateASchedulerUserAndSetTheRelatedGlobalProperties History
Default Job 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 org.openmrs.module.referencedemodata.ReferenceDemoDataActivatorTest History
Default Job 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_shouldCreateDemoPatients History
Default Job 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...)