OpenMRS Core Master

Build: #1857 failed Changes by Brian Njenga <bkuriakb@gmail.com>

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Test results

  • 3,909 tests in total
  • 10 tests failed
  • 10 failures are new
  • 41 tests were quarantined / skipped
  • 38 minutes taken in total.
New test failures 10
Status Test View job Duration
Collapse Failed Database1_9_7UpgradeIT shouldMigrateDrugOrders History
Integration Test 6 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20151218-1530::Rahul,Swathi:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldAddTheNecessaryPrivilegesAndAssignThemToSpecificRoles History
Integration Test 10 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20151218-1530::Rahul,Swathi:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldPassIfAllExistingDrugOrderUnitsAndFrequenciesAreMappedToConcepts History
Integration Test 6 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20151218-1530::Rahul,Swathi:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldUpgradeFromClean1_9To1_10 History
Integration Test 10 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20151218-1530::Rahul,Swathi:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldUpgradeLiquibase History
Integration Test 7 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20151218-1530::Rahul,Swathi:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(20 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldSetValuesToNullIfUnitsOrFrequencyBlank History
Integration Test 17 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20151218-1530::Rahul,Swathi:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldPassIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndTheNewColumnsExist History
Integration Test 7 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20151218-1530::Rahul,Swathi:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldCreateDiscontinuationOrderForStoppedOrders History
Integration Test 14 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20151218-1530::Rahul,Swathi:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldConcatenateDoseStrengthAndUnits History
Integration Test 6 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20151218-1530::Rahul,Swathi:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldConvertOrderersToBeingProvidersInsteadOfUsers History
Integration Test 11 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20151218-1530::Rahul,Swathi:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Error executing SQL ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id): Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]:
          Caused By: Table "PROGRAM_ATTRIBUTE_TYPE" not found; SQL statement:
ALTER TABLE patient_program_attribute ADD CONSTRAINT patient_program_attribute_attributetype_fk FOREIGN KEY (attribute_type_id) REFERENCES program_attribute_type (program_attribute_type_id) [42102-196]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Skipped tests 41
Status Test Failing since View job
Skipped ObsBehaviorTest shouldVoidAndReplaceOnlyEditedUnvoidedObsWhenTheyAreFlushedToTheDatabase History
Build and Test
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfOpenmrsVersionDoesNotMatch History
Failing since build #1588 (Changes by Rafal Korytkowski) Build and Test
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfModuleDoesNotMatch History
Failing since build #1588 (Changes by Rafal Korytkowski) Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldCreateImplementationIdInDatabase History
Build and Test
Skipped AdministrationServiceTest getPresentationLocales_shouldReturnAtLeastOneLocaleIfNoLocalesDefinedInDatabaseYet History
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldOverwriteImplementationIdInDatabaseIfExists History
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldSetUuidOnImplementationIdGlobalProperty History
Build and Test
Skipped ConceptServiceTest saveConcept_shouldNotSetAuditInfoIfTheConceptIsNotEdited History
Build and Test
Skipped EncounterServiceTest getEncounters_shouldGetAllTheUniqueEncountersThatMatchTheSpecifiedParameterValues History
Build and Test
Skipped EncounterServiceTest getEncounters_shouldNotReturnVoidedEncountersIfIncludeVoidedIsSetToTrue 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 voidPatient_shouldReturnNullWhenPatientIsNull History
Build and Test
Skipped UserServiceTest changeQuestionAnswer_shouldChangeTheSecretQuestionAndAnswerForGivenUser History
Build and Test
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsIfAConceptNameContainsSameWordMoreThanOnce History
Build and Test
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsForConceptWithNamesThatContainsWordsWithMoreWeight History
Build and Test
Skipped PatientDAOTest getPatients_shouldFindPatientsEfficiently History
Build and Test
Skipped SerializedObjectDAOTest org.openmrs.api.db.SerializedObjectDAOTest History
Build and Test
Skipped HL7ServiceTest processHL7InQueue_shouldParseOruR01MessageUsingOverriddenParserProvidedByAModule History
Build and Test
Skipped HL7ServiceTest processHL7Message_shouldParseMessageTypeSuppliedByModule History
Build and Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForOldHttpsModuleUrls History
Integration Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForModuleUrls History
Integration Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForOldHttpsDevUrls History
Integration Test
Skipped ProviderEditorTest shouldSetTheEditorValueToNullIfGivenIdDoesNotExist History
Build and Test
Skipped SchedulerServiceTest org.openmrs.scheduler.SchedulerServiceTest History
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsNull History
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAnEmptyString History
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAWhiteSpaceCharacter History
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyName2HasTrailingSpaces History
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyNameHasTrailingSpaces History
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyName2HasLeadingSpaces History
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyNameHasLeadingSpaces History
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameGivenNameHasTrailingSpaces History
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameGivenNameHasLeadingSpaces History
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameMiddleNameHasLeadingSpaces History
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameMiddleNameHasTrailingSpaces History
Build and Test
Skipped VisitValidatorTest validate_shouldFailIfAnAttributeIsBad History
Build and Test
Skipped FilterUtilTest storeLocale_shouldStoreLocale History
Build and Test
Skipped FilterUtilTest storeLocale_shouldRestoreLocale History
Build and Test