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: 'go' subprocesses invoke mismatched versions on aix-ppc64 builder #31567

Open
Helflym opened this issue Apr 19, 2019 · 8 comments

Comments

@Helflym
Copy link
Contributor

commented Apr 19, 2019

The tests of x/tools and x/tour are failing on aix/ppc64, because the builder seems to use an hybrid version between 1.12.1 and master. Any idea of what must be changed/fixed ?

https://build.golang.org/log/b7b160e7a7e733fbe768d45af70cf1c626ac4289
https://build.golang.org/log/7e28abbbd860c0ea1f212805b15ce5f3e8bf5d14

/cc @bradfitz

@gopherbot gopherbot added this to the Unreleased milestone Apr 19, 2019

@bradfitz

This comment has been minimized.

Copy link
Member

commented Apr 19, 2019

I don't know what's going on there.

Per the first line of that first URL, it should only be using Go built at c8aaec2, which you see later in the log with:

# internal/cpu
compile: version "devel c8aaec2f70c5ccbca1ec2152c57d19981ac09133" does not match go tool version "go1.12.1"

So I don't know why it's expecting Go 1.12.1 or where that comes from.

/cc @ianlancetaylor @bcmills @dmitshur

@bcmills

This comment has been minimized.

Copy link
Member

commented Apr 19, 2019

There are two PATH entries in the command line logged at the top:

"PATH=/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/bin:/opt/freeware/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java7_64/jre/bin:/usr/java7_64/bin"

and

"PATH=/opt/freeware/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java7_64/jre/bin:/usr/java7_64/bin"

The latter does not include $GOROOT/bin, so that's presumably where the go at 1.12.1 is coming from.

I don't know why compile is coming from the devel version, though.

@Helflym

This comment has been minimized.

Copy link
Contributor Author

commented Apr 19, 2019

I think the second path comes from https://go-review.googlesource.com/c/build/+/152457. However, they are supposed to be merged together or at least $GOROOT/bin should be added to the $PATH coming from the dashboard.

@bradfitz

This comment has been minimized.

Copy link
Member

commented Apr 19, 2019

I don't know why compile is coming from the devel version, though.

Because this is a build that's running repo "go" at master (rev c8aaec2f70c5ccbca1ec2152c57d19981ac09133) against x/net master.

@bradfitz

This comment has been minimized.

Copy link
Member

commented Apr 19, 2019

But, yeah, double/unmerged PATH definitely looks like the problem here. Thanks for noticing that and for the CL link.

@gopherbot

This comment has been minimized.

Copy link

commented Aug 29, 2019

Change https://golang.org/cl/192327 mentions this issue: dashboard: disable failing repos on misconfigured builders

gopherbot pushed a commit to golang/build that referenced this issue Aug 29, 2019
dashboard: disable failing repos on misconfigured builders
Updates golang/go#32836
Updates golang/go#31567
Updates golang/go#11811

Change-Id: I5443b61cf7732abf906ce2e93eca5408579a55c8
Reviewed-on: https://go-review.googlesource.com/c/build/+/192327
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>

@bcmills bcmills changed the title x/tools, x/tour: wrong builder version on aix/ppc64 x/build: 'go' subprocesses invoke mismatched versions on aix-ppc64 builder Aug 29, 2019

@gopherbot

This comment has been minimized.

Copy link

commented Aug 29, 2019

Change https://golang.org/cl/192335 mentions this issue: dashboard: extend aix-ppc64 skip to the website repo

gopherbot pushed a commit to golang/build that referenced this issue Aug 29, 2019
dashboard: extend aix-ppc64 skip to the website repo
Updates golang/go#31567

Change-Id: Ia8d996a70166c4395393f4674af87ad755104fe1
Reviewed-on: https://go-review.googlesource.com/c/build/+/192335
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
@gopherbot

This comment has been minimized.

Copy link

commented Aug 30, 2019

Change https://golang.org/cl/192559 mentions this issue: go.mod: add go version directive

gopherbot pushed a commit to golang/website that referenced this issue Aug 30, 2019
go.mod: add go version directive
(I mostly just wanted to make a trivial change to this repo to clear
out the failure cells for misconfigured builders on the landing page
of https://build.golang.org.)

Updates golang/go#31567

Change-Id: I2d779a143c711e86fb2f34451d7398d3514623ae
Reviewed-on: https://go-review.googlesource.com/c/website/+/192559
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.