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-23 12:07
Elapsed45s
Revision3bcbf216136346c665f6a6426b189ecae793d4f4
Refs 3887

No Test Failures!


Error lines from build-log.txt

... skipping 112 lines ...
# checking k8s.gcr.io/images/k8s-staging-sig-storage/generate.sh
result: passed
failures:

SUCCESS  verify-executable.sh	1s
Verifying verify-gcp-projects-id.sh
[ERROR] The following projects do not fulfill the naming requirements for GCP Project ID. Please refer to the required guidelines here: https://cloud.google.com/resource-manager/docs/creating-managing-projects

"k8s-staging-cloud-provider-openstack"
FAILED   verify-gcp-projects-id.sh	3s
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:
  number_of_projects=$(yq '.infra | keys | length' ${GCP_INFRA_YAML})
                                                   ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
... skipping 46 lines ...
  	join --nocheck-order -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	16s
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 51 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