OpenMRS Core Master

Build: #2199 failed Changes by Samuel Male <samuelsmalek@gmail.com>

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Test results

  • 4,351 tests in total
  • 10 tests failed
  • 10 failures are new
  • 41 tests were quarantined / skipped
  • 10 minutes taken in total.
New test failures 10
Status Test View job Duration
Collapse Failed Database1_9_7UpgradeIT shouldPassIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndTheNewColumnsExist
Integration Test 12 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
java.io.IOException: 
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldPassIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndTheNewColumnsExist(Database1_9_7UpgradeIT.java:402)
(13 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldPassIfAllExistingDrugOrderUnitsAndFrequenciesAreMappedToConcepts
Integration Test 12 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
java.io.IOException: 
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldPassIfAllExistingDrugOrderUnitsAndFrequenciesAreMappedToConcepts(Database1_9_7UpgradeIT.java:275)
(13 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldCreateDiscontinuationOrderForStoppedOrders
Integration Test 13 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
java.io.IOException: 
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldCreateDiscontinuationOrderForStoppedOrders(Database1_9_7UpgradeIT.java:416)
(13 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldAddTheNecessaryPrivilegesAndAssignThemToSpecificRoles
Integration Test 14 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
java.io.IOException: 
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldAddTheNecessaryPrivilegesAndAssignThemToSpecificRoles(Database1_9_7UpgradeIT.java:498)
(13 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldUpgradeFromClean1_9To1_10
Integration Test 14 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
java.io.IOException: 
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldUpgradeFromClean1_9To1_10(Database1_9_7UpgradeIT.java:149)
(13 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldUpgradeLiquibase
Integration Test 11 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
java.io.IOException: 
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldUpgradeLiquibase(Database1_9_7UpgradeIT.java:514)
(13 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldMigrateDrugOrders
Integration Test 13 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
java.io.IOException: 
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldMigrateDrugOrders(Database1_9_7UpgradeIT.java:197)
(13 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldSetValuesToNullIfUnitsOrFrequencyBlank
Integration Test 12 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
java.io.IOException: 
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldSetValuesToNullIfUnitsOrFrequencyBlank(Database1_9_7UpgradeIT.java:456)
(13 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldConvertOrderersToBeingProvidersInsteadOfUsers
Integration Test 14 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
java.io.IOException: 
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldConvertOrderersToBeingProvidersInsteadOfUsers(Database1_9_7UpgradeIT.java:304)
(13 more lines...)
Collapse Failed Database1_9_7UpgradeIT shouldConcatenateDoseStrengthAndUnits
Integration Test 13 secs
java.io.IOException: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
java.io.IOException: 
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5728-2020-04-15::samuel34:
     Reason: liquibase.exception.DatabaseException: Constraint "ENCOUNTER_ID_FK" already exists; SQL statement:
ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id) [90045-199] [Failed SQL: (90045) ALTER TABLE PUBLIC.conditions ADD CONSTRAINT encounter_id_fk FOREIGN KEY (encounter_id) REFERENCES PUBLIC.encounter (encounter_id)]
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldConcatenateDoseStrengthAndUnits(Database1_9_7UpgradeIT.java:337)
(13 more lines...)
Skipped tests 41
Status Test Failing since View job
Skipped ObsBehaviorTest shouldVoidAndReplaceOnlyEditedUnvoidedObsWhenTheyAreFlushedToTheDatabase
Build and Test
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfOpenmrsVersionDoesNotMatch
Failing since build #1588 (Changes by Rafal Korytkowski) Build and Test
Skipped OpenmrsProfileExcludeFilterTest shouldBeIgnoredIfModuleDoesNotMatch
Failing since build #1588 (Changes by Rafal Korytkowski) Build and Test
Skipped AdministrationServiceTest getPresentationLocales_shouldReturnAtLeastOneLocaleIfNoLocalesDefinedInDatabaseYet
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldOverwriteImplementationIdInDatabaseIfExists
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldSetUuidOnImplementationIdGlobalProperty
Build and Test
Skipped AdministrationServiceTest setImplementationId_shouldCreateImplementationIdInDatabase
Build and Test
Skipped ConceptServiceTest saveConcept_shouldNotSetAuditInfoIfTheConceptIsNotEdited
Build and Test
Skipped EncounterServiceTest getEncounters_shouldGetAllTheUniqueEncountersThatMatchTheSpecifiedParameterValues
Build and Test
Skipped EncounterServiceTest getEncounters_shouldNotReturnVoidedEncountersIfIncludeVoidedIsSetToTrue
Build and Test
Skipped OpenmrsServiceTest shouldCheckThatAMethodIsNotRolledBackInCaseOfAnErrorInAnotherInvokedInsideIt
Build and Test
Skipped OrderServiceTest saveOrder_shouldSaveRevisionOrderScheduledOnDateNotOverlappingWithAnActiveOrderForTheSameConceptAndCareSetting
Build and Test
Skipped OrderServiceTest saveOrder_shouldFailForRevisionOrderIfAnActiveDrugOrderForTheSameConceptAndCareSettingsExists
Build and Test
Skipped OrderServiceTest saveOrder_shouldPassForRevisionOrderIfAnActiveTestOrderForTheSameConceptAndCareSettingsExists
Build and Test
Skipped PatientServiceTest voidPatient_shouldReturnNullWhenPatientIsNull
Build and Test
Skipped UserServiceTest changeQuestionAnswer_shouldChangeTheSecretQuestionAndAnswerForGivenUser
Build and Test
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsIfAConceptNameContainsSameWordMoreThanOnce
Build and Test
Skipped ConceptDAOTest getConcepts_shouldReturnCorrectResultsForConceptWithNamesThatContainsWordsWithMoreWeight
Build and Test
Skipped PatientDAOTest getPatients_shouldFindPatientsEfficiently
Build and Test
Skipped SerializedObjectDAOTest org.openmrs.api.db.SerializedObjectDAOTest
Build and Test
Skipped HL7ServiceTest processHL7InQueue_shouldParseOruR01MessageUsingOverriddenParserProvidedByAModule
Build and Test
Skipped HL7ServiceTest processHL7Message_shouldParseMessageTypeSuppliedByModule
Build and Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForModuleUrls
Integration Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForOldHttpsDevUrls
Integration Test
Skipped ModuleUtilIT getURL_shouldReturnAnUpdateRdfPageForOldHttpsModuleUrls
Integration Test
Skipped ProviderEditorTest shouldSetTheEditorValueToNullIfGivenIdDoesNotExist
Build and Test
Skipped SchedulerServiceTest org.openmrs.scheduler.SchedulerServiceTest
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsNull
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAnEmptyString
Build and Test
Skipped ConceptReferenceTermValidatorTest validate_shouldFailIfTheNameIsAWhiteSpaceCharacter
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameMiddleNameHasTrailingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyName2HasLeadingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameGivenNameHasLeadingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameMiddleNameHasLeadingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyName2HasTrailingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameGivenNameHasTrailingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyNameHasLeadingSpaces
Build and Test
Skipped PersonNameValidatorTest validate_shouldFailValidationIfPersonNameFamilyNameHasTrailingSpaces
Build and Test
Skipped VisitValidatorTest validate_shouldFailIfAnAttributeIsBad
Build and Test
Skipped FilterUtilTest storeLocale_shouldStoreLocale
Build and Test
Skipped FilterUtilTest storeLocale_shouldRestoreLocale
Build and Test