Skip to content

tests: update tests #577

tests: update tests

tests: update tests #577

Triggered via push December 5, 2024 06:04
Status Failure
Total duration 2m 37s
Artifacts

check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 6 warnings
lint: pkg/controller/multi-ip/node/pool.go#L109
cannot use workqueue.NewMaxOfRateLimiter(workqueue.NewItemExponentialFailureRateLimiter(minSyncPeriod, maxSyncPeriod), &workqueue.BucketRateLimiter{…}) (value of type workqueue.RateLimiter) as workqueue.TypedRateLimiter[reconcile.Request] value in struct literal: workqueue.RateLimiter does not implement workqueue.TypedRateLimiter[reconcile.Request] (wrong type for method Forget)
lint: pkg/controller/multi-ip/node/pool.go#L125
source.Channel (value of type func[object any](source <-chan event.TypedGenericEvent[object], handler handler.TypedEventHandler[object, reconcile.Request], opts ...source.ChannelOpt[object, reconcile.Request]) source.TypedSource[reconcile.Request]) is not a type
lint: pkg/controller/multi-ip/node/pool.go#L126
too many arguments in call to ctrl.Watch
lint: pkg/controller/multi-ip/pod/pod.go#L18
could not import github.com/AliyunContainerService/terway/pkg/controller/multi-ip/node (-: # github.com/AliyunContainerService/terway/pkg/controller/multi-ip/node
lint: pkg/controller/multi-ip/node/pool.go#L109
cannot use workqueue.NewMaxOfRateLimiter(workqueue.NewItemExponentialFailureRateLimiter(minSyncPeriod, maxSyncPeriod), &workqueue.BucketRateLimiter{…}) (value of type workqueue.RateLimiter) as workqueue.TypedRateLimiter[reconcile.Request] value in struct literal: workqueue.RateLimiter does not implement workqueue.TypedRateLimiter[reconcile.Request] (wrong type for method Forget)
lint: pkg/controller/multi-ip/node/pool.go#L125
source.Channel (value of type func[object any](source <-chan event.TypedGenericEvent[object], handler handler.TypedEventHandler[object, reconcile.Request], opts ...source.ChannelOpt[object, reconcile.Request]) source.TypedSource[reconcile.Request]) is not a type
lint: pkg/controller/multi-ip/node/pool.go#L126
too many arguments in call to ctrl.Watch
lint: pkg/controller/node/node.go#L31
could not import github.com/AliyunContainerService/terway/pkg/controller/multi-ip/node (-: # github.com/AliyunContainerService/terway/pkg/controller/multi-ip/node
lint: pkg/controller/multi-ip/node/pool.go#L109
cannot use workqueue.NewMaxOfRateLimiter(workqueue.NewItemExponentialFailureRateLimiter(minSyncPeriod, maxSyncPeriod), &workqueue.BucketRateLimiter{…}) (value of type workqueue.RateLimiter) as workqueue.TypedRateLimiter[reconcile.Request] value in struct literal: workqueue.RateLimiter does not implement workqueue.TypedRateLimiter[reconcile.Request] (wrong type for method Forget)
lint: pkg/controller/multi-ip/node/pool.go#L125
source.Channel (value of type func[object any](source <-chan event.TypedGenericEvent[object], handler handler.TypedEventHandler[object, reconcile.Request], opts ...source.ChannelOpt[object, reconcile.Request]) source.TypedSource[reconcile.Request]) is not a type
go-test: pkg/controller/multi-ip/node/pool.go#L109
cannot use workqueue.NewMaxOfRateLimiter(workqueue.NewItemExponentialFailureRateLimiter(minSyncPeriod, maxSyncPeriod), &workqueue.BucketRateLimiter{…}) (value of type workqueue.RateLimiter) as workqueue.TypedRateLimiter[reconcile.Request] value in struct literal: workqueue.RateLimiter does not implement workqueue.TypedRateLimiter[reconcile.Request] (wrong type for method Forget)
go-test: pkg/controller/multi-ip/node/pool.go#L125
source.Channel (value of type func[object any](source <-chan event.TypedGenericEvent[object], handler handler.TypedEventHandler[object, reconcile.Request], opts ...source.ChannelOpt[object, reconcile.Request]) source.TypedSource[reconcile.Request]) is not a type
go-test: pkg/controller/multi-ip/node/pool.go#L126
too many arguments in call to ctrl.Watch
go-test: pkg/controller/pod/pod_controller.go#L83
not enough arguments in call to source.Kind
go-test: pkg/controller/pod/pod_controller.go#L84
too many arguments in call to c.Watch
go-test: pkg/controller/pod-eni/eni_controller.go#L84
not enough arguments in call to source.Kind
go-test: pkg/controller/pod-eni/eni_controller.go#L85
too many arguments in call to c.Watch
go-test: pkg/controller/pod-networking/networking.go#L58
not enough arguments in call to source.Kind
go-test: pkg/controller/pod-networking/networking.go#L59
too many arguments in call to c.Watch
go-test
not enough arguments in call to source.Kind
go-mod
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go-mod
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
super-linter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go-test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2