Skip to content

[7.17](backport #41960) Add upstream deadlock warning to the logstash output #26207

[7.17](backport #41960) Add upstream deadlock warning to the logstash output

[7.17](backport #41960) Add upstream deadlock warning to the logstash output #26207

Triggered via pull request December 19, 2024 19:47
Status Failure
Total duration 7m 46s
Artifacts

golangci-lint.yml

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

Annotations

32 errors and 7 warnings
lint (linux): libbeat/outputs/logstash/async.go#L1
: # github.com/elastic/beats/v7/libbeat/outputs/logstash [github.com/elastic/beats/v7/libbeat/outputs/logstash.test]
lint (linux): libbeat/outputs/logstash/async.go#L233
syntax error: non-declaration statement outside function body
lint (linux): libbeat/outputs/logstash/async.go#L244
syntax error: unexpected ==, expected }
lint (linux): libbeat/outputs/logstash/async.go#L247
syntax error: unexpected >>, expected }
lint (linux): libbeat/outputs/logstash/async.go#L247
invalid character U+0023 '#'
lint (linux): libbeat/outputs/logstash/async.go#L266
invalid character U+0023 '#'
lint (linux): libbeat/outputs/logstash/sync.go#L151
syntax error: unexpected <<, expected }
lint (linux): libbeat/outputs/logstash/sync.go#L153
syntax error: unexpected ==, expected }
lint (linux): libbeat/outputs/logstash/sync.go#L156
invalid character U+0023 '#' (typecheck)
lint (linux): libbeat/outputs/logstash/async.go#L233
expected declaration, found '<<' (typecheck)
lint (windows)
The job was canceled because "linux" failed.
lint (windows): libbeat/outputs/logstash/async.go#L1
: # github.com/elastic/beats/v7/libbeat/outputs/logstash [github.com/elastic/beats/v7/libbeat/outputs/logstash.test]
lint (windows): libbeat/outputs/logstash/async.go#L233
syntax error: non-declaration statement outside function body
lint (windows): libbeat/outputs/logstash/async.go#L244
syntax error: unexpected ==, expected }
lint (windows): libbeat/outputs/logstash/async.go#L247
syntax error: unexpected >>, expected }
lint (windows): libbeat/outputs/logstash/async.go#L247
invalid character U+0023 '#'
lint (windows): libbeat/outputs/logstash/async.go#L266
invalid character U+0023 '#'
lint (windows): libbeat/outputs/logstash/sync.go#L151
syntax error: unexpected <<, expected }
lint (windows): libbeat/outputs/logstash/sync.go#L153
syntax error: unexpected ==, expected }
lint (windows): libbeat/outputs/logstash/sync.go#L156
invalid character U+0023 '#' (typecheck)
lint (windows): libbeat/outputs/logstash/async.go#L233
expected declaration, found '<<' (typecheck)
lint (darwin)
The job was canceled because "linux" failed.
lint (darwin): libbeat/outputs/logstash/async.go#L1
: # github.com/elastic/beats/v7/libbeat/outputs/logstash [github.com/elastic/beats/v7/libbeat/outputs/logstash.test]
lint (darwin): libbeat/outputs/logstash/async.go#L233
syntax error: non-declaration statement outside function body
lint (darwin): libbeat/outputs/logstash/async.go#L244
syntax error: unexpected ==, expected }
lint (darwin): libbeat/outputs/logstash/async.go#L247
syntax error: unexpected >>, expected }
lint (darwin): libbeat/outputs/logstash/async.go#L247
invalid character U+0023 '#'
lint (darwin): libbeat/outputs/logstash/async.go#L266
invalid character U+0023 '#'
lint (darwin): libbeat/outputs/logstash/sync.go#L151
syntax error: unexpected <<, expected }
lint (darwin): libbeat/outputs/logstash/sync.go#L153
syntax error: unexpected ==, expected }
lint (darwin): libbeat/outputs/logstash/sync.go#L156
invalid character U+0023 '#' (typecheck)
lint (darwin): libbeat/outputs/logstash/async.go#L233
expected declaration, found '<<' (typecheck)
lint (linux)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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']
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']