Skip to content

feat: add ReschedulePolicy for pp/cpp #757

feat: add ReschedulePolicy for pp/cpp

feat: add ReschedulePolicy for pp/cpp #757

Triggered via pull request August 1, 2023 05:44
Status Failure
Total duration 4m 25s
Artifacts

ci.yml

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

Annotations

19 errors and 2 warnings
typos
Process completed with exit code 2.
lint: pkg/util/pod/pod.go#L35
the variable name `UnknownTypeToGetPodTemplateErr` should conform to the `ErrXxx` format (errname)
lint: pkg/controllers/propagationpolicy/controller.go#L27
import "github.com/kubewharf/kubeadmiral/pkg/apis/core/v1alpha1" imported as "corev1alpha1" but must be "fedcorev1a1" according to config (importas)
lint: pkg/util/pod/pod.go#L35
ST1012: error var UnknownTypeToGetPodTemplateErr should have name of the form ErrFoo (stylecheck)
lint
issues found
test (1.19): pkg/controllers/scheduler/scheduler_test.go#L32
no required module provides package github.com/kubewharf/kubeadmiral/pkg/apis/types/v1alpha1; to add it:
test (1.19): pkg/controllers/automigration/util_test.go#L40
undefined: countUnschedulablePods
test (1.19): pkg/controllers/statusaggregator/plugins/job_test.go#L313
undefined: IsJobFinishedWithFailed
test (1.19)
Process completed with exit code 2.
test (1.20): pkg/controllers/scheduler/scheduler_test.go#L32
no required module provides package github.com/kubewharf/kubeadmiral/pkg/apis/types/v1alpha1; to add it:
test (1.20): pkg/controllers/automigration/util_test.go#L40
undefined: countUnschedulablePods
test (1.20): pkg/controllers/statusaggregator/plugins/job_test.go#L313
undefined: IsJobFinishedWithFailed
test (1.20)
Process completed with exit code 2.
typos: docs/quickstart.md#L6
"propgating" should be "propagating".
typos: pkg/controllers/scheduler/schedulingtriggers.go#L118
"reciver" should be "receiver".