os: on NetBSD, *Process.Wait sometimes deadlocks after cmd.Process.Signal returns "process already finished" #48789
I've noticed a recurring pattern in
That all happens here:
What I'm seeing on (some of?) the NetBSD builders is that after
The relevant goroutine traces are:
Note that goroutine 1537 is blocked at
Goroutine 1536 is blocked at the call to
The failure rate with these symptoms is fairly high: something on the order of 20 failures per month.
The text was updated successfully, but these errors were encountered:
I see two possible sequences that could lead to this.
Neither should be possible. The first case seems more likely. If we don't see a response from somebody familiar with NetBSD we should probably move the
CL 315281 changed the os package use wait6 on netbsd. This seems to be causing frequent test failures as reported in #48789. Revert that change using wait6 on netbsd for now. Updates #13987 Updates #16028 For #48789 Change-Id: Ieddffc65611c7f449971eaa8ed6f4299a5f742c2 Reviewed-on: https://go-review.googlesource.com/c/go/+/354249 Trust: Tobias Klauser <email@example.com> Trust: Bryan C. Mills <firstname.lastname@example.org> Trust: Benny Siegert <email@example.com> Run-TryBot: Tobias Klauser <firstname.lastname@example.org> TryBot-Result: Go Bot <email@example.com> Reviewed-by: Bryan C. Mills <firstname.lastname@example.org> Reviewed-by: Benny Siegert <email@example.com> Reviewed-by: Ian Lance Taylor <firstname.lastname@example.org>