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
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
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
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
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
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
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
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
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
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
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
Build and Test
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfOpenmrsVersionDoesNotMatch
Failing since build #1588 (Changes by Rafal Korytkowski) Build and Test
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfModuleDoesNotMatch
Failing since build #1588 (Changes by Rafal Korytkowski) Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldCreateImplementationIdInDatabase
Build and Test
Skipped AdministrationServiceTest getPresentationLocales_shouldReturnAtLeastOneLocaleIfNoLocalesDefinedInDatabaseYet
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldOverwriteImplementationIdInDatabaseIfExists
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldSetUuidOnImplementationIdGlobalProperty
Build and Test
Skipped ConceptServiceTest saveConcept_shouldNotSetAuditInfoIfTheConceptIsNotEdited
Build and Test
Skipped EncounterServiceTest getEncounters_shouldGetAllTheUniqueEncountersThatMatchTheSpecifiedParameterValues
Build and Test
Skipped EncounterServiceTest getEncounters_shouldNotReturnVoidedEncountersIfIncludeVoidedIsSetToTrue
Build and Test
Skipped OpenmrsServiceTest shouldCheckThatAMethodIsNotRolledBackInCaseOfAnErrorInAnotherInvokedInsideIt
Build and Test
Skipped OrderServiceTest saveOrder_shouldFailForRevisionOrderIfAnActiveDrugOrderForTheSameConceptAndCareSettingsExists
Build and Test
Skipped OrderServiceTest saveOrder_shouldSaveRevisionOrderScheduledOnDateNotOverlappingWithAnActiveOrderForTheSameConceptAndCareSetting
Build and Test
Skipped OrderServiceTest saveOrder_shouldPassForRevisionOrderIfAnActiveTestOrderForTheSameConceptAndCareSettingsExists
Build and Test
Skipped PatientServiceTest voidPatient_shouldReturnNullWhenPatientIsNull
Build and Test
Skipped UserServiceTest changeQuestionAnswer_shouldChangeTheSecretQuestionAndAnswerForGivenUser
Build and Test
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsIfAConceptNameContainsSameWordMoreThanOnce
Build and Test
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsForConceptWithNamesThatContainsWordsWithMoreWeight
Build and Test
Skipped PatientDAOTest getPatients_shouldFindPatientsEfficiently
Build and Test
Skipped SerializedObjectDAOTest org.openmrs.api.db.SerializedObjectDAOTest
Build and Test
Skipped HL7ServiceTest processHL7InQueue_shouldParseOruR01MessageUsingOverriddenParserProvidedByAModule
Build and Test
Skipped HL7ServiceTest processHL7Message_shouldParseMessageTypeSuppliedByModule
Build and Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForOldHttpsModuleUrls
Integration Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForModuleUrls
Integration Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForOldHttpsDevUrls
Integration Test
Skipped ProviderEditorTest shouldSetTheEditorValueToNullIfGivenIdDoesNotExist
Build and Test
Skipped SchedulerServiceTest org.openmrs.scheduler.SchedulerServiceTest
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsNull
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAnEmptyString
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAWhiteSpaceCharacter
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyName2HasTrailingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyNameHasTrailingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyName2HasLeadingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyNameHasLeadingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameGivenNameHasTrailingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameGivenNameHasLeadingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameMiddleNameHasLeadingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameMiddleNameHasTrailingSpaces
Build and Test
Skipped VisitValidatorTest validate_shouldFailIfAnAttributeIsBad
Build and Test
Skipped FilterUtilTest storeLocale_shouldStoreLocale
Build and Test
Skipped FilterUtilTest storeLocale_shouldRestoreLocale
Build and Test