Skip to content

[8.17](backport #41970) [filebeat][gcs] - Removed bucket_timeout config option and replaced bucket context with parent program context #25824

[8.17](backport #41970) [filebeat][gcs] - Removed bucket_timeout config option and replaced bucket context with parent program context

[8.17](backport #41970) [filebeat][gcs] - Removed bucket_timeout config option and replaced bucket context with parent program context #25824

Triggered via pull request December 11, 2024 20:05
Status Failure
Total duration 8m 39s
Artifacts

golangci-lint.yml

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

Annotations

17 errors and 8 warnings
lint (windows): x-pack/filebeat/input/gcs/input.go#L126
Error return value is not checked (errcheck)
lint (windows): x-pack/filebeat/input/gcs/input_stateless.go#L69
Error return value is not checked (errcheck)
lint (windows): x-pack/filebeat/input/gcs/job.go#L113
directive `//nolint:gosec // object size cannot be negative hence this conversion is safe` is unused for linter "gosec" (nolintlint)
lint (windows): x-pack/filebeat/input/gcs/job.go#L198
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (windows): x-pack/filebeat/input/gcs/job.go#L207
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (windows): x-pack/filebeat/input/gcs/job.go#L223
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (windows): x-pack/filebeat/input/gcs/job.go#L386
assigned to isStreamGzipped, but reassigned without using the value (wastedassign)
lint (windows)
issues found
lint (linux)
The job was canceled because "windows" failed.
lint (linux): x-pack/filebeat/input/gcs/input.go#L126
Error return value is not checked (errcheck)
lint (linux): x-pack/filebeat/input/gcs/input_stateless.go#L69
Error return value is not checked (errcheck)
lint (linux): x-pack/filebeat/input/gcs/job.go#L113
directive `//nolint:gosec // object size cannot be negative hence this conversion is safe` is unused for linter "gosec" (nolintlint)
lint (linux): x-pack/filebeat/input/gcs/job.go#L198
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (linux): x-pack/filebeat/input/gcs/job.go#L207
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (linux): x-pack/filebeat/input/gcs/job.go#L223
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (linux): x-pack/filebeat/input/gcs/job.go#L386
assigned to isStreamGzipped, but reassigned without using the value (wastedassign)
lint (linux)
issues found
lint (darwin)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', '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', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (windows)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']