Looks like an issue with the xenial build environment.  Looking into
it.  We might need to move it to go 1.8.  mock may have dropped
support for go 1.7.  I believe the go community only supports one
release back, so 1.10 would be the current "official" earliest train
to support, but if we can make the tests work with 1.8, we'll do that.
I'll let you know what I find.

- Jim

On Wed, Mar 13, 2019 at 4:23 AM Jens Geyer <jensge...@hotmail.com> wrote:
>
> Hi,
> the CI stops repeatedly at gomock with some exotic message:
>
> GOPATH=`pwd` /usr/local/bin/go install github.com/golang/mock/mockgen
> # github.com/golang/mock/vendor/golang.org/x/tools/go/internal/gcimporter
> src/github.com/golang/mock/vendor/golang.org/x/tools/go/internal/gcimporter/bexport.go:212:
>  obj.IsAlias undefined (type *types.TypeName has no field or method IsAlias)
> # github.com/golang/mock/vendor/golang.org/x/tools/go/internal/packagesdriver
> src/github.com/golang/mock/vendor/golang.org/x/tools/go/internal/packagesdriver/sizes.go:94:
>  undefined: types.SizesFor
> Makefile:673: recipe for target 'genmock' failed
> make[2]: *** [genmock] Error 2
> make[2]: Leaving directory '/thrift/src/test/go'
> Makefile:633: recipe for target 'check-recursive' failed
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory '/thrift/src/test'
> Makefile:686: recipe for target 'check-recursive' failed
> make: *** [check-recursive] Error 1
> travis_time:end:05aff80c:start=1552423069624693970,finish=1552425160750044665,duration=2091125350695
> The command "build/docker/run.sh" exited with 2.
>
> https://api.travis-ci.org/v3/job/505421904/log.txt
>
> Anybody around who wants to look into it?
>
> Thanks,
> JensG

Reply via email to