diff --git a/src/utils/OpenSearchMetricsQuery.groovy b/src/utils/OpenSearchMetricsQuery.groovy index 9ee6172c..4162ed9d 100644 --- a/src/utils/OpenSearchMetricsQuery.groovy +++ b/src/utils/OpenSearchMetricsQuery.groovy @@ -29,6 +29,7 @@ class OpenSearchMetricsQuery { } def fetchMetrics(String query) { + this.script.println('Running query: '+ query) def response = script.sh( script: """ set -e diff --git a/vars/updateIntegTestFailureIssues.groovy b/vars/updateIntegTestFailureIssues.groovy index b8f2f5bf..f38bd0a1 100644 --- a/vars/updateIntegTestFailureIssues.groovy +++ b/vars/updateIntegTestFailureIssues.groovy @@ -52,6 +52,7 @@ void call(Map args = [:]) { if (!failedComponents.isEmpty() && failedComponents.contains(component.name)) { println("Integration test failed for ${component.name}, creating github issue") def testData = [] + println('Retrieving failed component data for '+ component.name) def queryData = componentIntegTestStatus.getComponentIntegTestFailedData(component.name) def totalHits = queryData.hits.hits.collect { it._source } totalHits.each { hit ->