Skip to content

[1.16]: CMPT-2763 #1118

[1.16]: CMPT-2763

[1.16]: CMPT-2763 #1118

Triggered via pull request February 24, 2025 10:53
Status Failure
Total duration 6m 47s
Artifacts

lint-go.yaml

on: pull_request
Check Go Modules
36s
Check Go Modules
Check third party dependencies licenses
32s
Check third party dependencies licenses
Lint Source Code
6m 35s
Lint Source Code
Precheck
4m 14s
Precheck
Generate API
1m 7s
Generate API
Generate k8s API
3m 7s
Generate k8s API
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 6 warnings
Precheck
method dummyBackend.DeleteID already declared at pkg/allocator/allocator_test.go:58:24
Precheck
d.identities undefined (type *dummyBackend has no field or method identities)
Precheck
d.identities undefined (type *dummyBackend has no field or method identities)
Precheck: pkg/allocator/allocator_test.go#L65
method dummyBackend.DeleteID already declared at /home/runner/work/cilium/cilium/src/github.com/cilium/cilium/pkg/allocator/allocator_test.go:58:24
Precheck: pkg/allocator/allocator_test.go#L68
d.identities undefined (type *dummyBackend has no field or method identities)
Precheck: pkg/allocator/allocator_test.go#L212
d.identities undefined (type *dummyBackend has no field or method identities)
Precheck
cannot use api (variable of type *"github.com/cilium/cilium/pkg/azure/api/mock".API) as AzureAPI value in argument to NewInstancesManager: *"github.com/cilium/cilium/pkg/azure/api/mock".API does not implement AzureAPI (missing method GetInstance)
Precheck
cannot use api (variable of type *"github.com/cilium/cilium/pkg/azure/api/mock".API) as AzureAPI value in argument to NewInstancesManager: *"github.com/cilium/cilium/pkg/azure/api/mock".API does not implement AzureAPI (missing method GetInstance)
Precheck
cannot use api (variable of type *"github.com/cilium/cilium/pkg/azure/api/mock".API) as AzureAPI value in argument to NewInstancesManager: *"github.com/cilium/cilium/pkg/azure/api/mock".API does not implement AzureAPI (missing method GetInstance)
Precheck
cannot use api (variable of type *"github.com/cilium/cilium/pkg/azure/api/mock".API) as AzureAPI value in argument to NewInstancesManager: *"github.com/cilium/cilium/pkg/azure/api/mock".API does not implement AzureAPI (missing method GetInstance)
Lint Source Code: pkg/allocator/allocator_test.go#L65
method dummyBackend.DeleteID already declared at pkg/allocator/allocator_test.go:58:24
Lint Source Code: pkg/allocator/allocator_test.go#L68
d.identities undefined (type *dummyBackend has no field or method identities)
Lint Source Code: pkg/allocator/allocator_test.go#L212
d.identities undefined (type *dummyBackend has no field or method identities) (typecheck)
Lint Source Code: pkg/azure/ipam/instances_test.go#L171
cannot use api (variable of type *"github.com/cilium/cilium/pkg/azure/api/mock".API) as AzureAPI value in argument to NewInstancesManager: *"github.com/cilium/cilium/pkg/azure/api/mock".API does not implement AzureAPI (missing method GetInstance)
Lint Source Code: pkg/azure/ipam/ipam_test.go#L148
cannot use api (variable of type *"github.com/cilium/cilium/pkg/azure/api/mock".API) as AzureAPI value in argument to NewInstancesManager: *"github.com/cilium/cilium/pkg/azure/api/mock".API does not implement AzureAPI (missing method GetInstance)
Lint Source Code: pkg/azure/ipam/ipam_test.go#L210
cannot use api (variable of type *"github.com/cilium/cilium/pkg/azure/api/mock".API) as AzureAPI value in argument to NewInstancesManager: *"github.com/cilium/cilium/pkg/azure/api/mock".API does not implement AzureAPI (missing method GetInstance)
Lint Source Code: pkg/azure/ipam/ipam_test.go#L294
cannot use api (variable of type *"github.com/cilium/cilium/pkg/azure/api/mock".API) as AzureAPI value in argument to NewInstancesManager: *"github.com/cilium/cilium/pkg/azure/api/mock".API does not implement AzureAPI (missing method GetInstance)
Lint Source Code: pkg/azure/ipam/ipam_test.go#L369
cannot use api (variable of type *"github.com/cilium/cilium/pkg/azure/api/mock".API) as AzureAPI value in argument to NewInstancesManager: *"github.com/cilium/cilium/pkg/azure/api/mock".API does not implement AzureAPI (missing method GetInstance) (typecheck)
Lint Source Code
issues found
Check third party dependencies licenses
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum
Check Go Modules
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum
Generate API
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum
Generate k8s API
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum
Precheck
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum
Lint Source Code
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum