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

Adding integration test for ansible OS coverage #3416

Merged

Adding integration test for ansible os coverage

7d8061d
Select commit
Loading
Failed to load commit list.
Merged

Adding integration test for ansible OS coverage #3416

Adding integration test for ansible os coverage
7d8061d
Select commit
Loading
Failed to load commit list.
Google Cloud Build / PR-Go-1-22-build-test (hpc-toolkit-dev) succeeded Dec 18, 2024 in 3m 17s

Summary

Build Information

Trigger PR-Go-1-22-build-test
Build 24f2238d-7bd0-444b-8822-f279d32e7c32
Start 2024-12-18T07:35:33-08:00
Duration 3m8.854s
Status SUCCESS

Steps

Step Status Duration
golang:1.22 SUCCESS 3m4.716s

Details

starting build "24f2238d-7bd0-444b-8822-f279d32e7c32"

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            7d8061d5607531eb4f2b80ad76c24a5fb4de490c -> FETCH_HEAD
HEAD is now at 7d8061d Adding integration test for ansible os coverage
BUILD
Pulling image: golang:1.22
1.22: Pulling from library/golang
fdf894e782a2: Already exists
5bd71677db44: Already exists
551df7f94f9c: Already exists
a7f84ec3991b: Pulling fs layer
67b1e9584e19: Pulling fs layer
ad8ff0b0767b: Pulling fs layer
4f4fb700ef54: Pulling fs layer
4f4fb700ef54: Waiting
ad8ff0b0767b: Verifying Checksum
ad8ff0b0767b: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
67b1e9584e19: Verifying Checksum
67b1e9584e19: Download complete
a7f84ec3991b: Verifying Checksum
a7f84ec3991b: Download complete
a7f84ec3991b: Pull complete
67b1e9584e19: Pull complete
ad8ff0b0767b: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:9855006ddcf40a79e9a2d90df11870331d24bcf2354232482ae132a7ba7b624f
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.18.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.15.1
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/hashicorp/go-getter v1.7.6
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.6.0
go: downloading github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3
go: downloading golang.org/x/sys v0.27.0
go: downloading github.com/agext/levenshtein v1.2.3
go: downloading github.com/hashicorp/hcl/v2 v2.23.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-20240719175910-8a7402abbf56
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 cloud.google.com/go/storage v1.41.0
go: downloading github.com/aws/aws-sdk-go v1.44.122
go: downloading cloud.google.com/go v0.115.0
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 github.com/pjbgf/sha1cd v0.3.0
go: downloading golang.org/x/crypto v0.25.0
go: downloading github.com/cyphar/filepath-securejoin v0.2.5
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.1
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 golang.org/x/text v0.16.0
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.27.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/kr/text v0.2.0
go: downloading github.com/rogpeppe/go-internal v1.11.0
go test -cover ./cmd/... ./pkg/... 2>&1 |  perl tools/enforce_coverage.pl
ok  	hpc-toolkit/cmd	0.092s	coverage: 41.7% of statements
ok  	hpc-toolkit/pkg/config	0.143s	coverage: 86.5% of statements
ok  	hpc-toolkit/pkg/deploymentio	0.009s	coverage: 88.2% of statements
	hpc-toolkit/pkg/logging		coverage: 0.0% of statements
ok  	hpc-toolkit/pkg/inspect	0.659s	coverage: 75.5% of statements
ok  	hpc-toolkit/pkg/modulereader	0.172s	coverage: 84.5% of statements
ok  	hpc-toolkit/pkg/modulewriter	0.064s	coverage: 79.9% of statements
ok  	hpc-toolkit/pkg/shell	0.041s	coverage: 13.6% of statements
ok  	hpc-toolkit/pkg/sourcereader	1.485s	coverage: 88.8% 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/24f2238d-7bd0-444b-8822-f279d32e7c32?project=508417052821