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

Test results

  • 3,184 tests in total
  • 9 tests failed
  • 9 failures are new
  • 35 tests were quarantined / skipped
  • 6 minutes taken in total.
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...)
Skipped tests 35
Status Test Failing since View job
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfModuleDoesNotMatch History
Build and Test
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfOpenmrsVersionDoesNotMatch History
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldCreateImplementationIdInDatabase History
Build and Test
Skipped AdministrationServiceTest getPresentationLocales_shouldReturnAtLeastOneLocaleIfNoLocalesDefinedInDatabaseYet History
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldSetUuidOnImplementationIdGlobalProperty History
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldOverwriteImplementationIdInDatabaseIfExists History
Build and Test
Skipped ConceptServiceTest saveConcept_shouldNotSetAuditInfoIfTheConceptIsNotEdited History
Build and Test
Skipped EncounterServiceTest saveEncounter_shouldVoidAndCreateNewObsWhenSavingEncounter History
Build and Test
Skipped EncounterServiceTest getEncounters_shouldNotReturnVoidedEncountersIfIncludeVoidedIsSetToTrue History
Build and Test
Skipped EncounterServiceTest getEncounters_shouldGetAllTheUniqueEncountersThatMatchTheSpecifiedParameterValues History
Build and Test
Skipped NoteServiceTest org.openmrs.api.NoteServiceTest History
Build and Test
Skipped OpenmrsServiceTest shouldCheckThatAMethodIsNotRolledBackInCaseOfAnErrorInAnotherInvokedInsideIt History
Build and Test
Skipped OrderServiceTest saveOrder_shouldFailForRevisionOrderIfAnActiveDrugOrderForTheSameConceptAndCareSettingsExists History
Build and Test
Skipped OrderServiceTest saveOrder_shouldSaveRevisionOrderScheduledOnDateNotOverlappingWithAnActiveOrderForTheSameConceptAndCareSetting History
Build and Test
Skipped OrderServiceTest saveOrder_shouldPassForRevisionOrderIfAnActiveTestOrderForTheSameConceptAndCareSettingsExists History
Build and Test
Skipped PatientServiceTest checkPatientIdentifiers_shouldThrowErrorWhenPatientHasIdenticalIdentifiers History
Build and Test
Skipped PatientServiceTest voidPatient_shouldReturnNullWhenPatientIsNull History
Build and Test
Skipped ProviderServiceTest getCountOfProviders_shouldIncludeRetiredProvidersIfIncludeRetiredIsSetToTrue History
Build and Test
Skipped ProviderServiceTest getCountOfProviders_shouldExcludeRetiredProviders History
Build and Test
Skipped UserServiceTest changeQuestionAnswer_shouldChangeTheSecretQuestionAndAnswerForGivenUser History
Build and Test
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsForConceptWithNamesThatContainsWordsWithMoreWeight History
Build and Test
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsIfAConceptNameContainsSameWordMoreThanOnce History
Build and Test
Skipped SerializedObjectDAOTest org.openmrs.api.db.SerializedObjectDAOTest History
Build and Test
Skipped ArdenServiceTest compileFile_shouldGetAndParseMlms History
Build and Test
Skipped HL7ServiceTest processHL7Message_shouldParseMessageTypeSuppliedByModule History
Build and Test
Skipped HL7ServiceTest processHL7InQueue_shouldParseOruR01MessageUsingOverriddenParserProvidedByAModule History
Build and Test
Skipped ModuleActivatorTest org.openmrs.module.ModuleActivatorTest History
Build and Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForModuleUrls History
Integration Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForOldHttpsModuleUrls History
Integration Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForOldHttpsDevUrls History
Integration Test
Skipped SchedulerServiceTest org.openmrs.scheduler.SchedulerServiceTest History
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAWhiteSpaceCharacter History
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsNull History
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAnEmptyString History
Build and Test
Skipped VisitValidatorTest validate_shouldFailIfAnAttributeIsBad History
Build and Test