[8.16](backport #41891) Invoke m.Run on TestMain and fix test flakiness #25574
Annotations
10 errors and 12 warnings
lint (windows):
filebeat/input/filestream/input_integration_test.go#L326
Error return value of `writer.Write` is not checked (errcheck)
|
lint (windows):
filebeat/input/filestream/input_integration_test.go#L1037
Error return value of `f.Write` is not checked (errcheck)
|
lint (windows):
filebeat/processor/add_kubernetes_metadata/matchers_test.go#L187
Error return value of `testConfig.SetString` is not checked (errcheck)
|
lint (windows):
filebeat/processor/add_kubernetes_metadata/matchers_test.go#L191
Error return value of `testConfig.SetString` is not checked (errcheck)
|
lint (windows):
metricbeat/autodiscover/appender/kubernetes/token/token_test.go#L21
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/autodiscover/appender/kubernetes/token/token_test.go#L102
Error return value of `(*github.com/elastic/elastic-agent-libs/config.C).Unpack` is not checked (errcheck)
|
lint (windows):
metricbeat/autodiscover/appender/kubernetes/token/token_test.go#L110
Error return value of `ioutil.WriteFile` 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)
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)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
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 (windows)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
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)
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 1
|
lint (linux)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
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']
|