Sonar metrics for OpenMRS Core Master

Build: #548 failed Scheduled with changes by Daniel Kayiwa

Test results

  • 3,416 tests in total
  • 8 tests failed
  • 8 failures are new
  • 1 test was fixed
  • 35 tests were quarantined / skipped
  • 10 minutes taken in total.
New test failures 8
Status Test View job Duration
Collapse Failed SchedulerFormControllerTest onSubmit_shouldNotRescheduleATaskThatIsNotCurrentlyScheduled History
Sonar Full Analysis < 1 sec
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...)
Collapse Failed SchedulerFormControllerTest onSubmit_shouldNotRescheduleAnExecutingTask History
Sonar Full Analysis < 1 sec
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...)
Collapse Failed ConceptFormControllerTest shouldAddConceptWithAllNamingSpecified History
Sonar Full Analysis < 1 sec
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:345)
Collapse Failed ConceptFormControllerTest shouldUpdateConceptWithShortNameAlreadyInSynonymList History
Sonar Full Analysis < 1 sec
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:446)
Collapse Failed ConceptFormControllerTest shouldAddConceptWithNameAndShortNameAndDescriptionSpecifiedToNumericConcepts History
Sonar Full Analysis < 1 sec
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:294)
Collapse Failed ConceptFormControllerTest shouldAddConceptWithNameAndShortNameSpecified History
Sonar Full Analysis < 1 sec
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.shouldAddConceptWithNameAndShortNameSpecified(ConceptFormControllerTest.java:206)
Collapse Failed ConceptFormControllerTest shouldUpdateConceptWithNameAlreadyInSynonymList History
Sonar Full Analysis < 1 sec
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:397)
Collapse Failed ConceptFormControllerTest shouldAddConceptWithNameAndShortNameAndDescriptionSpecifiedToCodeConcepts History
Sonar Full Analysis < 1 sec
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:249)
Fixed tests 1
Status Test Failing since View job Duration
Successful ContextWithModuleTest loadClass_shouldLoadClassWithOpenmrsClassLoader History
Failing since build #546 (Scheduled) Sonar Full Analysis 1 sec
Skipped tests 35
Status Test Failing since View job
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfOpenmrsVersionDoesNotMatch History
Sonar Full Analysis
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfModuleDoesNotMatch History
Sonar Full Analysis
Skipped AdministrationServiceTest setImplementationId_shouldOverwriteImplementationIdInDatabaseIfExists History
Sonar Full Analysis
Skipped AdministrationServiceTest setImplementationId_shouldSetUuidOnImplementationIdGlobalProperty History
Sonar Full Analysis
Skipped AdministrationServiceTest setImplementationId_shouldCreateImplementationIdInDatabase History
Sonar Full Analysis
Skipped AdministrationServiceTest getPresentationLocales_shouldReturnAtLeastOneLocaleIfNoLocalesDefinedInDatabaseYet History
Sonar Full Analysis
Skipped ConceptServiceTest saveConcept_shouldNotSetAuditInfoIfTheConceptIsNotEdited History
Sonar Full Analysis
Skipped EncounterServiceTest getEncounters_shouldNotReturnVoidedEncountersIfIncludeVoidedIsSetToTrue History
Sonar Full Analysis
Skipped EncounterServiceTest saveEncounter_shouldVoidAndCreateNewObsWhenSavingEncounter History
Sonar Full Analysis
Skipped EncounterServiceTest getEncounters_shouldGetAllTheUniqueEncountersThatMatchTheSpecifiedParameterValues History
Sonar Full Analysis
Skipped NoteServiceTest org.openmrs.api.NoteServiceTest History
Sonar Full Analysis
Skipped OpenmrsServiceTest shouldCheckThatAMethodIsNotRolledBackInCaseOfAnErrorInAnotherInvokedInsideIt History
Sonar Full Analysis
Skipped PatientServiceTest voidPatient_shouldReturnNullWhenPatientIsNull History
Sonar Full Analysis
Skipped PatientServiceTest checkPatientIdentifiers_shouldThrowErrorWhenPatientHasIdenticalIdentifiers History
Sonar Full Analysis
Skipped ProviderServiceTest getCountOfProviders_shouldIncludeRetiredProvidersIfIncludeRetiredIsSetToTrue History
Sonar Full Analysis
Skipped ProviderServiceTest getCountOfProviders_shouldExcludeRetiredProviders History
Sonar Full Analysis
Skipped UserServiceTest changeQuestionAnswer_shouldChangeTheSecretQuestionAndAnswerForGivenUser History
Sonar Full Analysis
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsIfAConceptNameContainsSameWordMoreThanOnce History
Sonar Full Analysis
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsForConceptWithNamesThatContainsWordsWithMoreWeight History
Sonar Full Analysis
Skipped SerializedObjectDAOTest org.openmrs.api.db.SerializedObjectDAOTest History
Sonar Full Analysis
Skipped ArdenServiceTest compileFile_shouldGetAndParseMlms History
Sonar Full Analysis
Skipped HL7ServiceTest processHL7InQueue_shouldParseOruR01MessageUsingOverriddenParserProvidedByAModule History
Sonar Full Analysis
Skipped HL7ServiceTest processHL7Message_shouldParseMessageTypeSuppliedByModule History
Sonar Full Analysis
Skipped ModuleActivatorTest org.openmrs.module.ModuleActivatorTest History
Sonar Full Analysis
Skipped SchedulerServiceTest org.openmrs.scheduler.SchedulerServiceTest History
Sonar Full Analysis
Skipped SchedulerFormControllerTest onSubmit_shouldNotRescheduleATaskIfTheStartTimeHasPassed History
Sonar Full Analysis
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAWhiteSpaceCharacter History
Sonar Full Analysis
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsNull History
Sonar Full Analysis
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAnEmptyString History
Sonar Full Analysis
Skipped VisitValidatorTest validate_shouldFailIfAnAttributeIsBad History
Sonar Full Analysis
Skipped DWRPatientServiceTest findPatients_shouldGetResultsForPatientsThatHaveEditedThemselves History
Sonar Full Analysis
Skipped DWRPatientServiceTest findPatients_shouldLoggedInUserShouldLoadTheirOwnPatientObject History
Sonar Full Analysis
Skipped DWRProviderServiceTest findProviderCountAndProvider_shouldReturnTheCountOfAllProvidersMatchingTheSearchedNameAlongWithProviderList History
Sonar Full Analysis
Skipped FilterUtilTest storeLocale_shouldRestoreLocale History
Sonar Full Analysis
Skipped FilterUtilTest storeLocale_shouldStoreLocale History
Sonar Full Analysis