Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build: TryBots for subrepo place code at wrong location #30852

bcmills opened this issue Mar 14, 2019 · 2 comments


None yet
4 participants
Copy link

commented Mar 14, 2019

The TryBot run for failed, and the failure appears to be spurious.

Looking at the error message, it appears that the builder is running at $GOPATH/src/, but the actual repo path does not have the /x component. That causes the build to fail in GOPATH mode, since internal imports cannot be resolved.

CC @dmitshur @bradfitz

linux-amd64 at aa193c0b9623acd7397c0799ffc9efe5845216b2 building dl at 1fd72ee045448e802db0932c08bf55095b3992f8

:: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "test" "-short" ""] and env ["PATH=/workdir/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-jessie-rnef69983" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64" "GOROOT_BOOTSTRAP=/go1.4" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=" "GO111MODULE=auto" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/gopath/src/

go1.10/main.go:20:8: cannot find package "" in any of:
	/workdir/go/src/ (from $GOROOT)
	/workdir/gopath/src/ (from $GOPATH)

Error: tests failed: exit status 1

@gopherbot gopherbot added this to the Unreleased milestone Mar 14, 2019

@gopherbot gopherbot added the Builders label Mar 14, 2019


This comment has been minimized.

Copy link

commented Mar 14, 2019

Yeah, "dl" is a special case. So far all the "subrepos" (legacy hg term) became$foo, but not dl.

@dmitshur dmitshur added the Testing label Mar 14, 2019


This comment has been minimized.

Copy link

commented Apr 2, 2019

Change mentions this issue: cmd/coordinator: fix trybots for the "dl" repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.