Skip to content

[DRAFT] ebpf plugin + parser + component tests (1st Checkin) #5154

[DRAFT] ebpf plugin + parser + component tests (1st Checkin)

[DRAFT] ebpf plugin + parser + component tests (1st Checkin) #5154

Triggered via pull request February 6, 2025 18:27
Status Failure
Total duration 6m 2s
Artifacts

golangci-lint.yaml

on: pull_request
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L158
Error return value of `eventsMap.UnregisterForCallback` is not checked (errcheck)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L246
Error return value of `log.SetupZapLogger` is not checked (errcheck)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L305
Error return value of `tt.Start` is not checked (errcheck)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L8
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L16
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L22
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/eventsmap_types_windows.go#L85
captLocal: `IPv6' should not be capitalized (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L209
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L250
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L96
importShadow: shadow of imported from 'github.com/cilium/cilium/api/v1/flow' package 'flow' (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L158
Error return value of `eventsMap.UnregisterForCallback` is not checked (errcheck)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L246
Error return value of `log.SetupZapLogger` is not checked (errcheck)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L305
Error return value of `tt.Start` is not checked (errcheck)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L8
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L16
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L22
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/eventsmap_types_windows.go#L85
captLocal: `IPv6' should not be capitalized (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L209
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L250
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L96
importShadow: shadow of imported from 'github.com/cilium/cilium/api/v1/flow' package 'flow' (gocritic)