Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR] Tests run: 18, Failures: 8, Errors: 0, Skipped: 0, Time elapsed: 106.0 s <<< FAILURE! -- in org.openmrs.util.databasechange.Database1_9_7UpgradeIT
- [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoNullUnits -- Time elapsed: 4.345 s <<< FAILURE!
- java.lang.AssertionError:
- Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif"
- but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif:
- Reason:
- liquibase-update-to-latest-from-1.9.x.xml : Found drugs with dose strength specified but no units, for more details on how to fix this see https://wiki.openmrs.org/x/OALpAw
- "
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
- at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoNullUnits(Database1_9_7UpgradeIT.java:349)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfAnyDrugOrderFrequenciesNotMappedToConceptsAreFound -- Time elapsed: 2.355 s <<< FAILURE!
- java.lang.AssertionError:
- Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif"
- but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
- Reason:
- liquibase-update-to-latest-from-1.9.x.xml : liquibase.precondition.CustomPreconditionWrapper@3e3975da : Your order entry upgrade settings file does not have mapping for 2/day x 7 days/week. Please refer to upgrade instructions for more details. https://wiki.openmrs.org/x/OALpAw
- "
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
- at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfAnyDrugOrderFrequenciesNotMappedToConceptsAreFound(Database1_9_7UpgradeIT.java:246)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfAnyDrugOrderUnitsNotMappedToConceptsAreFound -- Time elapsed: 1.997 s <<< FAILURE!
- java.lang.AssertionError:
- Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif"
- but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
- Reason:
- liquibase-update-to-latest-from-1.9.x.xml : liquibase.precondition.CustomPreconditionWrapper@cf5e360 : Your order entry upgrade settings file does not have mapping for mg. Please refer to upgrade instructions for more details. https://wiki.openmrs.org/x/OALpAw
- "
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
- at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfAnyDrugOrderUnitsNotMappedToConceptsAreFound(Database1_9_7UpgradeIT.java:229)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailMigratingDrugOrdersIfUnitsToConceptsMappingsIsNotSet -- Time elapsed: 2.461 s <<< FAILURE!
- java.lang.AssertionError:
- Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif"
- but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
- Reason:
- liquibase-update-to-latest-from-1.9.x.xml : liquibase.precondition.CustomPreconditionWrapper@2343edd8 : Your order entry upgrade settings file does not have mapping for mg. Please refer to upgrade instructions for more details. https://wiki.openmrs.org/x/OALpAw
- "
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
- at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailMigratingDrugOrdersIfUnitsToConceptsMappingsIsNotSet(Database1_9_7UpgradeIT.java:164)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoBlankUnits -- Time elapsed: 2.382 s <<< FAILURE!
- java.lang.AssertionError:
- Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif"
- but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif:
- Reason:
- liquibase-update-to-latest-from-1.9.x.xml : Found drugs with dose strength specified but no units, for more details on how to fix this see https://wiki.openmrs.org/x/OALpAw
- "
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
- at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoBlankUnits(Database1_9_7UpgradeIT.java:362)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreOrderersWithNoAssociatedProviderAccounts -- Time elapsed: 2.059 s <<< FAILURE!
- java.lang.AssertionError:
- Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201406262016::wyclif"
- but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201406262016::wyclif:
- Reason:
- liquibase-update-to-latest-from-1.9.x.xml : Order orderers need to have provider accounts in order to upgrade, for more details on how to fix this see https://wiki.openmrs.org/x/OALpAw
- "
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
- at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreOrderersWithNoAssociatedProviderAccounts(Database1_9_7UpgradeIT.java:433)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailMigratingDrugOrdersIfUnitsToConceptsMappingsDoesNotPointToValidCodedDoseUnits -- Time elapsed: 1.839 s <<< FAILURE!
- java.lang.AssertionError:
- Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif"
- but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
- Reason:
- liquibase-update-to-latest-from-1.9.x.xml : liquibase.precondition.CustomPreconditionWrapper@52f61ab1 : Your order entry upgrade settings filecontains invalid mapping from tab(s) to concept ID invalid. ID must be an integer or null. Please refer to upgrade instructions for more details. https://wiki.openmrs.org/x/OALpAw Cause:For input string: "invalid"
- "
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
- at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailMigratingDrugOrdersIfUnitsToConceptsMappingsDoesNotPointToValidCodedDoseUnits(Database1_9_7UpgradeIT.java:179)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndNoNewColumns -- Time elapsed: 1.806 s <<< FAILURE!
- java.lang.AssertionError:
- Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201404091110::wyclif"
- but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201404091110::wyclif:
- Reason:
- liquibase-update-to-latest-from-1.9.x.xml : Cannot update order_type table, please see this page https://wiki.openmrs.org/x/OALpAw for how to modify the order_type table before upgrading
- "
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
- at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
- at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndNoNewColumns(Database1_9_7UpgradeIT.java:376)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
- at java.util.ArrayList.forEach(ArrayList.java:1259)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement