Sonar metrics for OpenMRS Core Master

Build: #469 failed Manual run by Rafal Korytkowski

Build result summary

Details

Completed
Queue duration
47 seconds
Duration
24 minutes
Labels
None
Revision
ef460aaa37b0a47848be5b1d5de6ab3a0767ae0c ef460aaa37b0a47848be5b1d5de6ab3a0767ae0c
Total tests
3389
Failing since
#468 (Manual run by Rafal Korytkowski)
Fixed in
#470 (Manual run by Rafal Korytkowski)

Tests

Responsible

Code commits

Author Commit Message Commit date
Rafal Korytkowski Rafal Korytkowski ef460aaa37b0a47848be5b1d5de6ab3a0767ae0c ef460aaa37b0a47848be5b1d5de6ab3a0767ae0c Merge pull request #1466 from tomaszmueller/TRUNK-4672
TRUNK-4672 Correctness - int value cast to float and then passed to Math...
Tomasz Mueller <tmueller@soldevelo.com> Tomasz Mueller <tmueller@soldevelo.com> a820a788d2fe866dea00fd54f5ff3f206a1ed1fd m a820a788d2fe866dea00fd54f5ff3f206a1ed1fd TRUNK-4672 Correctness - int value cast to float and then passed to Math.round

Tests

New test failures 5
Status Test View job Duration
Collapse Failed SchedulerFormControllerTest onSubmit_shouldNotRescheduleAnExecutingTask History
Sonar Full Analysis < 1 sec
org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "CONSTRAINT_INDEX_24 ON PUBLIC.SCHEDULER_TASK_CONFIG(UUID) VALUES ('29754c38-6711-11e0-9d74-18a905e044dc', 22)"; SQL statement: insert into SCHEDULER_TASK_CONFIG (TASK_CONFIG_ID, NAME, DESCRIPTION, SCHEDULABLE_CLASS, REPEAT_INTERVAL, STARTED, START_ON_STARTUP, UUID, CREATED_BY, DATE_CREATED) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-183]
org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "CONSTRAINT_INDEX_24 ON PUBLIC.SCHEDULER_TASK_CONFIG(UUID) VALUES ('29754c38-6711-11e0-9d74-18a905e044dc', 22)"; SQL statement:
insert into SCHEDULER_TASK_CONFIG (TASK_CONFIG_ID, NAME, DESCRIPTION, SCHEDULABLE_CLASS, REPEAT_INTERVAL, STARTED, START_ON_STARTUP, UUID, CREATED_BY, DATE_CREATED) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-183]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
	at org.h2.message.DbException.get(DbException.java:179)
	at org.h2.message.DbException.get(DbException.java:155)
	at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:102)
	at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:203)
(49 more lines...)
Collapse Failed TaskHelperTest getScheduledTaskDefinition_shouldReturnATaskThatHasBeenStarted History
Sonar Full Analysis < 1 sec
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
	at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:899)
	at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:369)
	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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(64 more lines...)
Collapse Failed TaskHelperTest waitUntilTaskIsExecuting_shouldWaitUntilTaskIsExecuting History
Sonar Full Analysis < 1 sec
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
	at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:899)
	at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:369)
	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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(64 more lines...)
Collapse Failed TaskHelperTest getUnscheduledTaskDefinition_shouldReturnATaskThatHasNotBeenStarted History
Sonar Full Analysis < 1 sec
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
	at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:899)
	at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:369)
	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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(64 more lines...)
Collapse Failed TaskHelperTest waitUntilTaskIsExecuting_shouldRaiseATimeoutExceptionWhenTheTimeoutIsExceeded History
Sonar Full Analysis < 1 sec
java.lang.Exception: Unexpected exception, expected<java.util.concurrent.TimeoutException> but was<org.hibernate.NonUniqueResultException>
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
	at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
(68 more lines...)

Jira issues

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