-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looking for "[]" in evaluation result results in never succeeding evaluation #26
Comments
@kristofre |
@pcjeffmac, currently the statement looks for |
The issue seems to be related to the metric result and that the API is not returning a result, Metric= "Response Time of InvokeAPI Method". Can you share your SLI file? Are you able to pull values for this metric from the API directly? "Dynatrace Metrics API returned 0 result values, expected 1 for query: |
I have created a fix for this issue and the PR has been submitted. Thank you for your input. |
Yes I am aware that one of the SLIs did not return a value, but all the other ones did. So the evaluation still yielded a build score and should not be stopped. |
@kristofre has the original problem been solved? Can we close this issue? |
Tested with Keptn 0.8.2, sli service 0.10.2 and library 4.0.
Evaluation never finishes because a check on
response.content.contains("[]")
is set so it waits and tries again.keptn-jenkins-library/src/sh/keptn/Keptn.groovy
Line 680 in 621a9ff
Sample result below.
In my case it was due to an SLI not retrieving any data, but the evaluation does finish and gets a score.
@pcjeffmac Should it be changed to an
equals
check?The text was updated successfully, but these errors were encountered: