Skip to content

Changing CNS IPAM to allow for dualstack based on Family type #12950

Changing CNS IPAM to allow for dualstack based on Family type

Changing CNS IPAM to allow for dualstack based on Family type #12950

Triggered via pull request October 16, 2024 15:58
Status Failure
Total duration 11m 2s
Artifacts

golangci.yaml

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

Annotations

40 errors and 4 warnings
Lint (1.23.x, ubuntu-latest): cns/dockerclient/dockerclient.go#L14
could not import github.com/Azure/azure-container-networking/cns/wireserver (Config.Importer.Import(github.com/Azure/azure-container-networking/cns/wireserver) returned nil but no error) (typecheck)
Lint (1.23.x, ubuntu-latest): cns/networkcontainers/networkcontainers.go#L16
could not import github.com/Azure/azure-container-networking/cns (Config.Importer.Import(github.com/Azure/azure-container-networking/cns) returned nil but no error) (typecheck)
Lint (1.23.x, ubuntu-latest): cns/cmd/cli/cli.go#L10
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.23.x, ubuntu-latest): cns/endpointmanager/endpointmanager.go#L6
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.23.x, ubuntu-latest): cns/fakes/cnsfake.go#L13
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.23.x, ubuntu-latest): cns/ipampool/metrics/observer.go#L8
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.23.x, ubuntu-latest): cns/multitenantcontroller/mockclients/cnsrestservice_generated.go#L10
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.23.x, ubuntu-latest): test/validate/linux_validate.go#L7
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.23.x, ubuntu-latest): cni/network/cnsclient.go#L6
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.23.x, ubuntu-latest): cni/network/invoker_cns_test.go#L13
"github.com/Azure/azure-container-networking/iptables" imported and not used (typecheck)
Lint (1.22.x, ubuntu-latest): cns/dockerclient/dockerclient.go#L14
could not import github.com/Azure/azure-container-networking/cns/wireserver (Config.Importer.Import(github.com/Azure/azure-container-networking/cns/wireserver) returned nil but no error) (typecheck)
Lint (1.22.x, ubuntu-latest): cns/networkcontainers/networkcontainers.go#L16
could not import github.com/Azure/azure-container-networking/cns (Config.Importer.Import(github.com/Azure/azure-container-networking/cns) returned nil but no error) (typecheck)
Lint (1.22.x, ubuntu-latest): cns/cmd/cli/cli.go#L10
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.22.x, ubuntu-latest): cns/endpointmanager/endpointmanager.go#L6
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.22.x, ubuntu-latest): cns/fakes/cnsfake.go#L13
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.22.x, ubuntu-latest): cns/ipampool/metrics/observer.go#L8
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.22.x, ubuntu-latest): cns/multitenantcontroller/mockclients/cnsrestservice_generated.go#L10
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.22.x, ubuntu-latest): test/validate/linux_validate.go#L7
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.22.x, ubuntu-latest): cni/network/cnsclient.go#L6
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns]) (typecheck)
Lint (1.22.x, ubuntu-latest): cni/network/invoker_cns_test.go#L13
"github.com/Azure/azure-container-networking/iptables" imported and not used (typecheck)
Lint (1.23.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns/wireserver (Config.Importer.Import(github.com/Azure/azure-container-networking/cns/wireserver) returned nil but no error)"
Lint (1.23.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (Config.Importer.Import(github.com/Azure/azure-container-networking/cns) returned nil but no error)"
Lint (1.23.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (Config.Importer.Import(github.com/Azure/azure-container-networking/cns) returned nil but no error)"
Lint (1.23.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.23.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.23.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.23.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.23.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.23.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.23.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.22.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns/wireserver (Config.Importer.Import(github.com/Azure/azure-container-networking/cns/wireserver) returned nil but no error)"
Lint (1.22.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (Config.Importer.Import(github.com/Azure/azure-container-networking/cns) returned nil but no error)"
Lint (1.22.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (Config.Importer.Import(github.com/Azure/azure-container-networking/cns) returned nil but no error)"
Lint (1.22.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.22.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.22.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.22.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.22.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.22.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.22.x, windows-latest)
could not import github.com/Azure/azure-container-networking/cns (-: import cycle not allowed: import stack: [github.com/Azure/azure-container-networking/cni/network github.com/Azure/azure-container-networking/cns github.com/Azure/azure-container-networking/cns/restserver github.com/Azure/azure-container-networking/cns])"
Lint (1.23.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/azure-container-networking/azure-container-networking. Supported file pattern: go.sum
Lint (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/azure-container-networking/azure-container-networking. Supported file pattern: go.sum
Lint (1.23.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\azure-container-networking\azure-container-networking. Supported file pattern: go.sum
Lint (1.22.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\azure-container-networking\azure-container-networking. Supported file pattern: go.sum