This job view page is being replaced by Spyglass soon. Check out the new job view.
PRPriyankasaggu11929: add verify-gcp-projects-id.sh hack script
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2022-06-22 17:01
Elapsed46s
Revision9ec7574ea0b9bb3c712bcbaca56d22f88907400e
Refs 3887

No Test Failures!


Error lines from build-log.txt

... skipping 115 lines ...

SUCCESS  verify-executable.sh	1s
Verifying verify-gcp-projects-id.sh
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
          [--indentless-lists] [--in-place] [--version]
          [jq_filter] [files ...]
yq: error: argument files: can't open '.infra.*.projects | keys | .[]': [Errno 2] No such file or directory: '.infra.*.projects | keys | .[]'
FAILED   verify-gcp-projects-id.sh	0s
Verifying verify-shellcheck.sh
# checking apps/cert-manager/deploy.sh
# checking apps/codesearch/deploy.sh
# checking apps/elekto/deploy.sh
# checking apps/gcsweb/deploy.sh
# checking apps/k8s-io/deploy.sh
... skipping 63 lines ...
# checking infra/gcp/bash/roles/generate-role-yaml.sh
# checking infra/gcp/terraform/k8s-infra-monitoring/deploy.sh
# checking infra/gcp/terraform/k8s-infra-prow-build-trusted/deploy.sh
# checking infra/gcp/terraform/k8s-infra-prow-build/deploy.sh
# checking k8s.gcr.io/images/k8s-staging-csi-secrets-store/generate.sh
# checking k8s.gcr.io/images/k8s-staging-sig-storage/generate.sh
result: failed
shellcheck_cmd: shellcheck --shell=bash --external-sources --source-path=SCRIPTDIR {file}
shellcheck_output: >
  
  In /home/prow/go/src/github.com/kubernetes/k8s.io/hack/verify-gcp-projects-id.sh line 35:
  yq eval '.infra.*.projects | keys | .[]' ${GCP_INFRA_YAML} > ${LIST_OF_GCP_PROJECTS} 
                                           ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
... skipping 30 lines ...
  	join -v1 -v2 "${LIST_OF_GCP_PROJECTS}" "${VERIFIED_PROJECTS}"
  
  For more information:
    https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
failing_files:
- hack/verify-gcp-projects-id.sh
FAILED   verify-shellcheck.sh	19s
Skipping verify-terraform.sh
Verifying verify-yamllint.sh
./k8s.gcr.io/images/k8s-staging-etcdadm/images.yaml
  110:1     warning  too many blank lines (1 > 0)  (empty-lines)

./k8s.gcr.io/images/k8s-staging-cluster-api/images.yaml
... skipping 30 lines ...

./registry.k8s.io/explorations/2021-10-implementations/envoy-wasm/envoy.yaml
  2:1       warning  too many blank lines (2 > 0)  (empty-lines)

SUCCESS  verify-yamllint.sh	22s
========================
FAILED TESTS
========================
./hack/../hack/verify-gcp-projects-id.sh
./hack/../hack/verify-shellcheck.sh