Build: #82 failed

Job: Unit and Component Tests failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
9 minutes
Revision
5188d611ef245e9c228df9bd13c386747572bf8e 5188d611ef245e9c228df9bd13c386747572bf8e
Total tests
2422
Failing since
#78 (Code changes detected – )
Fixed in
#86 (Code changes detected)

Tests

  • 2,422 tests in total
  • 2 tests failed
  • 1,440 tests were fixed
  • 10 minutes taken in total.
Existing test failures 2
Status Test Failing since Duration
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...)
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...)
Fixed tests 1440
Status Test Failing since Duration
Successful BaseCustomizableMetadataTest setAttribute_shouldVoidTheAttributeIfAnAttributeWithSameAttributeTypeAlreadyExistsAndTheMaxOccursIsSetTo1 History
Failing since build #81 (Code changes detected) < 1 sec
Successful BaseCustomizableMetadataTest setAttribute_shouldWorkForAttriubutesWithDatatypesWhoseValuesAreStoredInOtherTables History
Failing since build #81 (Code changes detected) < 1 sec
Successful ConceptComponentTest getName_shouldReturnANameInTheMatchingLocaleIfExactIsSetToFalse History
Failing since build #81 (Code changes detected) < 1 sec
Successful ConceptWordTest makeConceptWords_shouldNotIncludeVoidedNames History
Failing since build #81 (Code changes detected) < 1 sec
Successful ConceptWordTest makeConceptWords_shouldReturnSeparateConceptWordObjectsForTheSameWordInDifferentConceptNames History
Failing since build #81 (Code changes detected) < 1 sec
Successful DrugTest addDrugReferenceMap_shouldSetDrugAsTheDrugToWhichAMappingIsBeingAdded History
Failing since build #81 (Code changes detected) < 1 sec
Successful DrugTest addDrugReferenceMap_shouldShouldNotAddDuplicateDrugReferenceMaps History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest Encounter_shouldSetEncounterId History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addObs_shouldAddEncounterAttrsToObsGroupMembersIfAttributesAreNull History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addObs_shouldAddEncounterAttrsToObsIfAttributesAreNull History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addObs_shouldAddObsToNonNullInitialObsSet History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addObs_shouldAddObsWithNullValues History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addObs_shouldNotFailWithNullObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addObs_shouldSetEncounterAttributeOnObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addOrder_shouldAddOrderToNonNulInitialOrderSet History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addOrder_shouldAddOrderWithNullValues History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addOrder_shouldNotFailWithNullObsPassedToAddOrder History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addOrder_shouldSetEncounterAttribute History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addProvider_shouldAddProviderForNewRole History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addProvider_shouldAddSecondProviderForRole History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest addProvider_shouldNotAddSameProviderTwiceForRole History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getAllObs_shouldGetBothChildAndParentObsAfterRemovingChildFromParentGrouping History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getAllObs_shouldGetBothParentAndChildObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getAllObs_shouldGetBothParentAndChildWithChildDirectlyOnEncounter History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getAllObs_shouldGetObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getAllObs_shouldNotGetVoidedObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getAllObs_shouldNotReturnNullWithNullObsSet History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObsAtTopLevel_shouldGetBothChildAndParentObsAfterRemovingChildFromParentGrouping History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObsAtTopLevel_shouldGetObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObsAtTopLevel_shouldNotGetVoidedObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObsAtTopLevel_shouldNotReturnNullWithNullObsSet History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObsAtTopLevel_shouldOnlyGetParentsObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObsAtTopLevel_shouldOnlyReturnTheGroupedTopLevelObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObs_shouldGetBothChildAndParentObsAfterRemovingChildFromParentGrouping History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObs_shouldGetObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObs_shouldGetObsWithThreeLevelsOfHierarchy History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObs_shouldGetObsWithTwoLevelsOfHierarchy History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObs_shouldNotGetChildObsIfChildAlsoOnEncounter History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObs_shouldNotGetVoidedObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObs_shouldNotGetVoidedObsWithThreeLayersOfHierarchy History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObs_shouldNotReturnNullWithNullObsSet History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getObs_shouldOnlyGetChildObs History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getProvider_shouldExcludeVoidedProviders History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getProvider_shouldReturnNullIfThereIsNoProviderForPerson History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getProvider_shouldReturnNullIfThereIsNoProviders History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getProvider_shouldReturnProviderForPerson History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getProvider_shouldReturnSameProviderForPersonIfCalledTwice History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getProvidersByRole_shouldReturnEmptySetForNoRole History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getProvidersByRole_shouldReturnEmptySetForNullRole History
Failing since build #81 (Code changes detected) < 1 sec
Successful EncounterTest getProvidersByRole_shouldReturnProvidersForRole History
Failing since build #81 (Code changes detected) < 1 sec