Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NodeState enum #2966

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Add `NodeState` enum

ac90fec
Select commit
Loading
Failed to load commit list.
Open

Add NodeState enum #2966

Add `NodeState` enum
ac90fec
Select commit
Loading
Failed to load commit list.
Google Cloud Build / PR-Go-1-22-build-test (hpc-toolkit-dev) succeeded Aug 22, 2024 in 3m 7s

Summary

Build Information

Trigger PR-Go-1-22-build-test
Build 4a04b4e9-b744-4037-8176-0f217e5545c3
Start 2024-08-21T18:07:17-07:00
Duration 3m0.893s
Status SUCCESS

Steps

Step Status Duration
golang:1.22 SUCCESS 2m57.243s

Details

starting build "4a04b4e9-b744-4037-8176-0f217e5545c3"

FETCHSOURCE
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /workspace/.git/
From https://github.com/GoogleCloudPlatform/cluster-toolkit
 * branch            ac90fecccf592e89127a7a91504907f93c87cc54 -> FETCH_HEAD
HEAD is now at ac90fec Add `NodeState` enum
BUILD
Pulling image: golang:1.22
1.22: Pulling from library/golang
903681d87777: Already exists
3cbbe86a28c2: Already exists
6ed93aa58a52: Already exists
288f02cee7a9: Pulling fs layer
c4c08045297c: Pulling fs layer
70aa3786ec5f: Pulling fs layer
4f4fb700ef54: Pulling fs layer
4f4fb700ef54: Waiting
70aa3786ec5f: Verifying Checksum
70aa3786ec5f: Download complete
4f4fb700ef54: Download complete
c4c08045297c: Verifying Checksum
c4c08045297c: Download complete
288f02cee7a9: Verifying Checksum
288f02cee7a9: Download complete
288f02cee7a9: Pull complete
c4c08045297c: Pull complete
70aa3786ec5f: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:367bb5295d3103981a86a572651d8297d6973f2ec8b62f716b007860e22cbc25
Status: Downloaded newer image for golang:1.22
docker.io/library/golang:1.22
Makefile:135: WARNING: terraform not installed and deployments will not work in this machine, visit https://learn.hashicorp.com/tutorials/terraform/install-cli
Makefile:183: WARNING: packer not installed, visit https://learn.hashicorp.com/tutorials/packer/get-started-install-cli
**************** building gcluster ************************
go: downloading github.com/fatih/color v1.17.0
go: downloading github.com/go-git/go-git/v5 v5.12.0
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/spf13/cobra v1.8.1
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/zclconf/go-cty v1.14.4
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/hashicorp/go-getter v1.7.5
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading dario.cat/mergo v1.0.0
go: downloading github.com/ProtonMail/go-crypto v1.1.0-alpha.2
go: downloading github.com/go-git/go-billy/v5 v5.5.0
go: downloading github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3
go: downloading golang.org/x/sys v0.21.0
go: downloading github.com/agext/levenshtein v1.2.3
go: downloading github.com/hashicorp/hcl/v2 v2.21.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-20231110203233-9a3e6036ecaa
go: downloading github.com/otiai10/copy v1.14.0
go: downloading github.com/hashicorp/terraform-exec v0.21.0
go: downloading google.golang.org/api v0.186.0
go: downloading github.com/pjbgf/sha1cd v0.3.0
go: downloading cloud.google.com/go/storage v1.41.0
go: downloading cloud.google.com/go v0.115.0
go: downloading github.com/aws/aws-sdk-go v1.44.122
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/hashicorp/go-version v1.6.0
go: downloading github.com/klauspost/compress v1.17.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/mitchellh/go-testing-interface v1.14.2-0.20210821155943-2d9075ca8770
go: downloading github.com/ulikunitz/xz v0.5.10
go: downloading golang.org/x/oauth2 v0.21.0
go: downloading golang.org/x/crypto v0.24.0
go: downloading github.com/cyphar/filepath-securejoin v0.2.4
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 github.com/mitchellh/go-wordwrap v1.0.1
go: downloading github.com/google/go-cmp v0.6.0
go: downloading github.com/hashicorp/terraform-config-inspect v0.0.0-20230925220900-5a6f8d18746d
go: downloading golang.org/x/sync v0.7.0
go: downloading github.com/hashicorp/terraform-json v0.22.1
go: downloading cloud.google.com/go/auth v0.6.0
go: downloading google.golang.org/grpc v1.64.0
go: downloading golang.org/x/text v0.16.0
go: downloading cloud.google.com/go/compute/metadata v0.3.0
go: downloading cloud.google.com/go/iam v1.1.8
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/googleapis/gax-go/v2 v2.12.5
go: downloading google.golang.org/genproto v0.0.0-20240617180043-68d350f18fd4
go: downloading google.golang.org/protobuf v1.34.2
go: downloading github.com/cloudflare/circl v1.3.7
go: downloading gopkg.in/warnings.v0 v0.1.2
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/kevinburke/ssh_config v1.2.0
go: downloading github.com/skeema/knownhosts v1.2.2
go: downloading github.com/xanzy/ssh-agent v0.3.3
go: downloading golang.org/x/net v0.26.0
go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.2
go: downloading github.com/google/s2a-go v0.1.7
go: downloading go.opencensus.io v0.24.0
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240610135401-a8a62080eff3
go: downloading go.opentelemetry.io/otel v1.24.0
go: downloading go.opentelemetry.io/otel/trace v1.24.0
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240617180043-68d350f18fd4
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2
go: downloading github.com/felixge/httpsnoop v1.0.4
go: downloading go.opentelemetry.io/otel/metric v1.24.0
go: downloading github.com/go-logr/logr v1.4.1
go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0
go: downloading golang.org/x/time v0.5.0
go: downloading github.com/go-logr/stdr v1.2.2
**************** vetting go code **********************
**************** running gcluster unit tests **************
go vet ./cmd/... ./pkg/...
go: downloading github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940
go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
go: downloading github.com/spf13/afero v1.11.0
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/rogpeppe/go-internal v1.11.0
go: downloading github.com/kr/text v0.2.0
go test -cover ./cmd/... ./pkg/... 2>&1 |  perl tools/enforce_coverage.pl
ok  	hpc-toolkit/cmd	0.094s	coverage: 42.2% of statements
ok  	hpc-toolkit/pkg/config	0.118s	coverage: 86.3% of statements
ok  	hpc-toolkit/pkg/deploymentio	0.010s	coverage: 88.2% of statements
	hpc-toolkit/pkg/logging		coverage: 0.0% of statements
ok  	hpc-toolkit/pkg/inspect	0.590s	coverage: 75.5% of statements
ok  	hpc-toolkit/pkg/modulereader	0.195s	coverage: 85.6% of statements
ok  	hpc-toolkit/pkg/modulewriter	0.060s	coverage: 79.9% of statements
ok  	hpc-toolkit/pkg/shell	0.072s	coverage: 13.6% of statements
ok  	hpc-toolkit/pkg/sourcereader	1.504s	coverage: 89.4% of statements
ok  	hpc-toolkit/pkg/validators	0.026s	coverage: 14.5% of statements
PUSH
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/4a04b4e9-b744-4037-8176-0f217e5545c3?project=508417052821