Build: #176 failed Changes by Wyclif Luyima

Test results

  • 2,538 tests in total
  • 5 tests failed
  • 5 failures are new
  • 1 test was fixed
  • 9 minutes taken in total.
New test failures 5
Status Test View job Duration
Collapse Failed OrderServiceTest saveOrderFrequency_shouldAddANewOrderFrequencyToTheDatabase History
Unit and Component Tests < 1 sec
org.hibernate.exception.ConstraintViolationException: could not insert: [org.openmrs.OrderFrequency]
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:64)
	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2345)
	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2852)
	at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
(94 more lines...)
Collapse Failed Database1_9To1_10UpgradeTest shouldUpgradeFromClean1_9To1_10 History
Unit and Component Tests 7 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20140313-TRUNK-4288::dszafranek:      Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:           Caused By: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:           Caused By: Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20140313-TRUNK-4288::dszafranek:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:
          Caused By: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:
          Caused By: Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]
(68 more lines...)
Collapse Failed Database1_9To1_10UpgradeTest shouldPassIfAllExistingDrugOrderUnitsAndFrequenciesAreMappedToConcepts History
Unit and Component Tests 6 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20140313-TRUNK-4288::dszafranek:      Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:           Caused By: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:           Caused By: Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20140313-TRUNK-4288::dszafranek:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:
          Caused By: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:
          Caused By: Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]
(68 more lines...)
Collapse Failed Database1_9To1_10UpgradeTest shouldConvertOrderersToBeingProvidersInsteadOfUsers History
Unit and Component Tests 11 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20140313-TRUNK-4288::dszafranek:      Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:           Caused By: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:           Caused By: Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20140313-TRUNK-4288::dszafranek:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:
          Caused By: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:
          Caused By: Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]
(68 more lines...)
Collapse Failed Database1_9To1_10UpgradeTest shouldMigrateDrugOrders History
Unit and Component Tests 6 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20140313-TRUNK-4288::dszafranek:      Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:           Caused By: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:           Caused By: Column "ORDER_TYPE" not found; SQL statement: ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20140313-TRUNK-4288::dszafranek:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:
          Caused By: Error executing SQL ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id): Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]:
          Caused By: Column "ORDER_TYPE" not found; SQL statement:
ALTER TABLE order_type_class_map ADD CONSTRAINT fk_order_type_order_type_id FOREIGN KEY (order_type) REFERENCES order_type (order_type_id) [42122-135]
(68 more lines...)
Fixed tests 1
Status Test Failing since View job Duration
Successful ModuleActivatorTest shouldStopDependantModulesOnStopModule History
Failing since build #175 (Changes by Wyclif Luyima) Unit and Component Tests < 1 sec