Skip to content

Automated cherry pick of #6321: Remove unexpected AltName after rename interface (#6321) #32953

Automated cherry pick of #6321: Remove unexpected AltName after rename interface (#6321)

Automated cherry pick of #6321: Remove unexpected AltName after rename interface (#6321) #32953

Triggered via pull request June 5, 2024 03:27
Status Failure
Total duration 12m 28s
Artifacts

go.yml

on: pull_request
Check whether tests need to be run based on diff
20s
Check whether tests need to be run based on diff
Verify docs and spelling
29s
Verify docs and spelling
Unit test (ubuntu-latest)
4m 24s
Unit test (ubuntu-latest)
Unit test (windows-2022)
11m 44s
Unit test (windows-2022)
Integration test
8m 33s
Integration test
Golangci-lint (ubuntu-latest)
3m 12s
Golangci-lint (ubuntu-latest)
Golangci-lint (macos-latest)
1m 56s
Golangci-lint (macos-latest)
Build Antrea and antctl binaries
1m 45s
Build Antrea and antctl binaries
Build Antrea Windows binaries
1m 55s
Build Antrea Windows binaries
Check tidy, code generation and manifest
1m 55s
Check tidy, code generation and manifest
Go benchmark test
3m 47s
Go benchmark test
Fit to window
Zoom out
Zoom in

Annotations

39 errors and 1 warning
Build Antrea and antctl binaries: pkg/agent/util/net_linux.go#L41
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Build Antrea and antctl binaries: pkg/agent/util/net_linux.go#L398
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)
Build Antrea and antctl binaries
Process completed with exit code 2.
Check tidy, code generation and manifest
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Check tidy, code generation and manifest
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)
Check tidy, code generation and manifest
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Check tidy, code generation and manifest
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)
Check tidy, code generation and manifest
no required module provides package antrea.io/antrea/pkg/agent/cniserver: go.mod file not found in current directory or any parent directory; see 'go help modules'
Check tidy, code generation and manifest
no required module provides package go.uber.org/mock/mockgen/model: go.mod file not found in current directory or any parent directory; see 'go help modules'
Check tidy, code generation and manifest
Process completed with exit code 2.
Golangci-lint (macos-latest): pkg/agent/apiserver/handlers/serviceexternalip/handler.go#L65
r.Namespace undefined (type Response has no field or method Namespace) (typecheck)
Golangci-lint (macos-latest): pkg/agent/ipassigner/ip_assigner_linux.go#L31
could not import antrea.io/antrea/pkg/agent/util (-: # antrea.io/antrea/pkg/agent/util
Golangci-lint (macos-latest): pkg/agent/util/net_linux.go#L41
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Golangci-lint (macos-latest): pkg/agent/util/net_linux.go#L398
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)) (typecheck)
Golangci-lint (macos-latest): pkg/agent/secondarynetwork/cnipodcache/cache.go#L22
could not import antrea.io/antrea/pkg/agent/util (-: # antrea.io/antrea/pkg/agent/util
Golangci-lint (macos-latest): pkg/agent/util/net_linux.go#L41
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Golangci-lint (macos-latest): pkg/agent/util/net_linux.go#L398
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)) (typecheck)
Golangci-lint (macos-latest): cmd/antrea-agent/util.go#L23
could not import antrea.io/antrea/pkg/agent/util (-: # antrea.io/antrea/pkg/agent/util
Golangci-lint (macos-latest): pkg/agent/util/net_linux.go#L41
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Golangci-lint (macos-latest): pkg/agent/util/net_linux.go#L398
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)) (typecheck)
Golangci-lint (ubuntu-latest): pkg/agent/apiserver/handlers/serviceexternalip/handler.go#L65
r.Namespace undefined (type Response has no field or method Namespace) (typecheck)
Golangci-lint (ubuntu-latest): pkg/agent/ipassigner/ip_assigner_linux.go#L31
could not import antrea.io/antrea/pkg/agent/util (-: # antrea.io/antrea/pkg/agent/util
Golangci-lint (ubuntu-latest): pkg/agent/util/net_linux.go#L41
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Golangci-lint (ubuntu-latest): pkg/agent/util/net_linux.go#L398
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)) (typecheck)
Golangci-lint (ubuntu-latest): pkg/agent/secondarynetwork/cnipodcache/cache.go#L22
could not import antrea.io/antrea/pkg/agent/util (-: # antrea.io/antrea/pkg/agent/util
Golangci-lint (ubuntu-latest): pkg/agent/util/net_linux.go#L41
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Golangci-lint (ubuntu-latest): pkg/agent/util/net_linux.go#L398
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)) (typecheck)
Golangci-lint (ubuntu-latest): cmd/antrea-agent/util.go#L23
could not import antrea.io/antrea/pkg/agent/util (-: # antrea.io/antrea/pkg/agent/util
Golangci-lint (ubuntu-latest): pkg/agent/util/net_linux.go#L41
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Golangci-lint (ubuntu-latest): pkg/agent/util/net_linux.go#L398
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)) (typecheck)
Go benchmark test: pkg/agent/util/net_linux.go#L41
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Go benchmark test: pkg/agent/util/net_linux.go#L398
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)
Go benchmark test
Process completed with exit code 1.
Unit test (ubuntu-latest): pkg/agent/util/net_linux.go#L41
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Unit test (ubuntu-latest): pkg/agent/util/net_linux.go#L398
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)
Unit test (ubuntu-latest)
Process completed with exit code 2.
Integration test: pkg/agent/util/net_linux.go#L41
cannot use &netlink.Handle{} (value of type *"github.com/vishvananda/netlink".Handle) as "antrea.io/antrea/pkg/agent/util/netlink".Interface value in variable declaration: *"github.com/vishvananda/netlink".Handle does not implement "antrea.io/antrea/pkg/agent/util/netlink".Interface (missing method LinkAddAltName)
Integration test: pkg/agent/util/net_linux.go#L398
link.Attrs().AltNames undefined (type *"github.com/vishvananda/netlink".LinkAttrs has no field or method AltNames)
Integration test
Process completed with exit code 2.
Unit test (windows-2022)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.