Skip to content

Drain controller

Drain controller #1485

Triggered via pull request August 16, 2023 12:35
Status Failure
Total duration 4m 43s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 4 warnings
test: controllers/drain_controller.go#L75
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
test: controllers/drain_controller.go#L94
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
test
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
test
Process completed with exit code 2.
build: controllers/drain_controller.go#L75
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
build: controllers/drain_controller.go#L94
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
build
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
build
Process completed with exit code 2.
test-coverage: controllers/drain_controller.go#L75
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
test-coverage: controllers/drain_controller.go#L94
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
test-coverage
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
test-coverage
Process completed with exit code 2.
Golangci-lint: main.go#L54
could not import github.com/k8snetworkplumbingwg/sriov-network-operator/controllers (-: # github.com/k8snetworkplumbingwg/sriov-network-operator/controllers
Golangci-lint: controllers/drain_controller.go#L75
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
Golangci-lint: controllers/drain_controller.go#L94
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)) (typecheck)
Golangci-lint: controllers/drain_controller.go#L1
: # github.com/k8snetworkplumbingwg/sriov-network-operator/controllers [github.com/k8snetworkplumbingwg/sriov-network-operator/controllers.test]
Golangci-lint: controllers/drain_controller.go#L75
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
Golangci-lint: controllers/drain_controller.go#L94
config.Spec.MaxParallelNodeConfiguration undefined (type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec has no field or method MaxParallelNodeConfiguration)
Golangci-lint: controllers/drain_controller_test.go#L57
unknown field 'MaxParallelNodeConfiguration' in struct literal of type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec
Golangci-lint: controllers/drain_controller_test.go#L83
unknown field 'MaxParallelNodeConfiguration' in struct literal of type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec
Golangci-lint: controllers/drain_controller_test.go#L105
unknown field 'MaxParallelNodeConfiguration' in struct literal of type "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1".SriovOperatorConfigSpec (typecheck)
Golangci-lint: pkg/utils/cluster.go#L9
File is not `goimports`-ed with -local github.com/k8snetworkplumbingwg/sriov-network-operator (goimports)
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/