Skip to content

[7.17](backport #39392) [Bug] fix high IO after sudden filebeat stop (#35893) #20428

[7.17](backport #39392) [Bug] fix high IO after sudden filebeat stop (#35893)

[7.17](backport #39392) [Bug] fix high IO after sudden filebeat stop (#35893) #20428

Triggered via pull request June 24, 2024 06:43
Status Failure
Total duration 6m 13s
Artifacts

golangci-lint.yml

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

Annotations

17 errors and 7 warnings
lint (darwin): dev-tools/mage/gotest.go#L24
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (darwin): dev-tools/mage/gotest.go#L35
import of package `github.com/pkg/errors` is blocked because the module is in the blocked modules list. `errors` and `fmt` are recommended modules. This package is deprecated, use `fmt.Errorf` with `%!w(MISSING)` instead. (gomodguard)
lint (darwin): dev-tools/mage/gotest.go#L199
Error return value is not checked (errcheck)
lint (darwin): dev-tools/mage/gotest.go#L294
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
lint (darwin)
issues found
lint (windows)
The job was canceled because "darwin" failed.
lint (windows): dev-tools/mage/gotest.go#L24
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (windows): dev-tools/mage/gotest.go#L35
import of package `github.com/pkg/errors` is blocked because the module is in the blocked modules list. `errors` and `fmt` are recommended modules. This package is deprecated, use `fmt.Errorf` with `%!w(MISSING)` instead. (gomodguard)
lint (windows): dev-tools/mage/gotest.go#L199
Error return value is not checked (errcheck)
lint (windows): dev-tools/mage/gotest.go#L294
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
lint (windows)
issues found
lint (linux)
The job was canceled because "darwin" failed.
lint (linux): dev-tools/mage/gotest.go#L24
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (linux): dev-tools/mage/gotest.go#L35
import of package `github.com/pkg/errors` is blocked because the module is in the blocked modules list. `errors` and `fmt` are recommended modules. This package is deprecated, use `fmt.Errorf` with `%!w(MISSING)` instead. (gomodguard)
lint (linux): dev-tools/mage/gotest.go#L199
Error return value is not checked (errcheck)
lint (linux): dev-tools/mage/gotest.go#L294
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
lint (linux)
issues found
lint (darwin)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 (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 (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']