Can you clarify that a bit? Did you change the code to look for EINTR errors and then retry the system call?
-----Original Message-----
From: Peter Kleiweg
Sent: Feb 28, 2020 9:04 AM
To: golang-nuts
Subject: [go-nuts] Re: Lot's of test errors in package zmq4 with Go version 1.14, no errors with earlier versionsRetry after EINTR solved the code lock-up too.--
Op woensdag 26 februari 2020 12:33:05 UTC+1 schreef Peter Kleiweg:With Go version 1.14 I get a lot of errors when I run:go test -v github.com/pebbe/zmq4I didn't see this with Go 1.13.8 or any earlier version.Is this a problem with Go 1.14, or am I doing something wrong and just got lucky until now?How do I debug this? The errors are different for each run. Below is a sample of some errors.Line numbers are not always accurate, because I inserted some calls to test.Log().=== RUN TestSocketEventTestSocketEvent: socketevent_test.go:73: rep.Bind: interrupted system call=== RUN TestMultipleContextsTestMultipleContexts: zmq4_test.go:131: sock1.Connect: interrupted system callfreeze:=== RUN TestMultipleContexts^CFAIL github.com/pebbe/zmq4 30.226sfreeze:=== RUN TestMultipleContextsTestMultipleContexts: zmq4_test.go:148: sock1.RecvMessage: expected <nil> [tcp://127.0.0.1:9997 tcp://127.0.0.1:9997], got interrupted system call []^CFAIL github.com/pebbe/zmq4 21.445sfreeze:=== RUN TestSecurityCurve^CFAIL github.com/pebbe/zmq4 31.143sfreeze:=== RUN TestSecurityNullTestSecurityNull: zmq4_test.go:1753: server.Recv 1: resource temporarily unavailable^CFAIL github.com/pebbe/zmq4 44.828s=== RUN TestDisconnectInprocTestDisconnectInproc: zmq4_test.go:523: Poll: interrupted system callTestDisconnectInproc: zmq4_test.go:623: isSubscribed=== RUN TestHwmTestHwm: zmq4_test.go:823: bind_socket.Bind: interrupted system callTestHwm: zmq4_test.go:1044: test_inproc_bind_first(0, 0): expected 10000, got -1freeze:=== RUN TestSecurityPlain^CFAIL github.com/pebbe/zmq4 46.395s=== RUN TestPairIpcTestPairIpc: zmq4_test.go:1124: client.Send SNDMORE|DONTWAIT: interrupted system call
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/f7eb247c-f772-4663-9d0b-5cb07c62e427%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/914429447.712.1582902794427%40wamui-lucy.atl.sa.earthlink.net.