Skip to content

[fix]: add test case with darwin OS #1878

[fix]: add test case with darwin OS

[fix]: add test case with darwin OS #1878

Triggered via pull request November 25, 2024 08:13
Status Failure
Total duration 6m 10s
Artifacts

pull_request.yml

on: pull_request
changes_baseimage
7s
changes_baseimage
changes_image
6s
changes_image
integration_test  /  build-kepler
2m 39s
integration_test / build-kepler
Matrix: developer_local / local_env
base_image  /  baseimagebuild
base_image / baseimagebuild
Matrix: image / image_build
Waiting for pending jobs
Matrix: integration_test / integration_test_with_libbpf
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 8 warnings
golang / escapes_detect: pkg/model/types/types.go#L63
[]string{...} escapes to heap
golang / escapes_detect: pkg/model/types/types.go#L69
[]string{...} escapes to heap
golang / escapes_detect: pkg/utils/utils.go#L59
binary.LittleEndian escapes to heap
golang / escapes_detect: pkg/utils/utils.go#L62
binary.BigEndian escapes to heap
golang / escapes_detect: pkg/utils/utils.go#L76
pid escapes to heap
golang / escapes_detect: pkg/utils/utils.go#L79
pid escapes to heap
golang / escapes_detect: pkg/utils/utils.go#L90
pid escapes to heap
golang / escapes_detect: pkg/collector/stats/types/types.go#L17
&UInt64Stat{} escapes to heap
golang / escapes_detect: pkg/collector/stats/types/types.go#L24
(*atomic.Uint64).Load(s.delta) escapes to heap
golang / escapes_detect: pkg/collector/stats/types/types.go#L24
(*atomic.Uint64).Load(s.aggr) escapes to heap
golang / govet_test: pkg/bpf/exporter.go#L117
undefined: config.ExposeIRQCounterMetrics
golang / govet_test: pkg/bpf/exporter.go#L148
undefined: config.ExposeHardwareCounterMetrics
golang / govet_test
undefined: config.ExposeIRQCounterMetrics
golang / govet_test
undefined: ExposeIRQCounterMetrics
golang / govet_test
Process completed with exit code 1.
golang / lint: pkg/kubernetes/watcher.go#L37
could not import github.com/sustainable-computing-io/kepler/pkg/bpf (-: # github.com/sustainable-computing-io/kepler/pkg/bpf
golang / lint: pkg/bpf/exporter.go#L117
undefined: config.ExposeIRQCounterMetrics
golang / lint: pkg/bpf/exporter.go#L148
undefined: config.ExposeHardwareCounterMetrics) (typecheck)
golang / lint: pkg/metrics/metricfactory/metric_factory.go#L23
could not import github.com/sustainable-computing-io/kepler/pkg/bpf (-: # github.com/sustainable-computing-io/kepler/pkg/bpf
golang / lint: pkg/bpf/exporter.go#L117
undefined: config.ExposeIRQCounterMetrics
golang / lint: pkg/bpf/exporter.go#L148
undefined: config.ExposeHardwareCounterMetrics) (typecheck)
golang / lint: pkg/metrics/utils/utils.go#L23
could not import github.com/sustainable-computing-io/kepler/pkg/bpf (-: # github.com/sustainable-computing-io/kepler/pkg/bpf
golang / lint: pkg/bpf/exporter.go#L117
undefined: config.ExposeIRQCounterMetrics
golang / lint: pkg/bpf/exporter.go#L148
undefined: config.ExposeHardwareCounterMetrics) (typecheck)
golang / lint: pkg/bpf/exporter.go#L117
undefined: config.ExposeIRQCounterMetrics
unit_test / unit_test: pkg/bpf/exporter.go#L117
undefined: config.ExposeIRQCounterMetrics
unit_test / unit_test: pkg/bpf/exporter.go#L148
undefined: config.ExposeHardwareCounterMetrics
unit_test / unit_test: pkg/config/config_test.go#L150
undefined: ExposeIRQCounterMetrics
unit_test / unit_test: pkg/config/config_test.go#L191
undefined: ExposeHardwareCounterMetrics
unit_test / unit_test: pkg/config/config_test.go#L194
undefined: ExposeHardwareCounterMetrics
unit_test / unit_test
Process completed with exit code 2.
integration_test / build-kepler
undefined: config.ExposeIRQCounterMetrics
integration_test / build-kepler
undefined: config.ExposeHardwareCounterMetrics
integration_test / build-kepler
Process completed with exit code 2.
developer_local / local_env (kind)
Process completed with exit code 2.
golang / vendor
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golang / gofmt_test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golang / escapes_detect
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golang / vulnerability_detect
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golang / govet_test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
golang / lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
unit_test / unit_test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
integration_test / build-kepler
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2