Uploaded image for project: 'Hybrid Application Console'
  1. Hybrid Application Console
  2. HAC-3353

Consider result: ERROR in HACBS_TEST_OUTPUT

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Developer

      When reviewing HAC-3165, I noticed that my clair-scan task seemes to have failed but it still appeared "green" in the UI.

       

      Here was the result:

       

      step-test-format-result
      /tekton/home/clair-vulnerabilities.json is not generated correctly, please check again
      Unknown macro: {"result"}

      My guess is that the UI code is only considering the "failures" and "warnings" counts at the end, but not the "result": "ERROR" overall summary - which I think should mark the TaskRun node as being in trouble somehow.

      Acceptance Criteria

      • clair-scan failure is clearly visible in the UI.
      • it should HACBS_TEST_OUTPUT `ERROR` as a task status error and update the task visualization accordingly 

              jephilli@redhat.com Jeffrey Phillips
              rbean@redhat.com Ralph Bean
              Archiver:
              rhn-support-sthamilt Stacey Hamilton

                Created:
                Updated:
                Resolved:
                Archived: