Advertisement
Guest User

Untitled

a guest
Apr 9th, 2024
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.85 KB | None | 0 0
  1. ERROR] Tests run: 18, Failures: 8, Errors: 0, Skipped: 0, Time elapsed: 106.0 s <<< FAILURE! -- in org.openmrs.util.databasechange.Database1_9_7UpgradeIT
  2. [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoNullUnits -- Time elapsed: 4.345 s <<< FAILURE!
  3. java.lang.AssertionError:
  4.  
  5. Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif"
  6. but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif:
  7. Reason:
  8. 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
  9. "
  10. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  11. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
  12. at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoNullUnits(Database1_9_7UpgradeIT.java:349)
  13. at java.lang.reflect.Method.invoke(Method.java:498)
  14. at java.util.ArrayList.forEach(ArrayList.java:1259)
  15. at java.util.ArrayList.forEach(ArrayList.java:1259)
  16.  
  17. [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfAnyDrugOrderFrequenciesNotMappedToConceptsAreFound -- Time elapsed: 2.355 s <<< FAILURE!
  18. java.lang.AssertionError:
  19.  
  20. Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif"
  21. but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
  22. Reason:
  23. 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
  24. "
  25. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  26. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
  27. at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfAnyDrugOrderFrequenciesNotMappedToConceptsAreFound(Database1_9_7UpgradeIT.java:246)
  28. at java.lang.reflect.Method.invoke(Method.java:498)
  29. at java.util.ArrayList.forEach(ArrayList.java:1259)
  30. at java.util.ArrayList.forEach(ArrayList.java:1259)
  31.  
  32. [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfAnyDrugOrderUnitsNotMappedToConceptsAreFound -- Time elapsed: 1.997 s <<< FAILURE!
  33. java.lang.AssertionError:
  34.  
  35. Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif"
  36. but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
  37. Reason:
  38. 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
  39. "
  40. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  41. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
  42. at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfAnyDrugOrderUnitsNotMappedToConceptsAreFound(Database1_9_7UpgradeIT.java:229)
  43. at java.lang.reflect.Method.invoke(Method.java:498)
  44. at java.util.ArrayList.forEach(ArrayList.java:1259)
  45. at java.util.ArrayList.forEach(ArrayList.java:1259)
  46.  
  47. [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailMigratingDrugOrdersIfUnitsToConceptsMappingsIsNotSet -- Time elapsed: 2.461 s <<< FAILURE!
  48. java.lang.AssertionError:
  49.  
  50. Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif"
  51. but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
  52. Reason:
  53. 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
  54. "
  55. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  56. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
  57. at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailMigratingDrugOrdersIfUnitsToConceptsMappingsIsNotSet(Database1_9_7UpgradeIT.java:164)
  58. at java.lang.reflect.Method.invoke(Method.java:498)
  59. at java.util.ArrayList.forEach(ArrayList.java:1259)
  60. at java.util.ArrayList.forEach(ArrayList.java:1259)
  61.  
  62. [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoBlankUnits -- Time elapsed: 2.382 s <<< FAILURE!
  63. java.lang.AssertionError:
  64.  
  65. Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif"
  66. but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif:
  67. Reason:
  68. 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
  69. "
  70. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  71. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
  72. at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoBlankUnits(Database1_9_7UpgradeIT.java:362)
  73. at java.lang.reflect.Method.invoke(Method.java:498)
  74. at java.util.ArrayList.forEach(ArrayList.java:1259)
  75. at java.util.ArrayList.forEach(ArrayList.java:1259)
  76.  
  77. [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreOrderersWithNoAssociatedProviderAccounts -- Time elapsed: 2.059 s <<< FAILURE!
  78. java.lang.AssertionError:
  79.  
  80. Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201406262016::wyclif"
  81. but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201406262016::wyclif:
  82. Reason:
  83. 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
  84. "
  85. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  86. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
  87. at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreOrderersWithNoAssociatedProviderAccounts(Database1_9_7UpgradeIT.java:433)
  88. at java.lang.reflect.Method.invoke(Method.java:498)
  89. at java.util.ArrayList.forEach(ArrayList.java:1259)
  90. at java.util.ArrayList.forEach(ArrayList.java:1259)
  91.  
  92. [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailMigratingDrugOrdersIfUnitsToConceptsMappingsDoesNotPointToValidCodedDoseUnits -- Time elapsed: 1.839 s <<< FAILURE!
  93. java.lang.AssertionError:
  94.  
  95. Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif"
  96. but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
  97. Reason:
  98. 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"
  99. "
  100. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  101. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
  102. at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailMigratingDrugOrdersIfUnitsToConceptsMappingsDoesNotPointToValidCodedDoseUnits(Database1_9_7UpgradeIT.java:179)
  103. at java.lang.reflect.Method.invoke(Method.java:498)
  104. at java.util.ArrayList.forEach(ArrayList.java:1259)
  105. at java.util.ArrayList.forEach(ArrayList.java:1259)
  106.  
  107. [ERROR] org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndNoNewColumns -- Time elapsed: 1.806 s <<< FAILURE!
  108. java.lang.AssertionError:
  109.  
  110. Expected: a string containing "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201404091110::wyclif"
  111. but: was "liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset liquibase-update-to-latest.xml::201404091110::wyclif:
  112. Reason:
  113. 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
  114. "
  115. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  116. at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
  117. at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndNoNewColumns(Database1_9_7UpgradeIT.java:376)
  118. at java.lang.reflect.Method.invoke(Method.java:498)
  119. at java.util.ArrayList.forEach(ArrayList.java:1259)
  120. at java.util.ArrayList.forEach(ArrayList.java:1259)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement