Builds, runs unit tests and deploys artifacts to nexus repo

Build: #117 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
3 minutes
Revision
cd0f95fd471bdd059d64678aa95357e67e9fa9a7 cd0f95fd471bdd059d64678aa95357e67e9fa9a7
Total tests
413
Fixed in
#118 (Code changes detected)

Tests

  • 413 tests in total
  • 2 tests failed
  • 2 failures are new
  • 2 minutes taken in total.
New test failures 2
Status Test Duration
Collapse Failed ObsTagTest shouldSetDefaultNumericValue History
< 1 sec
java.lang.AssertionError: Result: <div class="htmlform"><input type="text" size="5" id="w2" name="w2" value="60" onBlur="checkNumber(this,'w1',true,null,null)"/> <span class="error field-error" style="display: none" id="w1"></span></div>
	at org.junit.Assert.fail(Assert.java:74)
	at org.junit.Assert.assertTrue(Assert.java:37)
	at org.openmrs.module.htmlformentry.ObsTagTest.shouldSetDefaultNumericValue(ObsTagTest.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(25 more lines...)
Collapse Failed RegressionTest viewDSTModelWithNestedObsGroupsAndConceptSelectTag History
< 1 sec
java.lang.AssertionError: INH colonies: <span class="value">200.0</span> is not contained in <div class="htmlform">  Date: <span class="value">01/02/2003</span>  Location: <span class="value">Xanadu</span>  Provider: <span class="value">Hippocrates of Cos</span>            ETHIONAMIDE <span class="value">Intermediate</span>             R <span class="value">S</span> (should be S)     RIF colonies: <span class="emptyValue">____</span>  (should be null)        <br/>         ISONIAZID <span class="value">Resistant</span> (should be resistant)     INH colonies: <span class="value">200</span> (should be 200)        DST Result Date <span class="value">01/02/2003</span>    </div>
java.lang.AssertionError: INH colonies: <span class="value">200.0</span> is not contained in <div class="htmlform">
	Date: <span class="value">01/02/2003</span>
	Location: <span class="value">Xanadu</span>
	Provider: <span class="value">Hippocrates of Cos</span>
		
			
				ETHIONAMIDE <span class="value">Intermediate</span>
(47 more lines...)

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/agent1-home/xml-data/build-dir/HTML-HTML-JOB1/api/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch