Skip to content

Optimize memory allocations in the event processing pipeline #11823

Optimize memory allocations in the event processing pipeline

Optimize memory allocations in the event processing pipeline #11823

Triggered via pull request October 12, 2023 15:04
Status Failure
Total duration 12m 49s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

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

Annotations

19 errors and 6 warnings
lint (linux): libbeat/beat/event.go#L52
File is not `goimports`-ed with -local github.com/elastic (goimports)
lint (linux): libbeat/processors/processor_test.go#L30
ST1019: package "github.com/elastic/beats/v7/libbeat/processors/actions" is being imported more than once (stylecheck)
lint (linux): libbeat/processors/processor_test.go#L31
ST1019(related information): other import of "github.com/elastic/beats/v7/libbeat/processors/actions" (stylecheck)
lint (linux): libbeat/processors/processor_test.go#L64
Error return value of `logp.TestingSetup` is not checked (errcheck)
lint (linux): libbeat/processors/processor_test.go#L87
Error return value of `logp.TestingSetup` is not checked (errcheck)
lint (linux): libbeat/processors/processor_test.go#L156
Error return value of `logp.TestingSetup` is not checked (errcheck)
lint (linux): libbeat/processors/processor_test.go#L656
const `fieldCount` is unused (unused)
lint (linux): libbeat/processors/processor_test.go#L657
const `nestingLevel` is unused (unused)
lint (linux)
issues found
lint (windows)
The job was canceled because "linux" failed.
lint (windows): libbeat/beat/event.go#L52
File is not `goimports`-ed with -local github.com/elastic (goimports)
lint (windows): libbeat/processors/processor_test.go#L30
ST1019: package "github.com/elastic/beats/v7/libbeat/processors/actions" is being imported more than once (stylecheck)
lint (windows): libbeat/processors/processor_test.go#L31
ST1019(related information): other import of "github.com/elastic/beats/v7/libbeat/processors/actions" (stylecheck)
lint (windows): libbeat/processors/processor_test.go#L64
Error return value of `logp.TestingSetup` is not checked (errcheck)
lint (windows): libbeat/processors/processor_test.go#L87
Error return value of `logp.TestingSetup` is not checked (errcheck)
lint (windows): libbeat/processors/processor_test.go#L156
Error return value of `logp.TestingSetup` is not checked (errcheck)
lint (windows): libbeat/processors/processor_test.go#L656
const `fieldCount` is unused (unused)
lint (windows): libbeat/processors/processor_test.go#L657
const `nestingLevel` is unused (unused)
lint (windows)
issues found
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']