Skip to content

Remove the duplicate restClientGetter from the stack applier #863

Remove the duplicate restClientGetter from the stack applier

Remove the duplicate restClientGetter from the stack applier #863

Triggered via push November 29, 2023 14:38
Status Failure
Total duration 20m 0s
Artifacts 4

go.yml

on: push
Matrix: build-k0s
Unit tests :: linux-amd64
1m 27s
Unit tests :: linux-amd64
Unit tests :: windows-amd64
7m 58s
Unit tests :: windows-amd64
Matrix: Smoke test on armv7/arm64
Build :: Airgap image bundle  /  linux-amd64
5s
Build :: Airgap image bundle / linux-amd64
Matrix: autopilot-tests
Matrix: smoketests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 warning
Unit tests :: linux-amd64
Process completed with exit code 2.
Unit tests :: windows-amd64: pkg/applier/applier_test.go#L118
cannot use fakes (variable of type "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory) as "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface value in argument to NewApplier: "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory does not implement "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface (missing method ToRESTClientGetter)
Unit tests :: windows-amd64: pkg/applier/applier_test.go#L137
cannot use fakes (variable of type "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory) as "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface value in argument to NewApplier: "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory does not implement "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface (missing method ToRESTClientGetter)
Unit tests :: windows-amd64: pkg/autopilot/controller/root_controller_test.go#L62
cannot use testutil.NewFakeClientFactory() (value of type "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory) as "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface value in argument to NewRootController: "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory does not implement "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface (missing method ToRESTClientGetter)
Unit tests :: windows-amd64: pkg/autopilot/controller/plans/cmdprovider/airgapupdate/newplan_test.go#L228
cannot use testutil.NewFakeClientFactory() (value of type "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory) as "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface value in argument to NewAirgapUpdatePlanCommandProvider: "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory does not implement "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface (missing method ToRESTClientGetter)
Unit tests :: windows-amd64: pkg/autopilot/controller/plans/cmdprovider/airgapupdate/schedulable_test.go#L167
cannot use testutil.NewFakeClientFactory() (value of type "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory) as "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface value in argument to NewAirgapUpdatePlanCommandProvider: "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory does not implement "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface (missing method ToRESTClientGetter)
Unit tests :: windows-amd64: pkg/autopilot/controller/plans/cmdprovider/airgapupdate/schedulablewait_test.go#L387
cannot use testutil.NewFakeClientFactory() (value of type "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory) as "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface value in argument to NewAirgapUpdatePlanCommandProvider: "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory does not implement "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface (missing method ToRESTClientGetter)
Unit tests :: windows-amd64: pkg/autopilot/controller/plans/cmdprovider/k0supdate/newplan_test.go#L468
cannot use testutil.NewFakeClientFactory() (value of type "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory) as "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface value in argument to NewK0sUpdatePlanCommandProvider: "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory does not implement "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface (missing method ToRESTClientGetter)
Unit tests :: windows-amd64: pkg/autopilot/controller/plans/cmdprovider/k0supdate/schedulable_test.go#L174
cannot use testutil.NewFakeClientFactory() (value of type "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory) as "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface value in argument to NewK0sUpdatePlanCommandProvider: "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory does not implement "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface (missing method ToRESTClientGetter)
Unit tests :: windows-amd64: pkg/autopilot/controller/plans/cmdprovider/k0supdate/schedulablewait_test.go#L581
cannot use testutil.NewFakeClientFactory() (value of type "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory) as "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface value in argument to NewK0sUpdatePlanCommandProvider: "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory does not implement "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface (missing method ToRESTClientGetter)
Unit tests :: windows-amd64: pkg/component/controller/apiendpointreconciler_test.go#L46
cannot use fakeFactory (variable of type "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory) as "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface value in argument to NewEndpointReconciler: "github.com/k0sproject/k0s/internal/testutil".FakeClientFactory does not implement "github.com/k0sproject/k0s/pkg/kubernetes".ClientFactoryInterface (missing method ToRESTClientGetter)
Smoke tests :: check-addons
Process completed with exit code 2.
Smoke tests :: check-addons
No files were found with the provided path: /tmp/*.log /tmp/support-bundle.tar.gz. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
airgap-image-list-linux-amd64 Expired
479 Bytes
k0s-linux-amd64 Expired
230 MB
k0s-windows-amd64 Expired
140 MB
spdx.json Expired
1.79 MB