Skip to content

cherry-picks from upstream to fix conformance test #2

cherry-picks from upstream to fix conformance test

cherry-picks from upstream to fix conformance test #2

Triggered via pull request September 4, 2024 12:51
Status Failure
Total duration 5m 24s
Artifacts

lint-go.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 5 warnings
Precheck
expected statement, found '<<'
Precheck
expected statement, found '=='
Precheck
expected declaration, found 'for'
Precheck
expected declaration, found 'if'
Precheck
expected declaration, found 'for'
Precheck
Process completed with exit code 2.
Lint Source Code: test/controlplane/node/ciliumnodes/ciliumnodes.go#L14
"k8s.io/api/core/v1" imported and not used (typecheck)
Lint Source Code: test/controlplane/node/ciliumnodes/ciliumnodes.go#L18
"github.com/cilium/cilium/pkg/k8s/apis/cilium.io/v2" imported and not used (typecheck)
Lint Source Code: daemon/cmd/daemon.go#L66
could not import github.com/cilium/cilium/pkg/k8s/watchers (-: # github.com/cilium/cilium/pkg/k8s/watchers
Lint Source Code: pkg/k8s/watchers/service.go#L89
syntax error: unexpected <<, expected }
Lint Source Code: pkg/k8s/watchers/service.go#L506
syntax error: unexpected >>, expected }) (typecheck)
Lint Source Code: daemon/cmd/daemon_main.go#L613
undefined: vp (typecheck)
Lint Source Code: daemon/cmd/daemon_main.go#L1795
cannot use &EndpointMapManager{…} (value of type *EndpointMapManager) as "github.com/cilium/cilium/pkg/datapath/maps".endpointManager value in argument to maps.NewMapSweeper: *EndpointMapManager does not implement "github.com/cilium/cilium/pkg/datapath/maps".endpointManager (missing method EndpointExists) (typecheck)
Lint Source Code: daemon/cmd/ciliumendpoints.go#L16
"github.com/cilium/cilium/pkg/k8s/apis/cilium.io/v2alpha1" imported as cilium_v2a1 and not used (typecheck)
Lint Source Code: daemon/cmd/ciliumendpoints.go#L18
"github.com/cilium/cilium/pkg/k8s/types" imported and not used (typecheck)
Lint Source Code: pkg/endpointmanager/cell.go#L18
could not import github.com/cilium/cilium/pkg/k8s/watchers (-: # github.com/cilium/cilium/pkg/k8s/watchers
Precheck
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
Lint Source Code
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum