Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-56061

Shellcheck job failed

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • Installer Sprint 271
    • 1
    • Done
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-56060. The following is the description of the original issue:

      Description of problem:

          shellcheck job failed

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

          4.20.0 (main), 4.19.z

      How reproducible:

          Always

      Steps to Reproduce:

          1. Locally run ./hack/shellcheck.sh
          2. Or in CI: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_installer/9703/pull-ci-openshift-installer-release-4.19-shellcheck/1921877554185113600 (4.19 since we haven't added jobs back to main - 4.20)
          

      Actual results:

          ./hack/shellcheck.sh failed

      Expected results:

          ./hack/shellcheck.sh should pass

      Additional info:

          Failed with following errors:
      ./data/data/agent/files/usr/local/bin/install-status.sh:57:14: note: Backslash is literal in "\e". Prefer explicit escaping: "\\e". [SC1117]
      ./data/data/agent/files/usr/local/bin/install-status.sh:57:36: note: Backslash is literal in "\e". Prefer explicit escaping: "\\e". [SC1117]
      ./data/data/agent/files/usr/local/bin/install-status.sh:57:59: note: Backslash is literal in "\e". Prefer explicit escaping: "\\e". [SC1117]
      ./data/data/agent/files/usr/local/bin/install-status.sh:57:68: note: Backslash is literal in "\e". Prefer explicit escaping: "\\e". [SC1117]
      ./data/data/agent/files/usr/local/bin/install-status.sh:57:122: note: Backslash is literal in "\e". Prefer explicit escaping: "\\e". [SC1117]
      ./data/data/agent/files/usr/local/bin/set-node-zero.sh:51:13: warning: Quote this to prevent word splitting. [SC2046]
      ./data/data/agent/files/usr/local/bin/set-node-zero.sh:52:8: note: Not following: /usr/local/bin/release-image.sh was not specified as input (see shellcheck -x). [SC1091]

              rh-ee-thvo Thuan Vo
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Gaoyun Pei Gaoyun Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: