Builds, runs unit tests and deploys artifacts to nexus repo

Build: #137 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
5 minutes
Revision
d028f151b5fac7153ddd5521b159c466881d1c89 d028f151b5fac7153ddd5521b159c466881d1c89
Total tests
418
Failing since
#136 (Code changes detected – )
Fixed in
#138 (Manual run by Darius Jazayeri)

Tests

  • 418 tests in total
  • 1 test failed
  • 1 failure is new
  • 1 test was fixed
  • 5 minutes taken in total.
New test failures 1
Status Test Duration
Collapse Failed HtmlFormEntryUtilTest createObs_shouldSetTheValueOfABooleanConceptCorrectly History
< 1 sec
org.junit.ComparisonFailure: expected:<[8]> but was:<[5001]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.openmrs.module.htmlformentry.HtmlFormEntryUtilTest.checkBooleanObsValue(HtmlFormEntryUtilTest.java:1069)
	at org.openmrs.module.htmlformentry.HtmlFormEntryUtilTest.createObs_shouldSetTheValueOfABooleanConceptCorrectly(HtmlFormEntryUtilTest.java:1011)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(34 more lines...)
Fixed tests 1
Status Test Failing since Duration
Successful StandardRegimenElement1_10Test testStandardRegimenTag_shouldCreateAndEditStandardRegimen History
Failing since build #136 (Code changes detected) 1 sec

Error summary

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

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /opt/bamboo-agent/agent2-home/xml-data/build-dir/HTML-HTML-JOB1/api-tests/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch