OpenMRS Core Master

Build: #1857 failed

Job: Integration Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Test results

  • 53 tests in total
  • 10 tests failed
  • 10 failures are new
  • 3 tests were quarantined / skipped
  • 2 minutes taken in total.

Build 1,857 has the following 10 errors: 10 new failure(s) occurred since the previous build.

New test failures 10
Status Test Duration
Collapse Failed Database1_9_7UpgradeIT shouldAddTheNecessaryPrivilegesAndAssignThemToSpecificRoles History
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 shouldConcatenateDoseStrengthAndUnits History
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
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...)
Collapse Failed Database1_9_7UpgradeIT shouldCreateDiscontinuationOrderForStoppedOrders History
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 shouldMigrateDrugOrders History
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 shouldPassIfAllExistingDrugOrderUnitsAndFrequenciesAreMappedToConcepts History
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 shouldPassIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndTheNewColumnsExist History
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 shouldSetValuesToNullIfUnitsOrFrequencyBlank History
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 shouldUpgradeFromClean1_9To1_10 History
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
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...)