Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: gdb tests fail on NetBSD #22893
The netbsd-amd64-8branch (NetBSD 8.0+) builder is back and NetBSD is kinda working for the first time in ages.
But only kinda.
The runtime tests fail with a timeout about two thirds of the time.
Many more at https://build.golang.org.
It'd be nice to have NetBSD happy for Go 1.10, considering the Go 1.9 news that NetBSD support was dead (https://golang.org/doc/go1.9#known_issues) which prompted a number of people to help fix things up.
@krytarowski, thanks. Is this something that's expected to fixed in NetBSD in the near future? If not, I think we should go ahead and close this issue, since there's not much we can do about it.
Also, is there a bug tracking this in NetBSD? It would be nice to reference something canonical from the test skip message.
I found at least a recent presentation from @krytarowski: http://netbsd.org/~kamil/ptrace-netbsd/presentation.html
http://www.netbsd.org/~kamil/eurobsdcon2017.html a more recent one!
Upstream related Problem Report:
I've just finished porting TSan (upstream is ongoing). I'm going to switch to MSan soon and focus on LLDB and ptrace(2) fixes. This will take at least several months (I've estimated 11 months to go..).
changed the title
runtime: runtime tests fail much of the time on netbsd-amd64
Nov 28, 2017
We have added some quick fixes in gdb from the base that might fix basic tracing golang programs. The fixes landed -current.. 8.0 is getting closer so such upgrades might be too late now in -8. The corrections involve upgrade to GDB-8.0.1
Skipping the tests as of now is reasonable.
Right now the basesystem and pkgsrc GDB are unrelated. The one in pkgsrc is as close to upstream as possible, while the basesystem one contains our patches from the past 20 years.
At the end both should end up as pristine upstream ones, working on it. ETA: after finishing LLDB and fixing ptrace(2).