Build: #176 failed Changes by Wyclif Luyima

Build result summary

Details

Completed
Queue duration
31 seconds
Duration
9 minutes
Labels
None
Revision
ccd0cef96a4609ad4d899c46f1c23621d289b1cb ccd0cef96a4609ad4d899c46f1c23621d289b1cb
Total tests
2538
Failing since
#175 (Changes by Wyclif Luyima)
Fixed in
#177 (Changes by Wyclif Luyima)

Tests

Code commits

Author Commit Message Commit date
Wyclif Luyima Wyclif Luyima ccd0cef96a4609ad4d899c46f1c23621d289b1cb ccd0cef96a4609ad4d899c46f1c23621d289b1cb Added unique constraints to care_setting.name, order_type.name and order_frequency.concept_id

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Tests

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