Closed charlesakalugwu closed 5 years ago
/assign asalkeld
the make verify is returning this
+ diff -r /go/src/github.com/openshift/openshift-azure/hack/../pkg/util/mocks/mock_arm/arm.go /tmp/tmp.SLnfQMX59r/pkg/util/mocks/mock_arm/arm.go
40a41
> m.ctrl.T.Helper()
48a50
> mr.mock.ctrl.T.Helper()
most likely a different version of mockgen is getting used. I see 1.2.0 was released 2 days ago. https://github.com/golang/mock/releases
Since we are installing via gogenerate, I am not sure on how to fix the version number in "go get". I can just try update the version of our vendored gomock.
the make verify is returning this
+ diff -r /go/src/github.com/openshift/openshift-azure/hack/../pkg/util/mocks/mock_arm/arm.go /tmp/tmp.SLnfQMX59r/pkg/util/mocks/mock_arm/arm.go 40a41 > m.ctrl.T.Helper() 48a50 > mr.mock.ctrl.T.Helper()
most likely a different version of mockgen is getting used. I see 1.2.0 was released 2 days ago. https://github.com/golang/mock/releases
Since we are installing via gogenerate, I am not sure on how to fix the version number in "go get". I can just try update the version of our vendored gomock.
yes. I solve it by updating mockgen version in go.mod
file.
All CI tests are currently failing due to seeminly bad code generation by the gomock version which is installed in CI
/kind bug /cc @jim-minter @kargakis @asalkeld