Plan for OpenMRS Core 1.11.x

Build: #47 failed

Job: Build and Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

Job result summary

Completed
Duration
5 minutes
Revision
cab3fdcdd4fcda98274fce7938d562a6dc3d8cf6 cab3fdcdd4fcda98274fce7938d562a6dc3d8cf6
Total tests
2829
Fixed in
#48 (Code changes detected)

Tests

  • 2,829 tests in total
  • 2 tests failed
  • 2 failures are new
  • 3 minutes taken in total.
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...)