Plan for OpenMRS Core 2.0.x

Build: #9 failed

Job: Build and Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Job result summary

Completed
Duration
8 minutes
Revision
a737002972136ca3611735e1c6a9d1e4819aeb89 a737002972136ca3611735e1c6a9d1e4819aeb89
Total tests
3135
Failing since
#8 (Code changes detected – )
Fixed in
#10 (Code changes detected)

Tests

  • 3,135 tests in total
  • 9 tests failed
  • 32 tests were quarantined / skipped
  • 4 minutes taken in total.
Existing test failures 9
Status Test Failing since Duration
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued")
     but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided"
Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided
 at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730)
 at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:695)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(162 more lines...)
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued")
     but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided"
Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided
 at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730)
 at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:676)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(162 more lines...)
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued")
     but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided"
Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided
 at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730)
 at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:695)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(162 more lines...)
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued")
     but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided"
Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided
 at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730)
 at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:676)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(162 more lines...)
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued")
     but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided"
Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided
 at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730)
 at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:676)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(162 more lines...)
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued")
     but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided"
Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided
 at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730)
 at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:171)
 at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:91)
 at sun.reflect.GeneratedMethodAccessor1210.invoke(Unknown Source)
(160 more lines...)
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued")
     but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided"
Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided
 at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730)
 at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:171)
 at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:91)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(164 more lines...)
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued")
     but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided"
Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided
 at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730)
 at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:171)
 at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:91)
 at sun.reflect.GeneratedMethodAccessor1210.invoke(Unknown Source)
(160 more lines...)
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Cannot have more than one active order for the same orderable and care setting")
     but: exception with message a string containing "Cannot have more than one active order for the same orderable and care setting" message was "Order.cannot.have.more.than.one"
Stacktrace was: org.openmrs.api.AmbiguousOrderException: Order.cannot.have.more.than.one
 at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:223)
 at org.openmrs.api.impl.OrderServiceImpl.saveRetrospectiveOrder(OrderServiceImpl.java:99)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(162 more lines...)