Uploaded image for project: 'OCP Technical Release Team'
  1. OCP Technical Release Team
  2. TRT-790

Fix "at or above" alert tests enforcing 0s when no data is present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The query for historical data has a hardcoded list of alerts that does not match the hardcoded list of alerts we test against. It looks like the code was not properly handling data not being in the file, and I suspect then failing the test because we assume 0s if no data. Example:

      https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.13-e2e-azure-ovn-upgrade/1615192936746586112

      This alert is not in the query and thus will never be in query_results.json file, and yet we're enforcing 0s on it.

              rhn-engineering-dgoodwin Devan Goodwin
              rhn-engineering-dgoodwin Devan Goodwin
              None
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: