Skip to content

Enhance googlecloudmonitoringreceiver: Add Unit Tests for Metric Conversion and Improve Edge Case Coverage #79964

Enhance googlecloudmonitoringreceiver: Add Unit Tests for Metric Conversion and Improve Edge Case Coverage

Enhance googlecloudmonitoringreceiver: Add Unit Tests for Metric Conversion and Improve Edge Case Coverage #79964

Status Failure
Total duration 13m 13s
Artifacts 27

build-and-test.yml

on: pull_request
setup-environment
16s
setup-environment
Matrix: govulncheck
Matrix: integration-tests-matrix
Matrix: lint-matrix
Matrix: unittest-matrix
check-collector-module-version
1m 59s
check-collector-module-version
check-codeowners
6s
check-codeowners
checks
1m 7s
checks
correctness-traces
3m 47s
correctness-traces
correctness-metrics
3m 9s
correctness-metrics
build-examples
8m 43s
build-examples
Matrix: cross-compile
integration-tests
0s
integration-tests
unittest
0s
unittest
publish-stable
0s
publish-stable
publish-check
0s
publish-check
publish-dev
0s
publish-dev
rotate-milestone
0s
rotate-milestone
Fit to window
Zoom out
Zoom in

Annotations

22 errors
lint-matrix (linux, receiver-1)
Error return value of `testServer.srv.Serve` is not checked (errcheck)
lint-matrix (linux, receiver-1)
Error return value of `testServer.srv.Serve` is not checked (errcheck)
lint-matrix (linux, receiver-1)
Error return value of `testServer.srv.Serve` is not checked (errcheck)
lint-matrix (linux, receiver-1)
Error return value of `receiver.Shutdown` is not checked (errcheck)
lint-matrix (linux, receiver-1)
os.Setenv() can be replaced by `t.Setenv()` in TestInitializeClient_Success (tenv)
lint-matrix (linux, receiver-1)
os.Setenv() can be replaced by `t.Setenv()` in TestStart_Failure_InvalidMetricDescriptor_Unauthenticated_User (tenv)
lint-matrix (linux, receiver-1)
expected-actual: need to reverse actual and expected values (testifylint)
lint-matrix (linux, receiver-1)
expected-actual: need to reverse actual and expected values (testifylint)
lint-matrix (linux, receiver-1)
expected-actual: need to reverse actual and expected values (testifylint)
lint-matrix (linux, receiver-1)
len: use assert.Len (testifylint)
checks
Process completed with exit code 2.
lint-matrix (windows, receiver-1)
Error return value of `testServer.srv.Serve` is not checked (errcheck)
lint-matrix (windows, receiver-1)
Error return value of `testServer.srv.Serve` is not checked (errcheck)
lint-matrix (windows, receiver-1)
Error return value of `testServer.srv.Serve` is not checked (errcheck)
lint-matrix (windows, receiver-1)
Error return value of `receiver.Shutdown` is not checked (errcheck)
lint-matrix (windows, receiver-1)
os.Setenv() can be replaced by `t.Setenv()` in TestInitializeClient_Success (tenv)
lint-matrix (windows, receiver-1)
os.Setenv() can be replaced by `t.Setenv()` in TestStart_Failure_InvalidMetricDescriptor_Unauthenticated_User (tenv)
lint-matrix (windows, receiver-1)
expected-actual: need to reverse actual and expected values (testifylint)
lint-matrix (windows, receiver-1)
expected-actual: need to reverse actual and expected values (testifylint)
lint-matrix (windows, receiver-1)
expected-actual: need to reverse actual and expected values (testifylint)
lint-matrix (windows, receiver-1)
len: use assert.Len (testifylint)
lint
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
collector-binaries-darwin-amd64
141 MB
collector-binaries-darwin-arm64
136 MB
collector-binaries-linux-386
131 MB
collector-binaries-linux-amd64
141 MB
collector-binaries-linux-arm
130 MB
collector-binaries-linux-arm64
133 MB
collector-binaries-linux-ppc64le
132 MB
collector-binaries-linux-s390x
138 MB
collector-binaries-windows-386
132 MB
collector-binaries-windows-amd64
140 MB
coverage-artifacts-1.22.8-ubuntu-24.04-cmd-0
152 Bytes
coverage-artifacts-1.22.8-ubuntu-24.04-cmd-1
7.44 KB
coverage-artifacts-1.22.8-ubuntu-24.04-connector
17.1 KB
coverage-artifacts-1.22.8-ubuntu-24.04-exporter-0
26.5 KB
coverage-artifacts-1.22.8-ubuntu-24.04-exporter-1
23.2 KB
coverage-artifacts-1.22.8-ubuntu-24.04-exporter-2
21.3 KB
coverage-artifacts-1.22.8-ubuntu-24.04-exporter-3
31.9 KB
coverage-artifacts-1.22.8-ubuntu-24.04-extension
28.3 KB
coverage-artifacts-1.22.8-ubuntu-24.04-internal
30.9 KB
coverage-artifacts-1.22.8-ubuntu-24.04-other
9.83 KB
coverage-artifacts-1.22.8-ubuntu-24.04-pkg
101 KB
coverage-artifacts-1.22.8-ubuntu-24.04-processor-0
27.1 KB
coverage-artifacts-1.22.8-ubuntu-24.04-processor-1
28.1 KB
coverage-artifacts-1.22.8-ubuntu-24.04-receiver-0
91.9 KB
coverage-artifacts-1.22.8-ubuntu-24.04-receiver-1
121 KB
coverage-artifacts-1.22.8-ubuntu-24.04-receiver-2
20.1 KB
coverage-artifacts-1.22.8-ubuntu-24.04-receiver-3
84.4 KB