Skip to content

[chore] Make hostmetrics receiver scrapers closer to core scrapers #81108

[chore] Make hostmetrics receiver scrapers closer to core scrapers

[chore] Make hostmetrics receiver scrapers closer to core scrapers #81108

Triggered via pull request January 9, 2025 23:28
Status Failure
Total duration 12m 46s
Artifacts 26

build-and-test.yml

on: pull_request
setup-environment
14s
setup-environment
Matrix: govulncheck
Matrix: integration-tests-matrix
Matrix: lint-matrix
Matrix: unittest-matrix
check-collector-module-version
1m 47s
check-collector-module-version
check-codeowners
5s
check-codeowners
checks
6m 10s
checks
correctness-traces
3m 49s
correctness-traces
correctness-metrics
3m 4s
correctness-metrics
build-examples
8m 27s
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
coverage
0s
coverage
rotate-milestone
0s
rotate-milestone
Fit to window
Zoom out
Zoom in

Annotations

36 errors
unittest-matrix (1.22.8, ubuntu-24.04, receiver-1)
cpuScraperCfg.SetRootPath undefined (type component.Config has no field or method SetRootPath)
unittest-matrix (1.22.8, ubuntu-24.04, receiver-1)
cannot use map[component.Type]internal.Config{…} (value of type map[component.Type]"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config) as map[component.Type]component.Config value in assignment
unittest-matrix (1.22.8, ubuntu-24.04, receiver-1)
cannot use cpuScraperCfg (variable of type component.Config) as "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config value in map literal: component.Config does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config (missing method SetRootPath)
unittest-matrix (1.22.8, ubuntu-24.04, receiver-1)
cpuScraperCfg.SetRootPath undefined (type component.Config has no field or method SetRootPath)
unittest-matrix (1.22.8, ubuntu-24.04, receiver-1)
cannot use map[component.Type]internal.Config{…} (value of type map[component.Type]"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config) as map[component.Type]component.Config value in assignment
unittest-matrix (1.22.8, ubuntu-24.04, receiver-1)
cannot use cpuScraperCfg (variable of type component.Config) as "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config value in map literal: component.Config does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config (missing method SetRootPath)
unittest-matrix (1.22.8, ubuntu-24.04, receiver-1)
Process completed with exit code 2.
unittest-matrix (1.23.0, ubuntu-24.04, receiver-1)
cpuScraperCfg.SetRootPath undefined (type component.Config has no field or method SetRootPath)
unittest-matrix (1.23.0, ubuntu-24.04, receiver-1)
cannot use map[component.Type]internal.Config{…} (value of type map[component.Type]"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config) as map[component.Type]component.Config value in assignment
unittest-matrix (1.23.0, ubuntu-24.04, receiver-1)
cannot use cpuScraperCfg (variable of type component.Config) as "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config value in map literal: component.Config does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config (missing method SetRootPath)
unittest-matrix (1.23.0, ubuntu-24.04, receiver-1)
cpuScraperCfg.SetRootPath undefined (type component.Config has no field or method SetRootPath)
unittest-matrix (1.23.0, ubuntu-24.04, receiver-1)
cannot use map[component.Type]internal.Config{…} (value of type map[component.Type]"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config) as map[component.Type]component.Config value in assignment
unittest-matrix (1.23.0, ubuntu-24.04, receiver-1)
cannot use cpuScraperCfg (variable of type component.Config) as "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config value in map literal: component.Config does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config (missing method SetRootPath)
unittest-matrix (1.23.0, ubuntu-24.04, receiver-1)
Process completed with exit code 2.
integration-tests-matrix (receiver-1)
cpuScraperCfg.SetRootPath undefined (type component.Config has no field or method SetRootPath)
integration-tests-matrix (receiver-1)
cannot use map[component.Type]internal.Config{…} (value of type map[component.Type]"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config) as map[component.Type]component.Config value in assignment
integration-tests-matrix (receiver-1)
cannot use cpuScraperCfg (variable of type component.Config) as "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config value in map literal: component.Config does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config (missing method SetRootPath)
integration-tests-matrix (receiver-1)
pCfg.SetRootPath undefined (type *processscraper.Config has no field or method SetRootPath)
integration-tests-matrix (receiver-1)
pCfg.SetRootPath undefined (type *processscraper.Config has no field or method SetRootPath)
integration-tests-matrix (receiver-1)
cpuScraperCfg.SetRootPath undefined (type component.Config has no field or method SetRootPath)
integration-tests-matrix (receiver-1)
cannot use map[component.Type]internal.Config{…} (value of type map[component.Type]"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config) as map[component.Type]component.Config value in assignment
integration-tests-matrix (receiver-1)
cannot use cpuScraperCfg (variable of type component.Config) as "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config value in map literal: component.Config does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config (missing method SetRootPath)
integration-tests-matrix (receiver-1)
pCfg.SetRootPath undefined (type *processscraper.Config has no field or method SetRootPath)
integration-tests-matrix (receiver-1)
pCfg.SetRootPath undefined (type *processscraper.Config has no field or method SetRootPath)
lint-matrix (linux, receiver-1)
cpuScraperCfg.SetRootPath undefined (type component.Config has no field or method SetRootPath)
lint-matrix (linux, receiver-1)
cannot use map[component.Type]internal.Config{…} (value of type map[component.Type]"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config) as map[component.Type]component.Config value in assignment
lint-matrix (linux, receiver-1)
cannot use cpuScraperCfg (variable of type component.Config) as "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config value in map literal: component.Config does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal".Config (missing method SetRootPath)
lint-matrix (linux, receiver-1)
pCfg.SetRootPath undefined (type *processscraper.Config has no field or method SetRootPath)
lint-matrix (linux, receiver-1)
pCfg.SetRootPath undefined (type *processscraper.Config has no field or method SetRootPath) (typecheck)
lint-matrix (linux, receiver-1)
Process completed with exit code 2.
lint-matrix (windows, receiver-1)
pCfg.SetRootPath undefined (type *processscraper.Config has no field or method SetRootPath)
lint-matrix (windows, receiver-1)
pCfg.SetRootPath undefined (type *processscraper.Config has no field or method SetRootPath) (typecheck)
lint-matrix (windows, receiver-1)
Process completed with exit code 2.
unittest
Process completed with exit code 1.
lint
Process completed with exit code 1.
integration-tests
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
collector-binaries-darwin-amd64
143 MB
collector-binaries-darwin-arm64
138 MB
collector-binaries-linux-386
133 MB
collector-binaries-linux-amd64
142 MB
collector-binaries-linux-arm
131 MB
collector-binaries-linux-arm64
134 MB
collector-binaries-linux-ppc64le
133 MB
collector-binaries-linux-s390x
139 MB
collector-binaries-windows-386
133 MB
collector-binaries-windows-amd64
142 MB
coverage-artifacts-1.22.8-ubuntu-24.04-cmd-0
152 Bytes
coverage-artifacts-1.22.8-ubuntu-24.04-cmd-1
7.56 KB
coverage-artifacts-1.22.8-ubuntu-24.04-connector
19.3 KB
coverage-artifacts-1.22.8-ubuntu-24.04-exporter-0
26.8 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.9 KB
coverage-artifacts-1.22.8-ubuntu-24.04-exporter-3
32.2 KB
coverage-artifacts-1.22.8-ubuntu-24.04-extension
28.2 KB
coverage-artifacts-1.22.8-ubuntu-24.04-internal
30.8 KB
coverage-artifacts-1.22.8-ubuntu-24.04-other
9.84 KB
coverage-artifacts-1.22.8-ubuntu-24.04-pkg
103 KB
coverage-artifacts-1.22.8-ubuntu-24.04-processor-0
27.7 KB
coverage-artifacts-1.22.8-ubuntu-24.04-processor-1
28.7 KB
coverage-artifacts-1.22.8-ubuntu-24.04-receiver-0
92.4 KB
coverage-artifacts-1.22.8-ubuntu-24.04-receiver-2
20.1 KB
coverage-artifacts-1.22.8-ubuntu-24.04-receiver-3
85.1 KB