OpenMRS Core Master

Build: #530 failed

Job: Build and Test failed

Stages & jobs

  1. Build and Test

Test results

  • 2,829 tests in total
  • 2 tests failed
  • 2 failures are new
  • 3 minutes taken in total.

Build 530 has the following 2 errors: 2 new failure(s) occurred since the previous build.

New test failures 2
Status Test Duration
Collapse Failed OrderServiceTest saveOrder_shouldFailIfAnActiveOrderForTheSanmeDrugFormulationExists History
< 1 sec
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement: insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement:
insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:331)
	at org.h2.message.DbException.get(DbException.java:171)
	at org.h2.message.DbException.get(DbException.java:148)
	at org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:368)
	at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:310)
(52 more lines...)
Collapse Failed OrderServiceTest saveOrder_shouldPassIfAnActiveDrugOrderForTheSameConceptAndCareSettingButDifferentFormulationExists History
< 1 sec
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement: insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement:
insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:331)
	at org.h2.message.DbException.get(DbException.java:171)
	at org.h2.message.DbException.get(DbException.java:148)
	at org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:368)
	at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:310)
(52 more lines...)