Skip to content

support l3cache package align #7286

support l3cache package align

support l3cache package align #7286

Triggered via pull request October 28, 2025 07:26
Status Failure
Total duration 8m 36s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors
Build
Process completed with exit code 2.
Build: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer.go#L72
cannot use o (variable of type *resourcePackageHintOptimizer) as type "github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer".HintOptimizer in return statement:
Vet
Process completed with exit code 1.
Vet
cannot use o (variable of type *resourcePackageHintOptimizer) as "github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer".HintOptimizer value in return statement: *resourcePackageHintOptimizer does not implement "github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer".HintOptimizer (wrong type for method Run)
Vet: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer.go#L72
cannot use o (variable of type *resourcePackageHintOptimizer) as type "github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer".HintOptimizer in return statement:
Parallel
Process completed with exit code 1.
Parallel: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer_test.go#L326
cannot use &(resourcePackageManagerStub literal) (value of type *resourcePackageManagerStub) as "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager value in struct literal: *resourcePackageManagerStub does not implement "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager (missing method ConvertNPDResourcePackages)
Parallel: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer_test.go#L117
cannot use &(resourcePackageManagerStub literal) (value of type *resourcePackageManagerStub) as "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager value in struct literal: *resourcePackageManagerStub does not implement "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager (missing method ConvertNPDResourcePackages)
Parallel: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer_test.go#L106
cannot use &(resourcePackageManagerStub literal) (value of type *resourcePackageManagerStub) as "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager value in struct literal: *resourcePackageManagerStub does not implement "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager (missing method ConvertNPDResourcePackages)
Parallel: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer_test.go#L87
cannot use &(resourcePackageManagerStub literal) (value of type *resourcePackageManagerStub) as "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager value in struct literal: *resourcePackageManagerStub does not implement "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager (missing method ConvertNPDResourcePackages)
Parallel: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer.go#L72
cannot use o (variable of type *resourcePackageHintOptimizer) as "github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer".HintOptimizer value in return statement: *resourcePackageHintOptimizer does not implement "github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer".HintOptimizer (wrong type for method Run)
Parallel: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer.go#L72
cannot use o (variable of type *resourcePackageHintOptimizer) as "github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer".HintOptimizer value in return statement: *resourcePackageHintOptimizer does not implement "github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer".HintOptimizer (wrong type for method Run)
Lint
issues found
Lint: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer_test.go#L117
cannot use &resourcePackageManagerStub{} (value of type *resourcePackageManagerStub) as "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager value in struct literal: *resourcePackageManagerStub does not implement "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager (missing method ConvertNPDResourcePackages) (typecheck)
Lint: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer_test.go#L106
cannot use &resourcePackageManagerStub{} (value of type *resourcePackageManagerStub) as "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager value in struct literal: *resourcePackageManagerStub does not implement "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager (missing method ConvertNPDResourcePackages) (typecheck)
Lint: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer_test.go#L87
cannot use &resourcePackageManagerStub{} (value of type *resourcePackageManagerStub) as "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager value in struct literal: *resourcePackageManagerStub does not implement "github.com/kubewharf/katalyst-core/pkg/metaserver/resourcepackage".ResourcePackageManager (missing method ConvertNPDResourcePackages) (typecheck)
Lint: pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer/policy/resourcepackage/optimizer.go#L72
cannot use o (variable of type *resourcePackageHintOptimizer) as "github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer".HintOptimizer value in return statement: *resourcePackageHintOptimizer does not implement "github.com/kubewharf/katalyst-core/pkg/agent/qrm-plugins/cpu/dynamicpolicy/hintoptimizer".HintOptimizer (wrong type for method Run)
Unit Test
Process completed with exit code 1.