Skip to content

MGMT-16108: introduce the Resource server #20

MGMT-16108: introduce the Resource server

MGMT-16108: introduce the Resource server #20

Triggered via pull request November 13, 2023 09:58
Status Failure
Total duration 1m 4s
Artifacts

check-pull-request.yaml

on: pull_request
Build image
33s
Build image
Unit tests
55s
Unit tests
Check generated code
25s
Check generated code
Lint
18s
Lint
Fit to window
Zoom out
Zoom in

Annotations

22 errors
Lint: internal/cmd/server/start_deployment_manager_server.go#L30
could not import github.com/openshift-kni/oran-o2ims/internal/service (-: # github.com/openshift-kni/oran-o2ims/internal/service
Lint: internal/service/resource_pool_fetcher.go#L154
undefined: NewResourceObjectMapper) (typecheck)
Lint: internal/service/cloud_info_handler.go#L1
: # github.com/openshift-kni/oran-o2ims/internal/service [github.com/openshift-kni/oran-o2ims/internal/service.test]
Lint: internal/service/resource_pool_fetcher.go#L154
undefined: NewResourceObjectMapper
Lint: internal/service/collection_adapter_test.go#L46
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Lint: internal/service/collection_adapter_test.go#L56
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Lint: internal/service/collection_adapter_test.go#L100
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Lint: internal/service/collection_adapter_test.go#L149
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Lint: internal/service/collection_adapter_test.go#L177
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Lint: internal/service/collection_adapter_test.go#L198
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Check generated code
Process completed with exit code 1.
Build image
Process completed with exit code 2.
Unit tests
undefined: NewResourceObjectMapper
Unit tests
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Unit tests
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Unit tests
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Unit tests
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Unit tests
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Unit tests
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Unit tests
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Unit tests
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockCollectionHandler
Unit tests
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to NewMockObjectHandler