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/tools/refactor/importgraph: TestBuild is failing sometimes #37823

Open
dmitshur opened this issue Mar 12, 2020 · 2 comments
Open

x/tools/refactor/importgraph: TestBuild is failing sometimes #37823

dmitshur opened this issue Mar 12, 2020 · 2 comments

Comments

@dmitshur
Copy link
Member

@dmitshur dmitshur commented Mar 12, 2020

I'm seeing frequent failures that look like this at https://build.golang.org/?repo=golang.org%2fx%2ftools on the darwin builders:

--- FAIL: TestBuild (28.63s)
    graph_test.go:51: forward[importgraph][go/build] not found
    graph_test.go:54: reverse[go/build][importgraph] not found
    graph_test.go:51: forward[importgraph][testing] not found
    graph_test.go:54: reverse[testing][importgraph] not found
    graph_test.go:51: forward[importgraph][crypto/hmac] not found
    graph_test.go:54: reverse[crypto/hmac][importgraph] not found
    graph_test.go:79: intransitive: forward.Search(importgraph)[errors] not found
    graph_test.go:82: intransitive: reverse.Search(errors)[importgraph] not found
    graph_test.go:79: intransitive: forward.Search(importgraph)[reflect] not found
    graph_test.go:82: intransitive: reverse.Search(reflect)[importgraph] not found
    graph_test.go:79: intransitive: forward.Search(importgraph)[unsafe] not found
    graph_test.go:82: intransitive: reverse.Search(unsafe)[importgraph] not found
FAIL
FAIL	golang.org/x/tools/refactor/importgraph	32.386s

For a recent example, see https://build.golang.org/log/5b156a1c79480768102921c27ab1b16ccc7c0590.

/cc @matloob

@dmitshur dmitshur added this to the Unreleased milestone Mar 12, 2020
@gopherbot gopherbot added the Tools label Mar 12, 2020
@matloob
Copy link
Contributor

@matloob matloob commented Mar 12, 2020

Have these failures been occurring at a particular version of Go?

This package uses go/build to get its information so I'm guessing the failures are related to that. Maybe there's been a in go/build or cmd/go that's causing this. I wonder if it has to do with the test not setting GO111MODULE=off...

@bcmills
Copy link
Member

@bcmills bcmills commented May 21, 2020

2020-05-20T22:05:37-cf2d1e0/darwin-amd64-nocgo
2020-05-19T14:27:18-1092135/linux-386-longtest
2020-05-18T19:41:03-259583f/darwin-amd64-nocgo
2020-05-18T19:26:01-4bde419/illumos-amd64
2020-05-14T21:13:50-d0dc4d4/darwin-amd64-10_15
2020-05-13T20:16:20-d5fe738/illumos-amd64
2020-05-13T17:53:51-0951661/illumos-amd64
2020-05-08T20:57:58-2d0106b/darwin-amd64-10_15
2020-05-08T18:47:48-88bf40a/illumos-amd64
2020-05-07T02:01:22-88e38c1/darwin-amd64-nocgo
2020-05-04T14:52:14-535e147/darwin-amd64-nocgo
2020-05-04T02:29:51-6b6965a/darwin-amd64-nocgo
2020-05-01T06:56:59-ab2804f/plan9-arm
2020-05-01T00:59:04-d351ea0/plan9-arm
2020-04-26T10:28:38-f3a5411/darwin-amd64-nocgo
2020-04-22T01:51:11-4e4aced/illumos-amd64
2020-04-21T17:00:05-7504fd2/illumos-amd64
2020-04-21T04:27:24-cfa8b22/darwin-amd64-nocgo
2020-04-20T21:04:52-f0ebba1/darwin-amd64-nocgo
2020-04-20T00:18:25-978e26b/darwin-amd64-nocgo
2020-04-16T21:44:02-fc95973/darwin-amd64-10_15
2020-04-16T21:44:02-fc95973/darwin-amd64-nocgo
2020-04-16T21:39:01-f038785/darwin-amd64-nocgo
2020-04-16T19:38:27-92fa1ff/darwin-amd64-nocgo
2020-04-16T04:05:50-9c19d0d/illumos-amd64
2020-04-16T04:05:21-bd061c7/darwin-amd64-nocgo
2020-04-14T21:18:25-33e9372/darwin-amd64-nocgo
2020-04-14T00:10:08-ae52e4b/plan9-arm
2020-04-13T01:57:14-2595e72/illumos-amd64
2020-04-09T19:58:30-bc09a2c/plan9-arm
2020-04-08T13:20:38-6a75126/darwin-amd64-nocgo
2020-04-06T21:01:14-1fd9766/plan9-arm
2019-10-29T21:21:09-70331a3/freebsd-386-12_0
2019-10-15T16:43:44-6adaf17/linux-amd64-sid
2019-10-04T18:34:18-0471417/android-amd64-emu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.