Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-78331

Fix wait_for_metrics_value_update missing metric value

XMLWordPrintable

    • CNV I/U Operators Sprint 283, CNV I/U Operators Sprint 284
    • Moderate
    • None

      Description of problem:

      test_cdi_json_patch_metrics function wait_for_metrics_value_update returns None instead of 0 if the metric isn't found

      Version-Release number of selected component (if applicable):

      4.99

      How reproducible:

      Occasionally

      Steps to Reproduce:

      1. Run openshift-tests-runner with '-s -o log_cli=true --jira -m "iuo and tier2 and not gating and not sriov and not destructive"' against main
      2. 
      3.
      

      Actual results:

      TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'

      Expected results:

      No error

      Additional info:

      Unable to reproduce on local cluster, fixing with warning message to help future-proof

              rh-ee-albarker Alex Barker
              rh-ee-albarker Alex Barker
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: