With Go version 1.14 I get a lot of errors when I run:

    go test -v github.com/pebbe/zmq4

I 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   TestSocketEvent
        TestSocketEvent: socketevent_test.go:73: rep.Bind: interrupted 
system call


    === RUN   TestMultipleContexts
        TestMultipleContexts: zmq4_test.go:131: sock1.Connect: interrupted 
system call

    freeze:
    === RUN   TestMultipleContexts
    ^CFAIL  github.com/pebbe/zmq4   30.226s

    freeze:
    === RUN   TestMultipleContexts
        TestMultipleContexts: 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.445s



    freeze:
    === RUN   TestSecurityCurve
    ^CFAIL  github.com/pebbe/zmq4   31.143s



    freeze:
    === RUN   TestSecurityNull
        TestSecurityNull: zmq4_test.go:1753: server.Recv 1: resource 
temporarily unavailable
    ^CFAIL  github.com/pebbe/zmq4   44.828s


    === RUN   TestDisconnectInproc
        TestDisconnectInproc: zmq4_test.go:523: Poll: interrupted system 
call
        TestDisconnectInproc: zmq4_test.go:623: isSubscribed

    === RUN   TestHwm
        TestHwm: zmq4_test.go:823: bind_socket.Bind: interrupted system call
        TestHwm: zmq4_test.go:1044: test_inproc_bind_first(0, 0): expected 
10000, got -1

    freeze:
    === RUN   TestSecurityPlain
    ^CFAIL  github.com/pebbe/zmq4   46.395s

    === RUN   TestPairIpc
        TestPairIpc: 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/745bfcea-2adf-44ce-bfd2-32bd4d2cf834%40googlegroups.com.

Reply via email to