Skip to content

[DoNotMerge] Test beat agents #19453

[DoNotMerge] Test beat agents

[DoNotMerge] Test beat agents #19453

Triggered via pull request May 17, 2024 06:35
Status Failure
Total duration 7m 39s
Artifacts

golangci-lint.yml

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

Annotations

8 errors and 8 warnings
lint (windows): metricbeat/module/logstash/logstash_integration_test.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): metricbeat/module/logstash/logstash_integration_test.go#L92
func `getXPackConfig` is unused (unused)
lint (windows): metricbeat/module/logstash/logstash_integration_test.go#L100
func `getESClusterUUID` is unused (unused)
lint (windows): metricbeat/module/logstash/logstash_integration_test.go#L101
net/http.Get must not be called (noctx)
lint (windows): metricbeat/module/logstash/logstash_integration_test.go#L111
Error return value of `json.Unmarshal` is not checked (errcheck)
lint (windows)
issues found
lint (linux)
The job was canceled because "windows" failed.
lint (linux)
The operation was canceled.
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)
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 (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']