Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3173

Test Installation type fails to complete

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Won't Fix
    • Affects Version/s: OpenMRS 1.9.0
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      When i run the release testing helper module against my 1.8.1 database and i then choose the test installation type on the 1.9 database setup wizard, i get an exception as per the stack trace below:

      SEVERE 3/22/12 5:19 PM:liquibase: Change Set liquibase-update-to-latest.xml::20110301-1030f::wyclif failed.  Error: liquibase.exception.CustomChangeException: Failed to insert one or more concept map types
      liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.CustomChangeException: Failed to insert one or more concept map types
      	at liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:115)
      	at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:996)
      	at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
      	at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
      	at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:199)
      	at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
      	at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:227)
      	at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:164)
      	at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:149)
      	at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1525)
      	at java.lang.Thread.run(Thread.java:680)
      Caused by: liquibase.exception.CustomChangeException: Failed to insert one or more concept map types
      	at org.openmrs.util.databasechange.AddConceptMapTypesChangeset.runBatchInsert(AddConceptMapTypesChangeset.java:169)
      	at org.openmrs.util.databasechange.AddConceptMapTypesChangeset.execute(AddConceptMapTypesChangeset.java:72)
      	at liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:110)
      	... 10 more
      INFO 3/22/12 5:19 PM:liquibase: Successfully released change log lock
      WARN - InitializationFilter$InitializationCompletion$1.run(1531) |2012-03-22 17:19:17,697| Error while trying to update to the latest database version
      org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: Migration failed for change set liquibase-update-to-latest.xml::20110301-1030f::wyclif:
           Reason: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.CustomChangeException: Failed to insert one or more concept map types:
                Caused By: liquibase.exception.CustomChangeException: Failed to insert one or more concept map types:
                Caused By: Failed to insert one or more concept map types
      	at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:152)
      	at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1525)
      	at java.lang.Thread.run(Thread.java:680)
      Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::20110301-1030f::wyclif:
           Reason: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.CustomChangeException: Failed to insert one or more concept map types:
                Caused By: liquibase.exception.CustomChangeException: Failed to insert one or more concept map types:
                Caused By: Failed to insert one or more concept map types
      	at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
      	at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
      	at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:199)
      	at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
      	at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:227)
      	at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:164)
      	at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:149)
      	... 2 more
      Caused by: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.CustomChangeException: Failed to insert one or more concept map types
      	at liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:115)
      	at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:996)
      	at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
      	... 8 more
      Caused by: liquibase.exception.CustomChangeException: Failed to insert one or more concept map types
      	at org.openmrs.util.databasechange.AddConceptMapTypesChangeset.runBatchInsert(AddConceptMapTypesChangeset.java:169)
      	at org.openmrs.util.databasechange.AddConceptMapTypesChangeset.execute(AddConceptMapTypesChangeset.java:72)
      	at liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:110)
      	... 10 more
      

        Attachments

          Activity

            People

            • Assignee:
              dkayiwa Daniel Kayiwa
              Reporter:
              dkayiwa Daniel Kayiwa
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: