OpenMRS Core Master

Build: #1031 failed Changes by Daniel Kayiwa

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Test results

  • 3,484 tests in total
  • 8 tests failed
  • 38 tests were quarantined / skipped
  • 14 minutes taken in total.
Existing test failures 8
Status Test Failing since View job Duration
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
	at org.hibernate.internal.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:975)
	at org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:402)
	at org.openmrs.scheduler.db.hibernate.HibernateSchedulerDAO.getTaskByName(HibernateSchedulerDAO.java:93)
	at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.getTaskByName(TimerSchedulerServiceImpl.java:390)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(28 more lines...)
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
	at org.hibernate.internal.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:975)
	at org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:402)
	at org.openmrs.scheduler.db.hibernate.HibernateSchedulerDAO.getTaskByName(HibernateSchedulerDAO.java:93)
	at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.getTaskByName(TimerSchedulerServiceImpl.java:390)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(28 more lines...)
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:621)
	at org.junit.Assert.assertNotNull(Assert.java:631)
	at org.openmrs.web.controller.ConceptFormControllerTest.shouldAddConceptWithAllNamingSpecified(ConceptFormControllerTest.java:346)
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:621)
	at org.junit.Assert.assertNotNull(Assert.java:631)
	at org.openmrs.web.controller.ConceptFormControllerTest.shouldUpdateConceptWithShortNameAlreadyInSynonymList(ConceptFormControllerTest.java:447)
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:621)
	at org.junit.Assert.assertNotNull(Assert.java:631)
	at org.openmrs.web.controller.ConceptFormControllerTest.shouldAddConceptWithNameAndShortNameAndDescriptionSpecifiedToNumericConcepts(ConceptFormControllerTest.java:295)
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.web.controller.ConceptFormControllerTest.shouldAddConceptWithNameAndShortNameSpecified(ConceptFormControllerTest.java:206)
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:621)
	at org.junit.Assert.assertNotNull(Assert.java:631)
	at org.openmrs.web.controller.ConceptFormControllerTest.shouldUpdateConceptWithNameAlreadyInSynonymList(ConceptFormControllerTest.java:398)
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:621)
	at org.junit.Assert.assertNotNull(Assert.java:631)
	at org.openmrs.web.controller.ConceptFormControllerTest.shouldAddConceptWithNameAndShortNameAndDescriptionSpecifiedToCodeConcepts(ConceptFormControllerTest.java:250)
Skipped tests 38
Status Test Failing since View job
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfModuleDoesNotMatch History
Build and Test
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfOpenmrsVersionDoesNotMatch History
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldCreateImplementationIdInDatabase History
Build and Test
Skipped AdministrationServiceTest getPresentationLocales_shouldReturnAtLeastOneLocaleIfNoLocalesDefinedInDatabaseYet History
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldSetUuidOnImplementationIdGlobalProperty History
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldOverwriteImplementationIdInDatabaseIfExists History
Build and Test
Skipped ConceptServiceTest saveConcept_shouldNotSetAuditInfoIfTheConceptIsNotEdited History
Build and Test
Skipped EncounterServiceTest getEncounters_shouldNotReturnVoidedEncountersIfIncludeVoidedIsSetToTrue History
Build and Test
Skipped EncounterServiceTest saveEncounter_shouldVoidAndCreateNewObsWhenSavingEncounter History
Build and Test
Skipped EncounterServiceTest getEncounters_shouldGetAllTheUniqueEncountersThatMatchTheSpecifiedParameterValues History
Build and Test
Skipped NoteServiceTest org.openmrs.api.NoteServiceTest History
Build and Test
Skipped OpenmrsServiceTest shouldCheckThatAMethodIsNotRolledBackInCaseOfAnErrorInAnotherInvokedInsideIt History
Build and Test
Skipped PatientServiceTest checkPatientIdentifiers_shouldThrowErrorWhenPatientHasIdenticalIdentifiers History
Build and Test
Skipped PatientServiceTest voidPatient_shouldReturnNullWhenPatientIsNull History
Build and Test
Skipped ProviderServiceTest getCountOfProviders_shouldExcludeRetiredProviders History
Build and Test
Skipped ProviderServiceTest getCountOfProviders_shouldIncludeRetiredProvidersIfIncludeRetiredIsSetToTrue History
Build and Test
Skipped UserServiceTest changeQuestionAnswer_shouldChangeTheSecretQuestionAndAnswerForGivenUser History
Build and Test
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsIfAConceptNameContainsSameWordMoreThanOnce History
Build and Test
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsForConceptWithNamesThatContainsWordsWithMoreWeight History
Build and Test
Skipped SerializedObjectDAOTest org.openmrs.api.db.SerializedObjectDAOTest History
Build and Test
Skipped ArdenServiceTest compileFile_shouldGetAndParseMlms History
Build and Test
Skipped HL7ServiceTest processHL7Message_shouldParseMessageTypeSuppliedByModule History
Build and Test
Skipped HL7ServiceTest processHL7InQueue_shouldParseOruR01MessageUsingOverriddenParserProvidedByAModule History
Build and Test
Skipped ModuleActivatorTest org.openmrs.module.ModuleActivatorTest History
Build and Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForModuleUrls History
Integration Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForOldHttpsModuleUrls History
Integration Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForOldHttpsDevUrls History
Integration Test
Skipped SchedulerServiceTest org.openmrs.scheduler.SchedulerServiceTest History
Build and Test
Skipped SchedulerFormControllerTest onSubmit_shouldNotRescheduleATaskIfTheStartTimeHasPassed History
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAWhiteSpaceCharacter History
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAnEmptyString History
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsNull History
Build and Test
Skipped VisitValidatorTest validate_shouldFailIfAnAttributeIsBad History
Build and Test
Skipped DWRPatientServiceTest findPatients_shouldGetResultsForPatientsThatHaveEditedThemselves History
Build and Test
Skipped DWRPatientServiceTest findPatients_shouldLoggedInUserShouldLoadTheirOwnPatientObject History
Build and Test
Skipped DWRProviderServiceTest findProviderCountAndProvider_shouldReturnTheCountOfAllProvidersMatchingTheSearchedNameAlongWithProviderList History
Build and Test
Skipped FilterUtilTest storeLocale_shouldRestoreLocale History
Build and Test
Skipped FilterUtilTest storeLocale_shouldStoreLocale History
Build and Test