Skip to content

[8.9](backport #3111) Fix data race in TestActionUnenrollHandler test #4573

[8.9](backport #3111) Fix data race in TestActionUnenrollHandler test

[8.9](backport #3111) Fix data race in TestActionUnenrollHandler test #4573

Triggered via pull request July 20, 2023 19:29
Status Failure
Total duration 5m 25s
Artifacts

golangci-lint.yml

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

Annotations

14 errors and 7 warnings
lint (ubuntu-latest): internal/pkg/agent/application/actions/handlers/handler_action_unenroll_test.go#L27
unknown field InputType in struct literal of type component.Component (typecheck)
lint (ubuntu-latest): internal/pkg/agent/application/actions/handlers/handler_action_unenroll_test.go#L37
unknown field ProxiedActions in struct literal of type component.InputSpec (typecheck)
lint (ubuntu-latest): internal/pkg/agent/application/actions/handlers/handler_action_unenroll_test.go#L95
action.Signed undefined (type *fleetapi.ActionUnenroll has no field or method Signed) (typecheck)
lint (windows-latest)
The job was canceled because "ubuntu-latest" failed.
lint (windows-latest)
The operation was canceled.
lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
lint (macos-latest)
The operation was canceled.
lint (ubuntu-latest)
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 (ubuntu-latest)
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-latest)
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-latest)
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 (macos-latest)
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 (macos-latest)
Failed to save: "/usr/local/bin/gtar" failed with error: The process '/usr/local/bin/gtar' failed with exit code 1
lint (macos-latest)
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']