OpenMRS Core Master

Build: #1193 failed Run by child build TRUNK-STAND

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
2 seconds
Duration
7 minutes
Labels
None
Revisions
openmrs-core
7fc098f38eb636f86270bb7c963bba0f5da22d31 7fc098f38eb636f86270bb7c963bba0f5da22d31
openmrs-standalone
81e413d039896eb4d3965502d05345bb8c866160 81e413d039896eb4d3965502d05345bb8c866160
Release scripts
a9c6b4741f415820e397e9b150cf80baca7f9368 a9c6b4741f415820e397e9b150cf80baca7f9368
Total tests
3184
Fixed in
#1195 (Changes by Wyclif Luyima)

Tests

Responsible

No one has taken responsibility for this failure

Code commits

openmrs-core
Author Commit Message Commit date
nehashrl <nehashrl@INnehashrl.local> nehashrl <nehashrl@INnehashrl.local> 7fc098f38eb636f86270bb7c963bba0f5da22d31 7fc098f38eb636f86270bb7c963bba0f5da22d31 TRUNK-4805 | Retrospective discontinuation of orders.
Follow up to cleanup javadocs  -TRUNK-4805

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Tests

New test failures 9
Status Test View job Duration
Collapse Failed OrderServiceTest discontinueOrder_shouldFailForADiscontinuedOrder History
Build and Test < 1 sec
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...)
Collapse Failed OrderServiceTest discontinueOrder_shouldFailForAVoidedOrder History
Build and Test < 1 sec
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.GeneratedMethodAccessor1145.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(158 more lines...)
Collapse Failed OrderServiceTest saveRetrospectiveOrder_shouldFailIfAnActiveDrugOrderForTheSameConceptAndCareSettingExistsAtOrderDateActivated History
Build and Test < 1 sec
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...)
Collapse Failed OrderServiceTest saveOrder_shouldNotAllowRevisingAVoidedOrder History
Build and Test < 1 sec
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.GeneratedMethodAccessor708.invoke(Unknown Source)
(160 more lines...)
Collapse Failed OrderServiceTest saveOrder_shouldNotAllowRevisingAStoppedOrder History
Build and Test < 1 sec
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.GeneratedMethodAccessor708.invoke(Unknown Source)
(160 more lines...)
Collapse Failed OrderServiceTest saveOrder_shouldNotAllowRevisingAnExpiredOrder History
Build and Test < 1 sec
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.GeneratedMethodAccessor708.invoke(Unknown Source)
(160 more lines...)
Collapse Failed OrderServiceTest discontinueOrder_shouldFailForAnExpiredOrder History
Build and Test < 1 sec
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...)
Collapse Failed OrderServiceTest discontinueOrder_shouldFailForAStoppedOrder History
Build and Test < 1 sec
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...)
Collapse Failed OrderServiceTest discontinueOrder_shouldNotPassForADiscontinuedOrder History
Build and Test < 1 sec
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...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-4805Could not obtain issue details from Jira