Skip to content

chore: tidy use of bpfSupportedMetrics for NewStats() #1669

chore: tidy use of bpfSupportedMetrics for NewStats()

chore: tidy use of bpfSupportedMetrics for NewStats() #1669

Triggered via pull request September 2, 2024 09:50
Status Failure
Total duration 5m 58s
Artifacts

pull_request.yml

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

Annotations

32 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/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 / escapes_detect: pkg/collector/stats/types/types.go#L94
make(map[string]*UInt64Stat) escapes to heap
golang / escapes_detect: pkg/collector/stats/types/types.go#L104
... argument escapes to heap
golang / escapes_detect: pkg/collector/stats/types/types.go#L114
... argument escapes to heap
golang / escapes_detect: pkg/collector/stats/types/types.go#L123
... argument escapes to heap
golang / escapes_detect: pkg/collector/stats/types/types.go#L153
UInt64StatCollection.SumAllDeltaValues(s) escapes to heap
golang / govet_test: pkg/collector/stats/utils.go#L97
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
golang / govet_test: pkg/collector/stats/utils.go#L97
undefined: AvailableBPFMetrics
golang / govet_test: pkg/collector/stats/utils.go#L97
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
golang / govet_test: pkg/collector/stats/utils.go#L97
undefined: AvailableBPFMetrics
golang / govet_test
Process completed with exit code 1.
golang / lint: pkg/collector/energy/node_energy_collector.go#L24
could not import github.com/sustainable-computing-io/kepler/pkg/collector/stats (-: # github.com/sustainable-computing-io/kepler/pkg/collector/stats
golang / lint: pkg/collector/stats/utils.go#L97
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
golang / lint: pkg/collector/stats/utils.go#L97
undefined: AvailableBPFMetrics) (typecheck)
golang / lint: pkg/collector/resourceutilization/accelerator/process_gpu_collector.go#L26
could not import github.com/sustainable-computing-io/kepler/pkg/collector/stats (-: # github.com/sustainable-computing-io/kepler/pkg/collector/stats
golang / lint: pkg/collector/stats/utils.go#L97
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
golang / lint: pkg/collector/stats/utils.go#L97
undefined: AvailableBPFMetrics) (typecheck)
golang / lint: pkg/kubernetes/watcher.go#L38
could not import github.com/sustainable-computing-io/kepler/pkg/collector/stats (-: # github.com/sustainable-computing-io/kepler/pkg/collector/stats
golang / lint: pkg/collector/stats/utils.go#L97
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
golang / lint: pkg/collector/stats/utils.go#L97
undefined: AvailableBPFMetrics) (typecheck)
golang / lint: pkg/metrics/utils/utils.go#L72
previous case (typecheck)
unit_test / unit_test: pkg/collector/stats/utils.go#L97
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
unit_test / unit_test: pkg/collector/stats/utils.go#L97
undefined: AvailableBPFMetrics
unit_test / unit_test
Process completed with exit code 2.
integration_test / build-kepler
cannot infer S ($GOROOT/src/slices/slices.go:115:15)
integration_test / build-kepler
undefined: AvailableBPFMetrics
integration_test / build-kepler
Process completed with exit code 2.
developer_local / local_env (kind)
Process completed 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 / gofmt_test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed 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 / 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