Skip to content

Fixes precommit errors

7127fe7
Select commit
Loading
Failed to load commit list.
Merged

R&R Slurm integration #5003

Fixes precommit errors
7127fe7
Select commit
Loading
Failed to load commit list.
Google Cloud Build / PR-Go-1-24-build-test (hpc-toolkit-dev) succeeded Jan 22, 2026 in 5m 42s

Summary

Build Information

Trigger PR-Go-1-24-build-test
Build 36e011f7-df91-4691-91b9-b0ff99120089
Start 2026-01-21T21:23:51-08:00
Duration 5m29.138s
Status SUCCESS

Steps

Step Status Duration
golang:1.24 SUCCESS 5m22.224s

Details

starting build "36e011f7-df91-4691-91b9-b0ff99120089"

FETCHSOURCE
From https://github.com/GoogleCloudPlatform/cluster-toolkit
 * branch            7127fe710e730e922fe8f356c25cd01e15a138c1 -> FETCH_HEAD
HEAD is now at 7127fe7 Fixes precommit errors
GitCommit:
7127fe710e730e922fe8f356c25cd01e15a138c1
BUILD
Pulling image: golang:1.24
1.24: Pulling from library/golang
2ca1bfae7ba8: Already exists
82e18c5e1c15: Already exists
be442a7e0d6f: Already exists
6db3b1fb3a5e: Pulling fs layer
fb9d4bc08b09: Pulling fs layer
8ccc0040e417: Pulling fs layer
4f4fb700ef54: Pulling fs layer
8ccc0040e417: Verifying Checksum
8ccc0040e417: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
fb9d4bc08b09: Verifying Checksum
fb9d4bc08b09: Download complete
6db3b1fb3a5e: Verifying Checksum
6db3b1fb3a5e: Download complete
6db3b1fb3a5e: Pull complete
fb9d4bc08b09: Pull complete
8ccc0040e417: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:c2131140c7c29ff277b1c412d524b7f56289513f49672c57a3d992247dd146f8
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.4
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/spf13/cobra v1.10.2
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.33.0
go: downloading google.golang.org/api v0.256.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/hashicorp/go-getter v1.8.4
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 github.com/sergi/go-diff v1.4.0
go: downloading golang.org/x/sys v0.39.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/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/otiai10/copy v1.14.1
go: downloading github.com/hashicorp/terraform-exec v0.24.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/hashicorp/go-version v1.8.0
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 github.com/pjbgf/sha1cd v0.4.0
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 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 golang.org/x/sync v0.19.0
go: downloading github.com/hashicorp/terraform-json v0.27.1
go: downloading github.com/aws/smithy-go v1.24.0
go: downloading cloud.google.com/go/iam v1.5.3
go: downloading github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.54.0
go: downloading go.opentelemetry.io/contrib/detectors/gcp v1.37.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/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.1
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/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940
go: downloading github.com/spf13/afero v1.15.0
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.149s	coverage: 46.8% of statements
ok  	hpc-toolkit/pkg/config	0.157s	coverage: 86.8% of statements
ok  	hpc-toolkit/pkg/deploymentio	0.013s	coverage: 88.2% of statements
ok  	hpc-toolkit/pkg/inspect	0.773s	coverage: 86.0% of statements
	hpc-toolkit/pkg/logging		coverage: 0.0% of statements
ok  	hpc-toolkit/pkg/modulereader	0.321s	coverage: 86.3% of statements
ok  	hpc-toolkit/pkg/modulewriter	0.092s	coverage: 80.6% of statements
ok  	hpc-toolkit/pkg/shell	0.069s	coverage: 12.2% of statements
ok  	hpc-toolkit/pkg/sourcereader	2.568s	coverage: 88.8% of statements
ok  	hpc-toolkit/pkg/validators	0.052s	coverage: 37.9% of statements
PUSH
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/36e011f7-df91-4691-91b9-b0ff99120089?project=508417052821