SLES EE build failing to make docker-distribution (registry)
In the latest master builds, the SLES package failed to build. This appears to be related to the included Go/GOLANG version. Get this in sync with the rest of the docker builds to fix. Blocking master.
The following shell command exited with status 2:
$ DOCKER_BUILDTAGS=include_gcs GO15VENDOREXPERIMENT=1 GOPATH=/var/cache/omnibus/src/registry MAKE=gmake PREFIX=/opt/gitlab/embedded gmake build
Output:
gmake[1]: Entering directory '/var/cache/omnibus/src/registry/src/github.com/docker/distribution'
+ build
Makefile:71: recipe for target 'build' failed
gmake[1]: Leaving directory '/var/cache/omnibus/src/registry/src/github.com/docker/distribution'
...
# github.com/docker/distribution/registry/api/errcode
registry/api/errcode/register.go:74: undefined: http.StatusTooManyRequests
...
# github.com/docker/distribution/testutil
testutil/tarfile.go:48: undefined: "math/rand".Read
...
# github.com/docker/distribution/registry/storage/driver/testsuites
registry/storage/driver/testsuites/testsuites.go:1218: undefined: "math/rand".Read
Pointers to Go version:
-
undefined: http.StateTooManyRequests
: - Both errors, in our own tracker: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2398
cc @marin