Runs unit test and deploys artifacts to maven repo. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #1406 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Test results

  • 39 tests in total
  • 3 tests failed
  • 3 failures are new
  • 3 tests were fixed
  • 25 seconds taken in total.

Build 1,406 has the following 3 errors: 3 new failure(s) occurred since the previous build.

New test failures 3
Status Test Duration
Collapse Failed EncounterDiagnosesFragmentControllerTest testController_createdProperExistingDiagnoses History
< 1 sec
java.lang.AssertionError:  Expected: is "{ diagnosis: diagnoses.CodedOrFreeTextConceptAnswer({\"word\":null,\"conceptName\":{\"id\":1,\"conceptNameType\":\"FULLY_SPECIFIED\",\"name\":\"Specific Name\"},\"concept\":{\"id\":2,\"conceptMappings\":[],\"preferredName\":\"Specific Name\"}}), confirmed: false, primary: true, existingObs: null }"      but: was "{ diagnosis: diagnoses.CodedOrFreeTextConceptAnswer({\"word\":null,\"conceptName\":{\"id\":1,\"uuid\":\"ce435ff5-3e11-40e3-a12e-5134676eaedb\",\"conceptNameType\":\"FULLY_SPECIFIED\",\"name\":\"Specific Name\"},\"concept\":{\"id\":2,\"uuid\":\"ecb64627-f326-44f1-9276-502c87b852ba\",\"conceptMappings\":[],\"preferredName\":\"Specific Name\"}}), confirmed: false, primary: true, existingObs: null }"
java.lang.AssertionError: 
Expected: is "{ diagnosis: diagnoses.CodedOrFreeTextConceptAnswer({\"word\":null,\"conceptName\":{\"id\":1,\"conceptNameType\":\"FULLY_SPECIFIED\",\"name\":\"Specific Name\"},\"concept\":{\"id\":2,\"conceptMappings\":[],\"preferredName\":\"Specific Name\"}}), confirmed: false, primary: true, existingObs: null }"
     but: was "{ diagnosis: diagnoses.CodedOrFreeTextConceptAnswer({\"word\":null,\"conceptName\":{\"id\":1,\"uuid\":\"ce435ff5-3e11-40e3-a12e-5134676eaedb\",\"conceptNameType\":\"FULLY_SPECIFIED\",\"name\":\"Specific Name\"},\"concept\":{\"id\":2,\"uuid\":\"ecb64627-f326-44f1-9276-502c87b852ba\",\"conceptMappings\":[],\"preferredName\":\"Specific Name\"}}), confirmed: false, primary: true, existingObs: null }"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:865)
	at org.junit.Assert.assertThat(Assert.java:832)
	at org.openmrs.module.coreapps.fragment.controller.diagnosis.EncounterDiagnosesFragmentControllerTest.testController_createdProperExistingDiagnoses(EncounterDiagnosesFragmentControllerTest.java:58)
(29 more lines...)
Collapse Failed EncounterDiagnosesFragmentControllerTest testController_createdProperPriorDiagnoses History
< 1 sec
java.lang.AssertionError:  Expected: is "{ diagnosis: diagnoses.CodedOrFreeTextConceptAnswer({\"word\":null,\"conceptName\":{\"id\":1,\"conceptNameType\":\"FULLY_SPECIFIED\",\"name\":\"Specific Name\"},\"concept\":{\"id\":2,\"conceptMappings\":[],\"preferredName\":\"Specific Name\"}}), confirmed: false, primary: true, existingObs: null }"      but: was "{ diagnosis: diagnoses.CodedOrFreeTextConceptAnswer({\"word\":null,\"conceptName\":{\"id\":1,\"uuid\":\"06e8df9f-09f5-42db-9057-72b2db6fc8ae\",\"conceptNameType\":\"FULLY_SPECIFIED\",\"name\":\"Specific Name\"},\"concept\":{\"id\":2,\"uuid\":\"a1907fcd-9ff0-4711-9e5d-5cc8bfb5722a\",\"conceptMappings\":[],\"preferredName\":\"Specific Name\"}}), confirmed: false, primary: true, existingObs: null }"
java.lang.AssertionError: 
Expected: is "{ diagnosis: diagnoses.CodedOrFreeTextConceptAnswer({\"word\":null,\"conceptName\":{\"id\":1,\"conceptNameType\":\"FULLY_SPECIFIED\",\"name\":\"Specific Name\"},\"concept\":{\"id\":2,\"conceptMappings\":[],\"preferredName\":\"Specific Name\"}}), confirmed: false, primary: true, existingObs: null }"
     but: was "{ diagnosis: diagnoses.CodedOrFreeTextConceptAnswer({\"word\":null,\"conceptName\":{\"id\":1,\"uuid\":\"06e8df9f-09f5-42db-9057-72b2db6fc8ae\",\"conceptNameType\":\"FULLY_SPECIFIED\",\"name\":\"Specific Name\"},\"concept\":{\"id\":2,\"uuid\":\"a1907fcd-9ff0-4711-9e5d-5cc8bfb5722a\",\"conceptMappings\":[],\"preferredName\":\"Specific Name\"}}), confirmed: false, primary: true, existingObs: null }"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:865)
	at org.junit.Assert.assertThat(Assert.java:832)
	at org.openmrs.module.coreapps.fragment.controller.diagnosis.EncounterDiagnosesFragmentControllerTest.testController_createdProperPriorDiagnoses(EncounterDiagnosesFragmentControllerTest.java:98)
(29 more lines...)
Collapse Failed ParserEncounterIntoSimpleObjectsTest testParsingDiagnoses History
< 1 sec
java.lang.AssertionError:  Expected: is "(coreapps.Diagnosis.Certainty.PRESUMED) Random Disease"      but: was "(coreapps.Diagnosis.Certainty.PRESUMED) \"Random Disease\""
java.lang.AssertionError: 
Expected: is "(coreapps.Diagnosis.Certainty.PRESUMED) Random Disease"
     but: was "(coreapps.Diagnosis.Certainty.PRESUMED) \"Random Disease\""
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:865)
	at org.junit.Assert.assertThat(Assert.java:832)
	at org.openmrs.module.coreapps.fragment.controller.visit.ParserEncounterIntoSimpleObjectsTest.testParsingDiagnoses(ParserEncounterIntoSimpleObjectsTest.java:116)
(30 more lines...)