OpenMRS Core Master

Build: #542 failed

Job: Integration Test failed

Stages & jobs

  1. Build and Test

Job result summary

Completed
Duration
1 minute
Revision
e1d19b840766b2d28ac317bfc5dd1cb25b7a802f e1d19b840766b2d28ac317bfc5dd1cb25b7a802f
Total tests
48
Failing since
#541 (Code changes detected – )
Fixed in
#545 (Code changes detected)

Tests

  • 48 tests in total
  • 16 tests failed
  • 50 seconds taken in total.
Existing test failures 16
Status Test Failing since Duration
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldConcatenateDoseStrengthAndUnits(Database1_9_7UpgradeIT.java:305)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldConvertOrderersToBeingProvidersInsteadOfUsers(Database1_9_7UpgradeIT.java:256)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldCreateDiscontinuationOrderForStoppedOrders(Database1_9_7UpgradeIT.java:375)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfAnyDrugOrderFrequenciesNotMappedToConceptsAreFound(Database1_9_7UpgradeIT.java:216)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfAnyDrugOrderUnitsNotMappedToConceptsAreFound(Database1_9_7UpgradeIT.java:198)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndNoNewColumns(Database1_9_7UpgradeIT.java:348)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoBlankUnits(Database1_9_7UpgradeIT.java:334)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoNullUnits(Database1_9_7UpgradeIT.java:321)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreOrderersWithNoAssociatedProviderAccounts(Database1_9_7UpgradeIT.java:401)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailMigratingDrugOrdersIfUnitsToConceptsMappingsDoesNotPointToValidCodedDoseUnits(Database1_9_7UpgradeIT.java:153)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailMigratingDrugOrdersIfUnitsToConceptsMappingsIsNotSet(Database1_9_7UpgradeIT.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldMigrateDrugOrders(Database1_9_7UpgradeIT.java:167)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldPassIfAllExistingDrugOrderUnitsAndFrequenciesAreMappedToConcepts(Database1_9_7UpgradeIT.java:234)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldPassIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndTheNewColumnsExist(Database1_9_7UpgradeIT.java:362)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: org.dbunit.dataset.NoSuchColumnException: ORDERS.DATE_ACTIVATED -  (Non-uppercase input column: date_activated) in ColumnNameToIndexes cache map. Note that the map's column names are NOT case sensitive.
	at org.openmrs.util.databasechange.DatabaseUpgradeTestUtil.executeDataset(DatabaseUpgradeTestUtil.java:179)
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldSetValuesToNullIfUnitsOrFrequencyBlank(Database1_9_7UpgradeIT.java:415)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
(32 more lines...)
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201312201523-TRUNK-4138::banka:      Reason: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.CustomChangeException: liquibase.exception.DatabaseException: org.h2.jdbc.JdbcSQLException: Column "DATE_ACTIVATED" not found; SQL statement: Insert into orders(previous_order_id, concept_id, patient_id, encounter_id, creator, date_created, discontinued_reason, discontinued_reason_non_coded, uuid, order_action, orderer, order_number, order_type_id, date_activated, auto_expire_date) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [42122-173]:           Caused By: liquibase.exception.CustomChangeException: liquibase.exception.DatabaseException: org.h2.jdbc.JdbcSQLException: Column "DATE_ACTIVATED" not found; SQL statement: Insert into orders(previous_order_id, concept_id, patient_id, encounter_id, creator, date_created, discontinued_reason, discontinued_reason_non_coded, uuid, order_action, orderer, order_number, order_type_id, date_activated, auto_expire_date) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [42122-173]:           Caused By: liquibase.exception.DatabaseException: org.h2.jdbc.JdbcSQLException: Column "DATE_ACTIVATED" not found; SQL statement: Insert into orders(previous_order_id, concept_id, patient_id, encounter_id, creator, date_created, discontinued_reason, discontinued_reason_non_coded, uuid, order_action, orderer, order_number, order_type_id, date_activated, auto_expire_date) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [42122-173]:           Caused By: org.h2.jdbc.JdbcSQLException: Column "DATE_ACTIVATED" not found; SQL statement: Insert into orders(previous_order_id, concept_id, patient_id, encounter_id, creator, date_created, discontinued_reason, discontinued_reason_non_coded, uuid, order_action, orderer, order_number, order_type_id, date_activated, auto_expire_date) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [42122-173]:           Caused By: Column "DATE_ACTIVATED" not found; SQL statement: Insert into orders(previous_order_id, concept_id, patient_id, encounter_id, creator, date_created, discontinued_reason, discontinued_reason_non_coded, uuid, order_action, orderer, order_number, order_type_id, date_activated, auto_expire_date) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [42122-173]
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201312201523-TRUNK-4138::banka:
     Reason: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.CustomChangeException: liquibase.exception.DatabaseException: org.h2.jdbc.JdbcSQLException: Column "DATE_ACTIVATED" not found; SQL statement:
Insert into orders(previous_order_id, concept_id, patient_id, encounter_id, creator, date_created, discontinued_reason, discontinued_reason_non_coded, uuid, order_action, orderer, order_number, order_type_id, date_activated, auto_expire_date) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [42122-173]:
          Caused By: liquibase.exception.CustomChangeException: liquibase.exception.DatabaseException: org.h2.jdbc.JdbcSQLException: Column "DATE_ACTIVATED" not found; SQL statement:
Insert into orders(previous_order_id, concept_id, patient_id, encounter_id, creator, date_created, discontinued_reason, discontinued_reason_non_coded, uuid, order_action, orderer, order_number, order_type_id, date_activated, auto_expire_date) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [42122-173]:
          Caused By: liquibase.exception.DatabaseException: org.h2.jdbc.JdbcSQLException: Column "DATE_ACTIVATED" not found; SQL statement:
Insert into orders(previous_order_id, concept_id, patient_id, encounter_id, creator, date_created, discontinued_reason, discontinued_reason_non_coded, uuid, order_action, orderer, order_number, order_type_id, date_activated, auto_expire_date) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [42122-173]:
(92 more lines...)