OpenMRS Core Master

Build: #1344 failed Changes by teleivo <mrteleivo@gmail.com> and Daniel Kayiwa

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
1 second
Duration
11 minutes
Labels
None
Revisions
openmrs-core
e1c3f7896e91a34c3130b45d6d03d5cb9aa92f82 e1c3f7896e91a34c3130b45d6d03d5cb9aa92f82
openmrs-standalone
03ae91b66e69db305747ff68b0cb98960fb0853c 03ae91b66e69db305747ff68b0cb98960fb0853c
Release scripts
1aad5c8d3a6400ade338d1ee1b9fd6d34fe773fa 1aad5c8d3a6400ade338d1ee1b9fd6d34fe773fa
Total tests
3407
Fixed in
#1347 (Changes by teleivo <mrteleivo@gmail.com> and Daniel Kayiwa)

Tests

Responsible

Code commits

openmrs-core
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa e1c3f7896e91a34c3130b45d6d03d5cb9aa92f82 e1c3f7896e91a34c3130b45d6d03d5cb9aa92f82 Merge pull request #1846 from teleivo/TRUNK-4936
TRUNK-4936 Add ConceptSource.uniqueId
teleivo <mrteleivo@gmail.com> teleivo <mrteleivo@gmail.com> 4b9ca17a19a6d1486384333ab978365e7465bfc8 4b9ca17a19a6d1486384333ab978365e7465bfc8 TRUNK-4936 Add ConceptSource.uniqueId
* add ConceptSource.uniqueId
* add property to hibernate mapping file ConceptSource.hbm.xml
* ensure ConceptSourceValidator validates max conceptId length
* add liquibase changeset adding the column concept_source.unique_id
with unique constraint (but defaults to null)
* add service method to ConceptService with implementation in
ConceptServiceImpl
* add ConceptDAO method with HibernateDAO implementation
* add tests for the service layer
* add the official registered OID of "SNOMED CT" into its unique_id
column in the standardTestDataset.xml so it can be used in tests

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 9
Status Test View job Duration
Collapse Failed Database1_9_7UpgradeIT shouldConvertOrderersToBeingProvidersInsteadOfUsers History
Integration Test 12 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4936-20160930-1000::teleivo:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldAddTheNecessaryPrivilegesAndAssignThemToSpecificRoles History
Integration Test 8 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4936-20160930-1000::teleivo:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldConcatenateDoseStrengthAndUnits History
Integration Test 10 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4936-20160930-1000::teleivo:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldCreateDiscontinuationOrderForStoppedOrders History
Integration Test 8 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4936-20160930-1000::teleivo:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldUpgradeFromClean1_9To1_10 History
Integration Test 8 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4936-20160930-1000::teleivo:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldMigrateDrugOrders History
Integration Test 8 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4936-20160930-1000::teleivo:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldSetValuesToNullIfUnitsOrFrequencyBlank History
Integration Test 8 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4936-20160930-1000::teleivo:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldPassIfAllExistingDrugOrderUnitsAndFrequenciesAreMappedToConcepts History
Integration Test 9 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4936-20160930-1000::teleivo:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldPassIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndTheNewColumnsExist History
Integration Test 8 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-4936-20160930-1000::teleivo:
     Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Error executing SQL ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]:
          Caused By: Syntax error in SQL statement "ALTER TABLE CONCEPT_REFERENCE_SOURCE ADD UNIQUE_ID VARCHAR(250) UNIQUE[*] "; SQL statement:
ALTER TABLE concept_reference_source ADD unique_id VARCHAR(250) UNIQUE [42000-187]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
(21 more lines...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-4936Could not obtain issue details from Jira