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

runtime: GDB tests fail on mips64 #18173

Closed
bradfitz opened this issue Dec 2, 2016 · 5 comments
Closed

runtime: GDB tests fail on mips64 #18173

bradfitz opened this issue Dec 2, 2016 · 5 comments
Labels
FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@bradfitz
Copy link
Contributor

bradfitz commented Dec 2, 2016

Tracking bug to fix the GDB tests on mips64.

I'm going to skip them for now.

They fail with:

--- FAIL: TestGdbAutotmpTypes (2.30s)
	runtime-gdb_test.go:54: gdb version 7.7
	runtime-gdb_test.go:343: could not find struct []main.astruct; in 'info typrs astruct' output
	runtime-gdb_test.go:344: gdb output:
		Breakpoint 1 at 0x68d30: file /tmp/go-build601728910/main.go, line 9.
		/build/gdb-r6lxrh/gdb-7.7.1+dfsg/gdb/mips-tdep.c:715: internal-error: bad register size
		A problem internal to GDB has been detected,
		further debugging may prove unreliable.
		Quit this debugging session? (y or n) [answered Y; input not from terminal]
		/build/gdb-r6lxrh/gdb-7.7.1+dfsg/gdb/mips-tdep.c:715: internal-error: bad register size
		A problem internal to GDB has been detected,
		further debugging may prove unreliable.
		Create a core file of GDB? (y or n) [answered Y; input not from terminal]
		(0x7c980,0xc420016060) (0x78300,0xc420039f58)
--- FAIL: TestGdbBacktrace (2.42s)
	runtime-gdb_test.go:54: gdb version 7.7
	runtime-gdb_test.go:274: could not find '#0.*main\.eee' in backtrace
	runtime-gdb_test.go:275: gdb output:
		Breakpoint 1 at 0x68e50: file /tmp/go-build533461397/main.go, line 17.
		/build/gdb-r6lxrh/gdb-7.7.1+dfsg/gdb/mips-tdep.c:715: internal-error: bad register size
		A problem internal to GDB has been detected,
		further debugging may prove unreliable.
		Quit this debugging session? (y or n) [answered Y; input not from terminal]
		/build/gdb-r6lxrh/gdb-7.7.1+dfsg/gdb/mips-tdep.c:715: internal-error: bad register size
		A problem internal to GDB has been detected,
		further debugging may prove unreliable.
		Create a core file of GDB? (y or n) [answered Y; input not from terminal]
--- FAIL: TestGdbPython (4.78s)
	runtime-gdb_test.go:54: gdb version 7.7
	runtime-gdb_test.go:167: info goroutines failed: 
FAIL
FAIL	runtime	148.905s

/cc @cherrymui

@bradfitz bradfitz added this to the Go1.9 milestone Dec 2, 2016
@gopherbot
Copy link

CL https://golang.org/cl/33892 mentions this issue.

@vstefanovic
Copy link
Member

Like TestLinuxSendfile, this one also passes on a 64bit rootfs. We've setup mips64be Debian Wheezy RFS yesterday for the mips64be buildbot, but it hasn't run since then.

gopherbot pushed a commit that referenced this issue Dec 3, 2016
Updates #18173

Change-Id: I4c667c89ba3bf16433a4cef7cb01054f1798667d
Reviewed-on: https://go-review.googlesource.com/33892
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
@bradfitz bradfitz added help wanted NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure. labels May 24, 2017
@aclements
Copy link
Member

@vstefanovic, ping.

@vstefanovic
Copy link
Member

I forgot these.
They can be enabled, except that then they will be skipped due to too old gdb.
Let me see if we can install 7.9 on the mips64 build machine.

@gopherbot
Copy link

CL https://golang.org/cl/45874 mentions this issue.

@golang golang locked and limited conversation to collaborators Jun 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

4 participants