OpenMRS Core Master

Build: #994 failed Changes by Daniel Kayiwa

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
22 minutes
Labels
None
Revisions
openmrs-core
534f25c2de9c255896ff9d0accebf5d01821e145 534f25c2de9c255896ff9d0accebf5d01821e145
openmrs-standalone
af3c68233a53f1bacb4113ede3adbaf33d9ae002 af3c68233a53f1bacb4113ede3adbaf33d9ae002
Release scripts
fd5310f196074c1101fc7f1e2349005e2f083d72 fd5310f196074c1101fc7f1e2349005e2f083d72
Total tests
3471
Failing since
#989 (Run by child build TRUNK-STAND)
Fixed in
#995 (Changes by Daniel Kayiwa)

Responsible

Code commits

openmrs-core
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 534f25c2de9c255896ff9d0accebf5d01821e145 534f25c2de9c255896ff9d0accebf5d01821e145 Revert "Synchronizing access to the isBaseSetup static variable as another"
This reverts commit ec94d0a62ae59d7e33a35e845e24c7fe08a686bd.

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Tests

New test failures 15
Status Test View job Duration
Collapse Failed SchedulerFormControllerTest processFormSubmission_shouldNotThrowNullPointerExceptionIfRepeatIntervalIsNull History
Build and Test < 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
Build and Test < 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_shouldRescheduleACurrentlyScheduledTask History
Build and Test < 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_shouldNotRescheduleATaskThatIsNotCurrentlyScheduled History
Build and Test < 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 TaskHelperTest getTime_shouldGetATimeInTheFuture History
Build and Test < 1 sec
org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "UK_IVY1J18CM9UC9WCL0N0TSA6BQ_INDEX_2 ON PUBLIC.SCHEDULER_TASK_CONFIG(UUID) VALUES ('FA010D31-4040-4574-A083-315A781106FA', 3)"; 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-187]
	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.checkUnique(MVSecondaryIndex.java:233)
	at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:191)
(14 more lines...)
Collapse Failed TaskHelperTest getScheduledTaskDefinition_shouldReturnATaskThatHasBeenStarted History
Build and Test < 1 sec
org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "UK_IVY1J18CM9UC9WCL0N0TSA6BQ_INDEX_2 ON PUBLIC.SCHEDULER_TASK_CONFIG(UUID) VALUES ('FA010D31-4040-4574-A083-315A781106FA', 3)"; 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-187]
	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.checkUnique(MVSecondaryIndex.java:233)
	at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:191)
(14 more lines...)
Collapse Failed TaskHelperTest getUnscheduledTaskDefinition_shouldReturnATaskThatHasNotBeenStarted History
Build and Test < 1 sec
org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "UK_IVY1J18CM9UC9WCL0N0TSA6BQ_INDEX_2 ON PUBLIC.SCHEDULER_TASK_CONFIG(UUID) VALUES ('FA010D31-4040-4574-A083-315A781106FA', 3)"; 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-187]
	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.checkUnique(MVSecondaryIndex.java:233)
	at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:191)
(14 more lines...)
Collapse Failed TaskHelperTest waitUntilTaskIsExecuting_shouldRaiseATimeoutExceptionWhenTheTimeoutIsExceeded History
Build and Test < 1 sec
org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "UK_IVY1J18CM9UC9WCL0N0TSA6BQ_INDEX_2 ON PUBLIC.SCHEDULER_TASK_CONFIG(UUID) VALUES ('FA010D31-4040-4574-A083-315A781106FA', 3)"; 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-187]
	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.checkUnique(MVSecondaryIndex.java:233)
	at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:191)
(14 more lines...)
Collapse Failed TaskHelperTest getTime_shouldGetATimeInThePast History
Build and Test < 1 sec
org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "UK_IVY1J18CM9UC9WCL0N0TSA6BQ_INDEX_2 ON PUBLIC.SCHEDULER_TASK_CONFIG(UUID) VALUES ('FA010D31-4040-4574-A083-315A781106FA', 3)"; 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-187]
	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.checkUnique(MVSecondaryIndex.java:233)
	at org.h2.mvstore.db.MVSecondaryIndex.add(MVSecondaryIndex.java:191)
(14 more lines...)
Collapse Failed ConceptFormControllerTest shouldUpdateConceptWithShortNameAlreadyInSynonymList History
Build and Test < 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)
Collapse Failed ConceptFormControllerTest shouldUpdateConceptWithNameAlreadyInSynonymList History
Build and Test < 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 shouldAddConceptWithAllNamingSpecified History
Build and Test < 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 shouldAddConceptWithNameAndShortNameAndDescriptionSpecifiedToNumericConcepts History
Build and Test < 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
Build and Test < 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 shouldAddConceptWithNameAndShortNameAndDescriptionSpecifiedToCodeConcepts History
Build and Test < 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)
Fixed tests 3
Status Test Failing since View job Duration
Successful AdministrationServiceTest getAllGlobalProperties_shouldReturnAllGlobalPropertiesInTheDatabase History
Failing since build #993 (Changes by Daniel Kayiwa) Build and Test < 1 sec
Successful AdministrationServiceTest purgeGlobalProperty_shouldDeleteGlobalPropertyFromDatabase History
Failing since build #993 (Changes by Daniel Kayiwa) Build and Test < 1 sec
Successful LocaleUtilityTest getDefaultLocale_shouldNotReturnNullIfGlobalPropertyDoesNotExist History
Failing since build #993 (Changes by Daniel Kayiwa) Build and Test < 1 sec