Build #1,406

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

Job result summary

Completed
Duration
1 minute
Revision
1252c11a237971f372070876beda1f1b5918bfd1 1252c11a237971f372070876beda1f1b5918bfd1
Total tests
39
Failing since
#1405 (Run by child build REFAPP-OMODDISTRO)
Fixed in
#1407 (Code changes detected)

Tests

  • 39 tests in total
  • 3 tests failed
  • 3 failures are new
  • 3 tests were fixed
  • 25 seconds taken in total.
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...)
Fixed tests 3
Status Test Failing since Duration
Successful CodedOrFreeTextAnswerListWidgetTest testEnter History
Failing since build #1405 (Run by child build REFAPP-OMODDISTRO) < 1 sec
Successful CodedOrFreeTextAnswerListWidgetTest testViewEmptyList History
Failing since build #1405 (Run by child build REFAPP-OMODDISTRO) < 1 sec
Successful CodedOrFreeTextAnswerListWidgetTest testViewNonEmptyList History
Failing since build #1405 (Run by child build REFAPP-OMODDISTRO) < 1 sec

Error summary

The build generated some errors. See the full build log for more details.

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/bamboo/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/bamboo/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.