More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #3299 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Get unique diagnoses should converge with legacy impl: Test case result

The below summarizes the result of the test "Get unique diagnoses should converge with legacy impl" in build 3,299 of EMR API module - EMR API module - Default Job. View test case history
Description
Get unique diagnoses should converge with legacy impl
Test class
org.openmrs.module.emrapi.visit.VisitDomainWrapperComponentTest
Method
getUniqueDiagnoses_shouldConvergeWithLegacyImpl
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

org.hibernate.exception.ConstraintViolationException: could not execute statement
	at org.openmrs.module.emrapi.visit.VisitDomainWrapperComponentTest.createRandomEncountersWithDiagnoses(VisitDomainWrapperComponentTest.java:239)
	at org.openmrs.module.emrapi.visit.VisitDomainWrapperComponentTest.getUniqueDiagnoses_shouldConvergeWithLegacyImpl(VisitDomainWrapperComponentTest.java:275)
Caused by: org.h2.jdbc.JdbcSQLException: 
Unique index or primary key violation: "UK_EEOUO5K2GP8CICR3AXW6CWHCY_INDEX_1 ON PUBLIC.OBS(PREVIOUS_VERSION) VALUES (1069, 1076)"; SQL statement:
insert into obs (obs_id, uuid, obs_datetime, value_group_id, value_datetime, value_numeric, value_modifier, value_text, value_complex, comments, accession_number, date_created, voided, date_voided, void_reason, form_namespace_and_path, status, interpretation, person_id, concept_id, value_coded, value_coded_name_id, value_drug, order_id, location_id, encounter_id, creator, voided_by, obs_group_id, previous_version) values (null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-197]
	at org.openmrs.module.emrapi.visit.VisitDomainWrapperComponentTest.createRandomEncountersWithDiagnoses(VisitDomainWrapperComponentTest.java:239)
	at org.openmrs.module.emrapi.visit.VisitDomainWrapperComponentTest.getUniqueDiagnoses_shouldConvergeWithLegacyImpl(VisitDomainWrapperComponentTest.java:275)