Sonar metrics for OpenMRS Core Master

Build: #654 failed

Job: Sonar Full Analysis failed

Stages & jobs

  1. Sonar Analysis

Job result summary

Completed
Duration
25 minutes
Revision
e420bf0d747038db0600b47a2d79fcf2c8f22726 e420bf0d747038db0600b47a2d79fcf2c8f22726
Total tests
3435
Failing since
#524 (Scheduled – )
Fixed in
#675 (Manual run by Rafal Korytkowski)

Tests

  • 3,435 tests in total
  • 9 tests failed
  • 9 failures are new
  • 35 tests were quarantined / skipped
  • 12 minutes taken in total.
New test failures 9
Status Test Duration
Collapse Failed SchedulerFormControllerTest onSubmit_shouldNotRescheduleATaskThatIsNotCurrentlyScheduled History
< 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
< 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 processFormSubmission_shouldNotThrowNullPointerExceptionIfRepeatIntervalIsNull History
< 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
< 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:346)
Collapse Failed ConceptFormControllerTest shouldAddConceptWithNameAndShortNameAndDescriptionSpecifiedToCodeConcepts History
< 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:250)
Collapse Failed ConceptFormControllerTest shouldAddConceptWithNameAndShortNameAndDescriptionSpecifiedToNumericConcepts History
< 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:295)
Collapse Failed ConceptFormControllerTest shouldAddConceptWithNameAndShortNameSpecified History
< 1 sec
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)
Collapse Failed ConceptFormControllerTest shouldUpdateConceptWithNameAlreadyInSynonymList History
< 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:398)
Collapse Failed ConceptFormControllerTest shouldUpdateConceptWithShortNameAlreadyInSynonymList History
< 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:447)