Sonar metrics for OpenMRS Core Master

Build: #601 failed Scheduled with changes by Daniel Kayiwa and Ben <ojQj@yahoo.com>

Build result summary

Details

Completed
Queue duration
21 seconds
Duration
23 minutes
Labels
None
Revision
f7759885cb0628cbbbe97abe9c57123cdca3ca96 f7759885cb0628cbbbe97abe9c57123cdca3ca96
Total tests
3433
Failing since
#524 (Scheduled with changes by Daniel Kayiwa)
Fixed in
#675 (Manual run by Rafal Korytkowski)

Tests

Responsible

Code commits

Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa f7759885cb0628cbbbe97abe9c57123cdca3ca96 f7759885cb0628cbbbe97abe9c57123cdca3ca96 Revert "Another attempt at fixing randomly failing tests on bamboo:"
This reverts commit d23fa7162393ae63a2beecdcd6c9d06a7e7cea80.
Daniel Kayiwa Daniel Kayiwa d23fa7162393ae63a2beecdcd6c9d06a7e7cea80 d23fa7162393ae63a2beecdcd6c9d06a7e7cea80 Another attempt at fixing randomly failing tests on bamboo: https://ci.openmrs.org/browse/TRUNK-MASTER-JOB1-1019/log
Daniel Kayiwa Daniel Kayiwa 8a6e83e2025f39c15f00d89e7314a8d3b39743b1 8a6e83e2025f39c15f00d89e7314a8d3b39743b1 Merge pull request #1560 from ojQj/TRUNK-4623
Trunk 4623
Daniel Kayiwa Daniel Kayiwa 6cc98201c385faba864fdfb081deec6a1a982ef7 6cc98201c385faba864fdfb081deec6a1a982ef7 Merge pull request #1559 from thilobeckmann/TRUNK-2280
TRUNK-2280: Refactor maximum length checking in the view layer
Daniel Kayiwa Daniel Kayiwa 0804e59be5da525ce9dc6de5b8a255c44b8adfd1 0804e59be5da525ce9dc6de5b8a255c44b8adfd1 Yet another attempt at fixing travis failing test - NameSupportTest.getInstance_shouldFindNameSupportBean:31 null: https://travis-ci.org/openmrs/openmrs-core/builds/75245768

Tests

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)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-2280Could not obtain issue details from Jira
Unknown Issue TypeTRUNK-4539Could not obtain issue details from Jira
Unknown Issue TypeTRUNK-4623Could not obtain issue details from Jira