Skip to content

Add the full set of ECS metadata sent to Fleet to Diagnostics #15644

Add the full set of ECS metadata sent to Fleet to Diagnostics

Add the full set of ECS metadata sent to Fleet to Diagnostics #15644

Triggered via pull request February 25, 2025 22:12
Status Failure
Total duration 9m 12s
Artifacts

golangci-lint.yml

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

Annotations

9 errors and 9 warnings
lint (ubuntu-latest): internal/pkg/agent/application/actions/handlers/handler_action_settings_test.go#L98
cannot use mockAgentInfo (variable of type *"github.com/elastic/elastic-agent/testing/mocks/internal_/pkg/agent/application/info".Agent) as "github.com/elastic/elastic-agent/internal/pkg/agent/application/info".Agent value in struct literal: *"github.com/elastic/elastic-agent/testing/mocks/internal_/pkg/agent/application/info".Agent does not implement "github.com/elastic/elastic-agent/internal/pkg/agent/application/info".Agent (missing method ECSMetadata)
lint (ubuntu-latest): internal/pkg/agent/application/actions/handlers/handler_action_settings_test.go#L208
cannot use mockAgentInfo (variable of type *"github.com/elastic/elastic-agent/testing/mocks/internal_/pkg/agent/application/info".Agent) as "github.com/elastic/elastic-agent/internal/pkg/agent/application/info".Agent value in struct literal: *"github.com/elastic/elastic-agent/testing/mocks/internal_/pkg/agent/application/info".Agent does not implement "github.com/elastic/elastic-agent/internal/pkg/agent/application/info".Agent (missing method ECSMetadata) (typecheck)
lint (ubuntu-latest): pkg/component/runtime/runtime_comm_test.go#L65
cannot use agentInfoMock{…} (value of type agentInfoMock) as info.Agent value in struct literal: agentInfoMock does not implement info.Agent (missing method ECSMetadata)
lint (ubuntu-latest): pkg/component/runtime/runtime_comm_test.go#L112
cannot use agentInfo (variable of type agentInfoMock) as info.Agent value in struct literal: agentInfoMock does not implement info.Agent (missing method ECSMetadata) (typecheck)
lint (ubuntu-latest)
issues found
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)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
lint (ubuntu-latest)
Cache not found for keys: golangci-lint.cache-Linux-2877-424ee1d9574b1908e50d14f07c994a57d0011709, golangci-lint.cache-Linux-2877-
lint (ubuntu-latest)
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.6-8a37ec1a8e653b8688051c6c0765cde7a2252131d580e3fdfc02f0b78e21ce12
lint (windows-latest)
Cache not found for keys: setup-go-Windows-x64-go-1.23.6-ce8d6bbb790b301d509e68b3f277cad5b46f5baa48e1ec0037734ade4ff8fcaa
lint (windows-latest)
Cache not found for keys: golangci-lint.cache-Windows-2877-f12556fdf48da1b6ed344520aac6997f3e7d02b4, golangci-lint.cache-Windows-2877-
lint (windows-latest)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
lint (macos-latest)
Cache not found for keys: setup-go-macOS-arm64-go-1.23.6-8a37ec1a8e653b8688051c6c0765cde7a2252131d580e3fdfc02f0b78e21ce12
lint (macos-latest)
Failed to save: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 1
lint (macos-latest)
Cache not found for keys: golangci-lint.cache-macOS-2877-424ee1d9574b1908e50d14f07c994a57d0011709, golangci-lint.cache-macOS-2877-