Skip to content

tests: update tests #1667

tests: update tests

tests: update tests #1667

Triggered via pull request December 5, 2024 05:53
@l1b0kl1b0k
synchronize #735
l1b0k:e2e
Status Failure
Total duration 2m 32s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 6 warnings
lint: pkg/eni/crdv2.go#L65
unknown field MetricsBindAddress in struct literal of type manager.Options
lint: pkg/eni/crdv2.go#L72
unknown field Namespaces in struct literal of type "sigs.k8s.io/controller-runtime/pkg/cache".Options
lint: pkg/eni/crdv2.go#L117
unknown field UnsafeDisableDeepCopy in struct literal of type "sigs.k8s.io/controller-runtime/pkg/cache".Options (typecheck)
lint: daemon/builder.go#L19
could not import github.com/AliyunContainerService/terway/pkg/eni (-: # github.com/AliyunContainerService/terway/pkg/eni
lint: pkg/eni/crdv2.go#L65
unknown field MetricsBindAddress in struct literal of type manager.Options
lint: pkg/eni/crdv2.go#L72
unknown field Namespaces in struct literal of type "sigs.k8s.io/controller-runtime/pkg/cache".Options
lint: pkg/eni/crdv2.go#L117
unknown field UnsafeDisableDeepCopy in struct literal of type "sigs.k8s.io/controller-runtime/pkg/cache".Options) (typecheck)
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
go-test: pkg/eni/crdv2.go#L65
unknown field MetricsBindAddress in struct literal of type manager.Options
go-test: pkg/eni/crdv2.go#L72
unknown field Namespaces in struct literal of type "sigs.k8s.io/controller-runtime/pkg/cache".Options
go-test: pkg/eni/crdv2.go#L117
unknown field UnsafeDisableDeepCopy in struct literal of type "sigs.k8s.io/controller-runtime/pkg/cache".Options
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-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