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/go/internal/gcimporter: test fails on openbsd-386-64 builder #36563

Open
dmitshur opened this issue Jan 15, 2020 · 0 comments
Open

x/tools/go/internal/gcimporter: test fails on openbsd-386-64 builder #36563

dmitshur opened this issue Jan 15, 2020 · 0 comments

Comments

@dmitshur
Copy link
Member

@dmitshur dmitshur commented Jan 15, 2020

From build.golang.org, the tests for this package fail on openbsd-386-64 builder:

haserrors/haserrors.go:2:22: cannot convert "" (untyped string constant) to untyped int
haserrors/haserrors.go:3:18: undeclared name: undefined
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8f2b000 pc=0x8049ef8]

runtime stack:
runtime/internal/atomic.Xadd64(0x847af80, 0x7d4, 0x0, 0x4bd8c8c, 0x0)
	/tmp/workdir/go/src/runtime/internal/atomic/asm_386.s:125 +0x28

goroutine 35 [GC worker (idle)]:
runtime.systemstack_switch()
	/tmp/workdir/go/src/runtime/asm_386.s:357 fp=0x3c48579c sp=0x3c485798 pc=0x80963c0
runtime.gcBgMarkWorker(0x3c01f900)
	/tmp/workdir/go/src/runtime/mgc.go:1890 +0x1a0 fp=0x3c4857e8 sp=0x3c48579c pc=0x805f5f0
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_386.s:1321 +0x1 fp=0x3c4857ec sp=0x3c4857e8 pc=0x8097b41
created by runtime.gcBgMarkStartWorkers
	/tmp/workdir/go/src/runtime/mgc.go:1784 +0x5b

goroutine 1 [chan receive]:
testing.(*T).Run(0x61f91f40, 0x82919be, 0x16, 0x829c004, 0x1)
	/tmp/workdir/go/src/testing/testing.go:917 +0x2ce
testing.runTests.func1(0x3c0761e0)
[...]
	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:970 +0x23
created by golang.org/x/tools/go/loader.(*importer).startLoad
	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:969 +0x145

goroutine 3198 [chan receive]:
golang.org/x/tools/go/loader.(*importInfo).awaitCompletion(...)
	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:447
golang.org/x/tools/go/loader.(*importer).importAll(0x4324c2d0, 0x60e29d41, 0x10, 0x58cdbdd0, 0x24, 0x4e328b00, 0x0, 0x2, 0x5ab82620, 0x5ab82600, ...)
	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:921 +0x2ed
golang.org/x/tools/go/loader.(*importer).addFiles(0x4324c2d0, 0x61b3ccc0, 0x43c04138, 0x2, 0x2, 0x1)
	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:1014 +0x8e
golang.org/x/tools/go/loader.(*importer).load(0x4324c2d0, 0x5a20bd40, 0x4d8ff218)
	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:989 +0xf9
golang.org/x/tools/go/loader.(*importer).startLoad.func1(0x4324c2d0, 0x5a20bd40, 0x5b056950)
	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:970 +0x23
created by golang.org/x/tools/go/loader.(*importer).startLoad
	/tmp/workdir/gopath/src/golang.org/x/tools/go/loader/loader.go:969 +0x145
FAIL	golang.org/x/tools/go/internal/gcimporter	58.215s

(Source: https://build.golang.org/log/bf78c570cc6e1acb6dbc4391d770300022c9b6be)

Recent occurrences from https://build.golang.org/?repo=golang.org%2fx%2ftools:

I suspect this may be similar to #36444. This builder is currently on n1-highcpu-4, which has only 3.6 GB memory, and that is likely not enough for x/tools tests to pass.

/cc @stamblerre @matloob

@gopherbot gopherbot added this to the Unreleased milestone Jan 15, 2020
@gopherbot gopherbot added the Tools label Jan 15, 2020
@dmitshur dmitshur changed the title x/tools/go/internal/gcimporter: test fails on openbsd-386-64 builder on release-branch.go1.12 x/tools/go/internal/gcimporter: test fails on openbsd-386-64 builder Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.