fix(test): configuration changes and fixes needed to scale-test #4486
Annotations
40 errors and 4 warnings
Lint (windows, amd64):
test/e2e/framework/kubernetes/check-pod-status.go#L82
rangeValCopy: each iteration copies 1112 bytes (consider pointers or indexing) (gocritic)
|
Lint (windows, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L155
appendAssign: append result not assigned to the same slice (gocritic)
|
Lint (windows, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L169
octalLiteral: use new octal literal style, 0o644 (gocritic)
|
Lint (windows, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L232
rangeValCopy: each iteration copies 320 bytes (consider pointers or indexing) (gocritic)
|
Lint (windows, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L238
rangeValCopy: each iteration copies 304 bytes (consider pointers or indexing) (gocritic)
|
Lint (windows, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L255
var-naming: var nodeCpu should be nodeCPU (revive)
|
Lint (windows, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L208
shadow: declaration of "err" shadows declaration at line 197 (govet)
|
Lint (windows, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L218
shadow: declaration of "err" shadows declaration at line 197 (govet)
|
Lint (windows, amd64):
test/e2e/framework/kubernetes/delete-namespace.go#L48
Magic number: 9, in <assign> detected (mnd)
|
Lint (windows, amd64):
test/e2e/framework/scaletest/add-shared-labels.go#L90
error returned from interface method should be wrapped: sig: func (k8s.io/client-go/kubernetes/typed/core/v1.PodInterface).Patch(ctx context.Context, name string, pt k8s.io/apimachinery/pkg/types.PatchType, data []byte, opts k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions, subresources ...string) (result *k8s.io/api/core/v1.Pod, err error) (wrapcheck)
|
Lint (windows, arm64):
test/e2e/framework/kubernetes/check-pod-status.go#L82
rangeValCopy: each iteration copies 1112 bytes (consider pointers or indexing) (gocritic)
|
Lint (windows, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L155
appendAssign: append result not assigned to the same slice (gocritic)
|
Lint (windows, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L169
octalLiteral: use new octal literal style, 0o644 (gocritic)
|
Lint (windows, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L232
rangeValCopy: each iteration copies 320 bytes (consider pointers or indexing) (gocritic)
|
Lint (windows, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L238
rangeValCopy: each iteration copies 304 bytes (consider pointers or indexing) (gocritic)
|
Lint (windows, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L255
var-naming: var nodeCpu should be nodeCPU (revive)
|
Lint (windows, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L208
shadow: declaration of "err" shadows declaration at line 197 (govet)
|
Lint (windows, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L218
shadow: declaration of "err" shadows declaration at line 197 (govet)
|
Lint (windows, arm64):
test/e2e/framework/kubernetes/delete-namespace.go#L48
Magic number: 9, in <assign> detected (mnd)
|
Lint (windows, arm64):
test/e2e/framework/scaletest/add-shared-labels.go#L90
error returned from interface method should be wrapped: sig: func (k8s.io/client-go/kubernetes/typed/core/v1.PodInterface).Patch(ctx context.Context, name string, pt k8s.io/apimachinery/pkg/types.PatchType, data []byte, opts k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions, subresources ...string) (result *k8s.io/api/core/v1.Pod, err error) (wrapcheck)
|
Lint (linux, arm64):
test/e2e/framework/kubernetes/check-pod-status.go#L82
rangeValCopy: each iteration copies 1112 bytes (consider pointers or indexing) (gocritic)
|
Lint (linux, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L155
appendAssign: append result not assigned to the same slice (gocritic)
|
Lint (linux, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L169
octalLiteral: use new octal literal style, 0o644 (gocritic)
|
Lint (linux, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L232
rangeValCopy: each iteration copies 320 bytes (consider pointers or indexing) (gocritic)
|
Lint (linux, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L238
rangeValCopy: each iteration copies 304 bytes (consider pointers or indexing) (gocritic)
|
Lint (linux, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L255
var-naming: var nodeCpu should be nodeCPU (revive)
|
Lint (linux, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L208
shadow: declaration of "err" shadows declaration at line 197 (govet)
|
Lint (linux, arm64):
test/e2e/framework/scaletest/get-publish-metrics.go#L218
shadow: declaration of "err" shadows declaration at line 197 (govet)
|
Lint (linux, arm64):
test/e2e/framework/kubernetes/delete-namespace.go#L48
Magic number: 9, in <assign> detected (mnd)
|
Lint (linux, arm64):
test/e2e/framework/scaletest/add-shared-labels.go#L90
error returned from interface method should be wrapped: sig: func (k8s.io/client-go/kubernetes/typed/core/v1.PodInterface).Patch(ctx context.Context, name string, pt k8s.io/apimachinery/pkg/types.PatchType, data []byte, opts k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions, subresources ...string) (result *k8s.io/api/core/v1.Pod, err error) (wrapcheck)
|
Lint (linux, amd64):
test/e2e/framework/kubernetes/check-pod-status.go#L82
rangeValCopy: each iteration copies 1112 bytes (consider pointers or indexing) (gocritic)
|
Lint (linux, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L155
appendAssign: append result not assigned to the same slice (gocritic)
|
Lint (linux, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L169
octalLiteral: use new octal literal style, 0o644 (gocritic)
|
Lint (linux, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L232
rangeValCopy: each iteration copies 320 bytes (consider pointers or indexing) (gocritic)
|
Lint (linux, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L238
rangeValCopy: each iteration copies 304 bytes (consider pointers or indexing) (gocritic)
|
Lint (linux, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L255
var-naming: var nodeCpu should be nodeCPU (revive)
|
Lint (linux, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L208
shadow: declaration of "err" shadows declaration at line 197 (govet)
|
Lint (linux, amd64):
test/e2e/framework/scaletest/get-publish-metrics.go#L218
shadow: declaration of "err" shadows declaration at line 197 (govet)
|
Lint (linux, amd64):
test/e2e/framework/kubernetes/delete-namespace.go#L48
Magic number: 9, in <assign> detected (mnd)
|
Lint (linux, amd64):
test/e2e/framework/scaletest/add-shared-labels.go#L90
error returned from interface method should be wrapped: sig: func (k8s.io/client-go/kubernetes/typed/core/v1.PodInterface).Patch(ctx context.Context, name string, pt k8s.io/apimachinery/pkg/types.PatchType, data []byte, opts k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions, subresources ...string) (result *k8s.io/api/core/v1.Pod, err error) (wrapcheck)
|
Lint (windows, amd64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint (windows, arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint (linux, arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint (linux, amd64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|