Skip to content

feat: re-setup master when master role restarted or recreated and recover dataset #7914

feat: re-setup master when master role restarted or recreated and recover dataset

feat: re-setup master when master role restarted or recreated and recover dataset #7914

Triggered via pull request May 30, 2024 14:02
Status Failure
Total duration 1m 39s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 2 warnings
staticcheck: pkg/ddc/jindocache/utils.go#L113
v1.Pod (value of type func(name string, namespace string) *"k8s.io/client-go/applyconfigurations/core/v1".PodApplyConfiguration) is not a type
staticcheck: pkg/ddc/jindocache/utils.go#L115
missing return
staticcheck: pkg/ddc/jindocache/ufs.go#L124
too many arguments in call to e.getMasterPod
staticcheck: pkg/ddc/jindocache/ufs.go#L130
undefined: metav1
staticcheck: pkg/ddc/jindocache/ufs.go#L147
e.FindUnmountedUFS undefined (type *JindoCacheEngine has no field or method FindUnmountedUFS)
staticcheck: pkg/ddc/jindocache/ufs.go#L154
undefined: ufsToUpdate
staticcheck: pkg/ddc/jindocache/ufs.go#L157
e.updateMountTime undefined (type *JindoCacheEngine has no field or method updateMountTime) (compile)
staticcheck: pkg/ddc/jindocache/utils.go#L113
v1.Pod (value of type func(name string, namespace string) *"k8s.io/client-go/applyconfigurations/core/v1".PodApplyConfiguration) is not a type
staticcheck: pkg/ddc/jindocache/utils.go#L115
missing return
staticcheck: pkg/ddc/jindocache/ufs.go#L124
too many arguments in call to e.getMasterPod
build
v1.Pod (value of type func(name string, namespace string) *"k8s.io/client-go/applyconfigurations/core/v1".PodApplyConfiguration) is not a type
build
missing return
build
too many arguments in call to e.getMasterPod
build
undefined: metav1
build
e.FindUnmountedUFS undefined (type *JindoCacheEngine has no field or method FindUnmountedUFS)
build
undefined: ufsToUpdate
build
e.updateMountTime undefined (type *JindoCacheEngine has no field or method updateMountTime)
build
v1.Pod (value of type func(name string, namespace string) *"k8s.io/client-go/applyconfigurations/core/v1".PodApplyConfiguration) is not a type
build
Process completed with exit code 2.
lint: pkg/ddc/factory.go#L25
could not import github.com/fluid-cloudnative/fluid/pkg/ddc/jindocache (-: # github.com/fluid-cloudnative/fluid/pkg/ddc/jindocache
lint: pkg/ddc/jindocache/utils.go#L113
v1.Pod (value of type func(name string, namespace string) *"github.com/fluid-cloudnative/fluid/vendor/k8s.io/client-go/applyconfigurations/core/v1".PodApplyConfiguration) is not a type
lint: pkg/ddc/jindocache/utils.go#L115
missing return
lint: pkg/ddc/jindocache/ufs.go#L124
too many arguments in call to e.getMasterPod
lint: pkg/ddc/jindocache/ufs.go#L130
undefined: metav1
lint: pkg/ddc/jindocache/ufs.go#L147
e.FindUnmountedUFS undefined (type *JindoCacheEngine has no field or method FindUnmountedUFS)
lint: pkg/ddc/jindocache/ufs.go#L154
undefined: ufsToUpdate
lint: pkg/ddc/jindocache/ufs.go#L157
e.updateMountTime undefined (type *JindoCacheEngine has no field or method updateMountTime)) (typecheck)
lint: cmd/jindo/app/jindo.go#L23
could not import github.com/fluid-cloudnative/fluid/pkg/ddc/jindocache (-: # github.com/fluid-cloudnative/fluid/pkg/ddc/jindocache
lint: pkg/ddc/jindocache/utils.go#L113
v1.Pod (value of type func(name string, namespace string) *"github.com/fluid-cloudnative/fluid/vendor/k8s.io/client-go/applyconfigurations/core/v1".PodApplyConfiguration) is not a type
build
Restore cache failed: Dependencies file is not found in /home/runner/work/fluid/fluid. Supported file pattern: go.sum
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/fluid/fluid. Supported file pattern: go.sum