Build: #80 failed

Job: Unit and Component Tests failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
10 minutes
Revision
17c17f2971f50b7e65e34ee422df3ec1b41a62f5 17c17f2971f50b7e65e34ee422df3ec1b41a62f5
Total tests
2416
Failing since
#78 (Code changes detected – )
Fixed in
#86 (Code changes detected)

Tests

  • 2,416 tests in total
  • 3 tests failed
  • 3 failures are new
  • 11 minutes taken in total.
New test failures 3
Status Test Duration
Collapse Failed OpenmrsTestsTest shouldHaveTestAnnotationWhenStartingWithShould History
< 1 sec
java.lang.AssertionError: org.openmrs.api.OrderServiceTest#getOrderByOrderNumber_shouldFindObjectGivenValidOrderNumber does not have the @Test annotation on it even though the method name starts with 'should'
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.openmrs.OpenmrsTestsTest.shouldHaveTestAnnotationWhenStartingWithShould(OpenmrsTestsTest.java:98)
	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)
(23 more lines...)
Collapse Failed OpenmrsProfileExclusionFilterTest match_shouldIncludeBeanForOpenmrs1_10AndLater History
< 1 sec
org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.openmrs.annotation.OpenmrsProfile1_10] is defined: expected single bean but found 0: 
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:269)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1083)
	at org.openmrs.annotation.OpenmrsProfileExclusionFilterTest.match_shouldIncludeBeanForOpenmrs1_10AndLater(OpenmrsProfileExclusionFilterTest.java:41)
	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)
(31 more lines...)
Collapse Failed OpenmrsProfileExclusionFilterTest match_shouldNotIncludeBeanForOpenmrsFrom1_6To1_8 History
< 1 sec
java.lang.AssertionError: Expected exception: org.springframework.beans.factory.NoSuchBeanDefinitionException
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:32)
	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)
(21 more lines...)