OpenMRS Core Master

Build: #1019 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
21 minutes
Labels
None
Revisions
openmrs-core
8a6e83e2025f39c15f00d89e7314a8d3b39743b1 8a6e83e2025f39c15f00d89e7314a8d3b39743b1
openmrs-standalone
af3c68233a53f1bacb4113ede3adbaf33d9ae002 af3c68233a53f1bacb4113ede3adbaf33d9ae002
Release scripts
fd5310f196074c1101fc7f1e2349005e2f083d72 fd5310f196074c1101fc7f1e2349005e2f083d72
Total tests
3484
Fixed in
#1021 (Changes by Daniel Kayiwa)

Tests

Responsible

Code commits

openmrs-core
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 8a6e83e2025f39c15f00d89e7314a8d3b39743b1 8a6e83e2025f39c15f00d89e7314a8d3b39743b1 Merge pull request #1560 from ojQj/TRUNK-4623
Trunk 4623
Ben <ojQj@yahoo.com> Ben <ojQj@yahoo.com> c36d0459b1582a0e5ba9dd0954771043f288f0ec m c36d0459b1582a0e5ba9dd0954771043f288f0ec Merge branch 'TRUNK-4623' of https://github.com/ojQj/openmrs-core into TRUNK-4623
Ben <ojQj@yahoo.com> Ben <ojQj@yahoo.com> c9eeb875f8c53b8a83a64adb2d190b9b9f92c124 m c9eeb875f8c53b8a83a64adb2d190b9b9f92c124 Removing calls to deprecated functions https://issues.openmrs.org/browse/TRUNK-4623
Removing deprecated Spring class copy, refactoring the calls to it, and
adding unit tests for changed classes.
Ben <ojQj@yahoo.com> Ben <ojQj@yahoo.com> 704cf15d9f8a39df7f50824efa7d941421c19ae2 m 704cf15d9f8a39df7f50824efa7d941421c19ae2 Removing calls to deprecated functions https://issues.openmrs.org/browse/TRUNK-4623
Removing deprecated Spring class copy, refactoring the calls to it, and
adding unit tests for changed classes.

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 8
Status Test View job Duration
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 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 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 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 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 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 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)

Jira issues

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