OpenMRS Core Master

Build: #1025 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
43c6017b6187542bf24ea805e16d6c700bd3f243 43c6017b6187542bf24ea805e16d6c700bd3f243
openmrs-standalone
af3c68233a53f1bacb4113ede3adbaf33d9ae002 af3c68233a53f1bacb4113ede3adbaf33d9ae002
Release scripts
fd5310f196074c1101fc7f1e2349005e2f083d72 fd5310f196074c1101fc7f1e2349005e2f083d72
Total tests
3484
Failing since
#1022 (Changes by Daniel Kayiwa)
Fixed in
#1026 (Changes by Daniel Kayiwa)

Responsible

Code commits

openmrs-core
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 43c6017b6187542bf24ea805e16d6c700bd3f243 43c6017b6187542bf24ea805e16d6c700bd3f243 Revert "Another attempt at fixing randomly failing tests on bamboo:"
This reverts commit d23fa7162393ae63a2beecdcd6c9d06a7e7cea80.
Daniel Kayiwa Daniel Kayiwa 7b1ba68aee8f097f68d606b17dbb9cfafdf8c954 7b1ba68aee8f097f68d606b17dbb9cfafdf8c954 Revert "Revert "Another attempt at fixing randomly failing tests on bamboo:""
This reverts commit f7759885cb0628cbbbe97abe9c57123cdca3ca96.
Daniel Kayiwa Daniel Kayiwa 1c307d231ef78e3ac6a0ec5718d2304719f5af84 1c307d231ef78e3ac6a0ec5718d2304719f5af84 Revert "Attempting to fix tests that randomly fail on bamboo"
This reverts commit 27260c15781dec02365bc6a78d7ea3eda8991f11.
Daniel Kayiwa Daniel Kayiwa 6aa29b8df8dec7aefa19265011bb7cdc1c65fdc6 6aa29b8df8dec7aefa19265011bb7cdc1c65fdc6 Revert "Another attempt at fixing bamboo randomly failing tests"
This reverts commit 692e4f0e95acd7ad0beb3f252a98ad9e53bf23dd.

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

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)
Fixed tests 7
Status Test Failing since View job Duration
Successful SchedulerFormControllerTest onSubmit_shouldRescheduleACurrentlyScheduledTask History
Failing since build #1024 (Changes by Daniel Kayiwa) Build and Test < 1 sec
Successful SchedulerFormControllerTest processFormSubmission_shouldNotThrowNullPointerExceptionIfRepeatIntervalIsNull History
Failing since build #1024 (Changes by Daniel Kayiwa) Build and Test < 1 sec
Successful TaskHelperTest waitUntilTaskIsExecuting_shouldRaiseATimeoutExceptionWhenTheTimeoutIsExceeded History
Failing since build #1024 (Changes by Daniel Kayiwa) Build and Test < 1 sec
Successful TaskHelperTest getUnscheduledTaskDefinition_shouldReturnATaskThatHasNotBeenStarted History
Failing since build #1024 (Changes by Daniel Kayiwa) Build and Test < 1 sec
Successful TaskHelperTest getScheduledTaskDefinition_shouldReturnATaskThatHasBeenStarted History
Failing since build #1024 (Changes by Daniel Kayiwa) Build and Test < 1 sec
Successful TaskHelperTest getTime_shouldGetATimeInThePast History
Failing since build #1024 (Changes by Daniel Kayiwa) Build and Test < 1 sec
Successful TaskHelperTest getTime_shouldGetATimeInTheFuture History
Failing since build #1024 (Changes by Daniel Kayiwa) Build and Test < 1 sec