Sonar metrics for OpenMRS Core Master

Build: #550 failed Scheduled with changes by Daniel Kayiwa and Thomas Van Doren <thomas.vandoren@gmail.com>

Build result summary

Details

Completed
Queue duration
8 seconds
Duration
20 minutes
Labels
None
Revision
31dc087e7cf528adba832ded679f9e3721aef8bd 31dc087e7cf528adba832ded679f9e3721aef8bd
Total tests
3417
Failing since
#524 (Scheduled with changes by Daniel Kayiwa)
Fixed in
#675 (Manual run by Rafal Korytkowski)

Responsible

Code commits

Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 31dc087e7cf528adba832ded679f9e3721aef8bd 31dc087e7cf528adba832ded679f9e3721aef8bd Merge pull request #1511 from thomasvandoren/TRUNK-4729
TRUNK-4729: Add changedBy and dateChanged attributes to EncounterType.
Thomas Van Doren <thomas.vandoren@gmail.com> Thomas Van Doren <thomas.vandoren@gmail.com> e3dbf3bd30a63a1468cf3f569fca1f0bd3ebe330 e3dbf3bd30a63a1468cf3f569fca1f0bd3ebe330 TRUNK-4729: Add changed_by and date_changed columns to encounter_type table.
Add unittest that verifies changedBy and dateChanged are set when EncounterType
is edited.

Tests

New test failures 1
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...)
Existing test failures 7
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...)
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)
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)
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)
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)
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)
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)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-4729Could not obtain issue details from Jira