Skip to content

Add warning logs for TF version less than recommended version

3fe3063
Select commit
Loading
Failed to load commit list.
Open

Add warning logs for TF version less than recommended version #5346

Add warning logs for TF version less than recommended version
3fe3063
Select commit
Loading
Failed to load commit list.
Google Cloud Build / PR-Go-1-24-build-test (hpc-toolkit-dev) succeeded Mar 12, 2026 in 5m 0s

Summary

Build Information

Trigger PR-Go-1-24-build-test
Build ef47950c-9e09-4f0a-880a-41e0ffd1af47
Start 2026-03-12T02:38:12-07:00
Duration 4m48.076s
Status SUCCESS

Steps

Step Status Duration
golang:1.24 SUCCESS 4m41.798s

Details

starting build "ef47950c-9e09-4f0a-880a-41e0ffd1af47"

FETCHSOURCE
From https://github.com/GoogleCloudPlatform/cluster-toolkit
 * branch            3fe3063f4a7a37223921fa3d069e864dda93d10b -> FETCH_HEAD
HEAD is now at 3fe3063 Add warning logs for TF version less than recommended version
GitCommit:
3fe3063f4a7a37223921fa3d069e864dda93d10b
BUILD
Pulling image: golang:1.24
1.24: Pulling from library/golang
ef235bf1a09a: Pulling fs layer
954d6059ca7b: Pulling fs layer
b5e2021c4c8b: Pulling fs layer
b2b04fcbed4b: Pulling fs layer
f7bdfd728ac2: Pulling fs layer
50a27cd32f89: Pulling fs layer
4f4fb700ef54: Pulling fs layer
4f4fb700ef54: Waiting
50a27cd32f89: Verifying Checksum
50a27cd32f89: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
954d6059ca7b: Verifying Checksum
954d6059ca7b: Download complete
b5e2021c4c8b: Verifying Checksum
b5e2021c4c8b: Download complete
ef235bf1a09a: Verifying Checksum
ef235bf1a09a: Download complete
f7bdfd728ac2: Verifying Checksum
f7bdfd728ac2: Download complete
b2b04fcbed4b: Download complete
ef235bf1a09a: Pull complete
954d6059ca7b: Pull complete
b5e2021c4c8b: Pull complete
b2b04fcbed4b: Pull complete
f7bdfd728ac2: Pull complete
50a27cd32f89: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:d2d2bc1c84f7e60d7d2438a3836ae7d0c847f4888464e7ec9ba3a1339a1ee804
Status: Downloaded newer image for golang:1.24
docker.io/library/golang:1.24
Makefile:159: WARNING: terraform not installed and deployments will not work in this machine, visit https://learn.hashicorp.com/tutorials/terraform/install-cli
Makefile:207: WARNING: packer not installed, visit https://learn.hashicorp.com/tutorials/packer/get-started-install-cli
**************** building gcluster ************************
go: downloading github.com/fatih/color v1.18.0
go: downloading github.com/go-git/go-git/v5 v5.16.5
go: downloading github.com/spf13/cobra v1.10.2
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/spf13/pflag v1.0.10
go: downloading github.com/zclconf/go-cty v1.17.0
go: downloading golang.org/x/oauth2 v0.34.0
go: downloading google.golang.org/api v0.256.0
go: downloading github.com/hashicorp/go-getter v1.8.4
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/mattn/go-colorable v0.1.14
go: downloading dario.cat/mergo v1.0.2
go: downloading github.com/ProtonMail/go-crypto v1.3.0
go: downloading github.com/go-git/go-billy/v5 v5.7.0
go: downloading golang.org/x/sys v0.40.0
go: downloading github.com/sergi/go-diff v1.4.0
go: downloading cloud.google.com/go/compute/metadata v0.9.0
go: downloading cloud.google.com/go v0.123.0
go: downloading github.com/googleapis/gax-go/v2 v2.15.0
go: downloading cloud.google.com/go/auth v0.17.0
go: downloading google.golang.org/grpc v1.76.0
go: downloading github.com/otiai10/copy v1.14.1
go: downloading github.com/agext/levenshtein v1.2.3
go: downloading github.com/hashicorp/hcl/v2 v2.24.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading golang.org/x/exp v0.0.0-20250811191247-51f88131bc50
go: downloading github.com/hashicorp/go-version v1.8.0
go: downloading github.com/hashicorp/terraform-exec v0.24.0
go: downloading github.com/pjbgf/sha1cd v0.4.0
go: downloading cloud.google.com/go/storage v1.58.0
go: downloading github.com/aws/aws-sdk-go-v2 v1.41.0
go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.6
go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.19.6
go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.16
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.95.0
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/hashicorp/aws-sdk-go-base/v2 v2.0.0-beta.70
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/klauspost/compress v1.18.2
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/ulikunitz/xz v0.5.15
go: downloading golang.org/x/crypto v0.46.0
go: downloading github.com/cyphar/filepath-securejoin v0.4.1
go: downloading github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376
go: downloading github.com/emirpasic/gods v1.18.1
go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
go: downloading github.com/apparentlymart/go-textseg/v15 v15.0.0
go: downloading golang.org/x/text v0.32.0
go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.8
go: downloading github.com/google/s2a-go v0.1.9
go: downloading github.com/google/uuid v1.6.0
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.62.0
go: downloading golang.org/x/net v0.48.0
go: downloading golang.org/x/sync v0.19.0
go: downloading github.com/mitchellh/go-wordwrap v1.0.1
go: downloading github.com/google/go-cmp v0.7.0
go: downloading github.com/hashicorp/terraform-config-inspect v0.0.0-20250731202709-e8a84eebd3e7
go: downloading github.com/hashicorp/terraform-json v0.27.1
go: downloading cloud.google.com/go/iam v1.5.3
go: downloading go.opentelemetry.io/contrib/detectors/gcp v1.37.0
go: downloading github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.54.0
go: downloading go.opentelemetry.io/otel v1.39.0
go: downloading go.opentelemetry.io/otel/sdk/metric v1.39.0
go: downloading go.opentelemetry.io/otel/sdk v1.39.0
go: downloading go.opentelemetry.io/otel/trace v1.39.0
go: downloading google.golang.org/genproto v0.0.0-20250922171735-9219d122eba9
go: downloading google.golang.org/protobuf v1.36.10
go: downloading github.com/aws/smithy-go v1.24.0
go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4
go: downloading github.com/aws/aws-sdk-go-v2/service/signin v1.0.4
go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.30.8
go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.12
go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.41.5
go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.4
go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.16
go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.16
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.4
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.7
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.16
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.16
go: downloading github.com/cloudflare/circl v1.6.3
go: downloading gopkg.in/warnings.v0 v0.1.2
go: downloading github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8
go: downloading github.com/kevinburke/ssh_config v1.2.0
go: downloading github.com/skeema/knownhosts v1.3.1
go: downloading github.com/xanzy/ssh-agent v0.3.3
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.7
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20251111163417-95abcf5c77ba
go: downloading github.com/felixge/httpsnoop v1.0.4
go: downloading go.opentelemetry.io/otel/metric v1.39.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20251111163417-95abcf5c77ba
go: downloading cloud.google.com/go/monitoring v1.24.2
go: downloading github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.54.0
go: downloading github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.29.0
go: downloading github.com/go-logr/logr v1.4.3
go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.16
go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0
go: downloading golang.org/x/time v0.14.0
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading go.opentelemetry.io/auto/sdk v1.2.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/envoyproxy/go-control-plane/envoy v1.32.4
go: downloading github.com/spiffe/go-spiffe/v2 v2.5.0
go: downloading github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443
go: downloading github.com/envoyproxy/protoc-gen-validate v1.2.1
go: downloading github.com/go-jose/go-jose/v4 v4.1.2
go: downloading github.com/zeebo/errs v1.4.0
go: downloading cel.dev/expr v0.24.0
**************** vetting go code **********************
**************** running gcluster unit tests **************
go vet ./cmd/... ./pkg/...
go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
go: downloading github.com/spf13/afero v1.15.0
go: downloading github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/kr/text v0.2.0
go: downloading github.com/rogpeppe/go-internal v1.14.1
go test -cover ./cmd/... ./pkg/... 2>&1 |  perl tools/enforce_coverage.pl
ok  	hpc-toolkit/cmd	0.115s	coverage: 45.8% of statements
ok  	hpc-toolkit/pkg/config	0.118s	coverage: 86.9% of statements
ok  	hpc-toolkit/pkg/deploymentio	0.015s	coverage: 88.2% of statements
ok  	hpc-toolkit/pkg/inspect	0.653s	coverage: 86.0% of statements
	hpc-toolkit/pkg/logging		coverage: 0.0% of statements
ok  	hpc-toolkit/pkg/modulereader	0.194s	coverage: 86.3% of statements
ok  	hpc-toolkit/pkg/modulewriter	0.068s	coverage: 80.6% of statements
ok  	hpc-toolkit/pkg/shell	0.066s	coverage: 17.8% of statements
ok  	hpc-toolkit/pkg/sourcereader	1.342s	coverage: 88.8% of statements
ok  	hpc-toolkit/pkg/validators	0.046s	coverage: 46.4% of statements
PUSH
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/ef47950c-9e09-4f0a-880a-41e0ffd1af47?project=508417052821