Skip to content

[8.x](backport #42704) Migrate Netflow code to the logp logging library (targeting main) #27908

[8.x](backport #42704) Migrate Netflow code to the logp logging library (targeting main)

[8.x](backport #42704) Migrate Netflow code to the logp logging library (targeting main) #27908

Triggered via pull request February 19, 2025 14:09
Status Failure
Total duration 9m 25s
Artifacts

golangci-lint.yml

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

Annotations

7 errors and 11 warnings
lint (windows): x-pack/filebeat/input/netflow/decoder/decoder.go#L62
Error return value of `p.stop` is not checked (errcheck)
lint (windows): x-pack/filebeat/input/netflow/decoder/decoder.go#L70
`withing` is a misspelling of `within` (misspell)
lint (windows): x-pack/filebeat/input/netflow/decoder/ipfix/ipfix.go#L26
Error return value of `protocol.Registry.Register` is not checked (errcheck)
lint (windows): x-pack/filebeat/input/netflow/decoder/v9/decoder.go#L166
error is not nil (line 159) but it returns nil (nilerr)
lint (windows)
issues found
lint (linux)
The job was canceled because "windows" failed.
lint (linux)
The operation was canceled.
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (darwin)
Cache not found for keys: golangci-lint.cache-Linux-2876-c72d8c0897b6df05997bbe20a30c9f727c095ce3, golangci-lint.cache-Linux-2876-
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (windows)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (windows)
Cache not found for keys: golangci-lint.cache-Linux-2876-c72d8c0897b6df05997bbe20a30c9f727c095ce3, golangci-lint.cache-Linux-2876-
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (linux)
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 1
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (linux)
Cache not found for keys: golangci-lint.cache-Linux-2876-c72d8c0897b6df05997bbe20a30c9f727c095ce3, golangci-lint.cache-Linux-2876-