Skip to content

Instantly share code, notes, and snippets.

View ThisuraThejith's full-sized avatar

Thisoora Thejith ThisuraThejith

View GitHub Profile
@ThisuraThejith
ThisuraThejith / Log for openmrs-module-reporting test failure
Created December 29, 2015 05:37
Error lo for reporting module test failure
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ reporting ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (default) @ reporting ---
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ reporting ---
[INFO] Installing /home/chamara/Desktop/Master/gsoc/openmrs/openmrs-module-reporting/pom.xml to /home/chamara/.m2/repository/org/openmrs/module/reporting/0.9.9-SNAPSHOT/reporting-0.9.9-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Reporting API 0.9.9-SNAPSHOT
Running org.openmrs.module.reporting.indicator.SqlIndicatorTest
ERROR - EvaluationProfiler.log(116) |2015-12-29 10:41:41,059| 1182 2015-12-29 10:41:41.59 > ERROR EVALUATING_DEFINITION SqlIndicator[sql=SELECT distinct(.222) as res, 33 as res2 from patient]: Failed to evaluate sql because:
Unable to evaluate to a single value. Exactly one column must be defined.
org.openmrs.module.reporting.evaluation.EvaluationException: Failed to evaluate sql because:
Unable to evaluate to a single value. Exactly one column must be defined.
at org.openmrs.module.reporting.indicator.evaluator.SqlIndicatorEvaluator.evaluateSql(SqlIndicatorEvaluator.java:61)
at org.openmrs.module.reporting.indicator.evaluator.SqlIndicatorEvaluator.evaluate(SqlIndicatorEvaluator.java:45)
at org.openmrs.module.reporting.indicator.evaluator.SqlIndicatorEvaluator.evaluate(SqlIndicatorEvaluator.java:32)
at org.openmrs.module.reporting.definition.service.BaseDefinitionService.executeEvaluator(BaseDefinitionService.java:336)
at org.openmrs.modul
@ThisuraThejith
ThisuraThejith / openmrs-module-reporting test failure
Created December 29, 2015 05:20
Error logs for reporting build failure
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.427 sec
Running org.openmrs.module.reporting.dataset.definition.evaluator.SqlDataSetEvaluatorTest
ERROR - EvaluationProfiler.log(116) |2015-12-29 10:40:30,555| 174 2015-12-29 10:40:30.555 > ERROR EVALUATING_DEFINITION SqlDataSetDefinition[sqlQuery=select patient_id, patient_id from patient]: Failed to evaluate Invalid query specified. There are two columns named 'PATIENT_ID'
org.openmrs.module.reporting.evaluation.EvaluationException: Failed to evaluate Invalid query specified. There are two columns named 'PATIENT_ID'
at org.openmrs.module.reporting.dataset.definition.evaluator.SqlDataSetEvaluator.evaluate(SqlDataSetEvaluator.java:92)
at org.openmrs.module.reporting.dataset.definition.evaluator.SqlDataSetEvaluator.evaluate(SqlDataSetEvaluator.java:41)
at org.openmrs.module.reporting.definition.service.BaseDefinitionService.executeEvaluator(BaseDefinitionService.java:336)
at org.openmrs.module.reporting.definition.service.BaseDefinitionS