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

Build: #2191 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
2 minutes
Revision
dfa7d42cd37f8b0312c670accc097f5b360ac6b2 dfa7d42cd37f8b0312c670accc097f5b360ac6b2
Total tests
43
Fixed in
#2193 (Code changes detected)

Tests

  • 43 tests in total
  • 4 tests failed
  • 4 failures are new
  • 34 seconds taken in total.
New test failures 4
Status Test Duration
Collapse Failed QuickVisitFragmentControllerTest shouldCreateNewVisit History
< 1 sec
java.lang.NullPointerException
	at org.openmrs.module.coreapps.fragment.controller.visit.QuickVisitFragmentController.create(QuickVisitFragmentController.java:55)
	at org.openmrs.module.coreapps.fragment.controller.visit.QuickVisitFragmentControllerTest.shouldCreateNewVisit(QuickVisitFragmentControllerTest.java:75)
	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)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(25 more lines...)
Collapse Failed RetrospectiveVisitFragmentControllerTest test_shouldCreateNewRetrospectiveVisit History
< 1 sec
java.lang.AssertionError:  Expected: is "?patientId=1&visitId=1"      but: was null
java.lang.AssertionError: 
Expected: is "?patientId=1&visitId=1"
     but: was 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.visit.RetrospectiveVisitFragmentControllerTest.test_shouldCreateNewRetrospectiveVisit(RetrospectiveVisitFragmentControllerTest.java:83)
(30 more lines...)
Collapse Failed RetrospectiveVisitFragmentControllerTest test_shouldCreateNewRetrospectiveVisit_whenNoStopDateSpecified History
< 1 sec
java.lang.AssertionError:  Expected: is "?patientId=1&visitId=1"      but: was null
java.lang.AssertionError: 
Expected: is "?patientId=1&visitId=1"
     but: was 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.visit.RetrospectiveVisitFragmentControllerTest.test_shouldCreateNewRetrospectiveVisit_whenNoStopDateSpecified(RetrospectiveVisitFragmentControllerTest.java:110)
(30 more lines...)
Collapse Failed RetrospectiveVisitFragmentControllerTest test_shouldReturnConflictingVisits History
< 1 sec
java.lang.AssertionError:  Expected: is "{\"startDate\":\"someDate\",\"stopDate\":\"someDate\",\"id\":null}"      but: was "{\"startDate\":\"someDate\",\"stopDate\":\"someDate\",\"id\":null,\"uuid\":\"cb905844-6d8e-4b1e-ab98-e9aa873932d5\"}"
java.lang.AssertionError: 
Expected: is "{\"startDate\":\"someDate\",\"stopDate\":\"someDate\",\"id\":null}"
     but: was "{\"startDate\":\"someDate\",\"stopDate\":\"someDate\",\"id\":null,\"uuid\":\"cb905844-6d8e-4b1e-ab98-e9aa873932d5\"}"
	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.RetrospectiveVisitFragmentControllerTest.test_shouldReturnConflictingVisits(RetrospectiveVisitFragmentControllerTest.java:139)
(30 more lines...)