shibd opened a new issue, #979: URL: https://github.com/apache/pulsar-client-go/issues/979
See [example failure](https://github.com/apache/pulsar-client-go/actions/runs/4311231813/jobs/7520440330) <details> <summary>Log</summary> <pre><code> === RUN TestConsumerBatchCumulativeAck time="2023-03-02T06:34:19Z" level=info msg="Connecting to broker" remote_addr="pulsar://localhost:6650" time="2023-03-02T06:34:19Z" level=info msg="TCP connection established" local_addr="127.0.0.1:45286" remote_addr="pulsar://localhost:6650" time="2023-03-02T06:34:19Z" level=info msg="Connection is ready" local_addr="127.0.0.1:45286" remote_addr="pulsar://localhost:6650" time="2023-03-02T06:34:19Z" level=info msg="Connected producer" cnx="127.0.0.1:45286 -> 127.0.0.1:6650" epoch=0 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:19Z" level=info msg="Created producer" cnx="127.0.0.1:45286 -> 127.0.0.1:6650" producerID=1 producer_name=standalone-0-242 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:19Z" level=info msg="Connected consumer" consumerID=1 name=bxpwy subscription=sub-1 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:19Z" level=info msg="Created consumer" consumerID=1 name=bxpwy subscription=sub-1 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:19Z" level=info msg="Connected consumer" consumerID=2 name=rtvmw subscription=sub-2 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:19Z" level=info msg="Created consumer" consumerID=2 name=rtvmw subscription=sub-2 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:19Z" level=info msg="Closing consumer=1" consumerID=1 name=bxpwy subscription=sub-1 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:19Z" level=info msg="Closed consumer" consumerID=1 name=bxpwy subscription=sub-1 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:19Z" level=info msg="close consumer, exit reconnect" consumerID=1 name=bxpwy subscription=sub-1 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:19Z" level=info msg="Closing consumer=2" consumerID=2 name=rtvmw subscription=sub-2 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:49Z" level=warning msg="Failed to close consumer" consumerID=2 error="request timed out" name=rtvmw subscription=sub-2 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:34:49Z" level=info msg="close consumer, exit reconnect" consumerID=2 name=rtvmw subscription=sub-2 topic="persistent://public/default/my-topic-70957754" consumer_test.go:1026: Error Trace: /pulsar/pulsar-client-go/pulsar/consumer_test.go:1026 Error: Expected nil, but got: &errors.errorString{s:"request timed out"} Test: TestConsumerBatchCumulativeAck time="2023-03-02T06:35:49Z" level=warning msg="Detected stale connection to broker" local_addr="127.0.0.1:45286" remote_addr="pulsar://localhost:6650" time="2023-03-02T06:35:49Z" level=warning msg="Connection was closed" cnx="127.0.0.1:45286 -> 127.0.0.1:6650" producerID=1 producer_name=standalone-0-242 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:35:49Z" level=info msg="runEventsLoop will reconnect in producer" producerID=1 producer_name=standalone-0-242 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:35:49Z" level=info msg="Reconnecting to broker in 109.034243ms" producerID=1 producer_name=standalone-0-242 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:35:49Z" level=info msg="Connecting to broker" remote_addr="pulsar://localhost:6650" time="2023-03-02T06:35:49Z" level=info msg="TCP connection established" local_addr="127.0.0.1:4[2384](https://github.com/apache/pulsar-client-go/actions/runs/4311231813/jobs/7520440330#step:5:2385)" remote_addr="pulsar://localhost:6650" time="2023-03-02T06:35:49Z" level=info msg="Connection is ready" local_addr="127.0.0.1:42384" remote_addr="pulsar://localhost:6650" time="2023-03-02T06:35:49Z" level=info msg="Connected producer" cnx="127.0.0.1:42384 -> 127.0.0.1:6650" epoch=1 producerID=1 producer_name=standalone-0-242 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:35:49Z" level=info msg="Reconnected producer to broker" cnx="127.0.0.1:42384 -> 127.0.0.1:6650" producerID=1 producer_name=standalone-0-242 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:35:49Z" level=info msg="Closing producer" producerID=1 producer_name=standalone-0-242 topic="persistent://public/default/my-topic-70957754" time="2023-03-02T06:35:49Z" level=info msg="Closed producer" producerID=1 producer_name=standalone-0-242 topic="persistent://public/default/my-topic-70957754" --- FAIL: TestConsumerBatchCumulativeAck (90.25s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xd5b7ae] goroutine 4548 [running]: testing.tRunner.func1.2({0xf4e600, 0x15f8170}) /usr/local/go/src/testing/testing.go:1396 +0x372 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1399 +0x5f0 panic({0xf4e600, 0x15f8170}) /usr/local/go/src/runtime/panic.go:890 +0x262 github.com/apache/pulsar-client-go/pulsar.TestConsumerBatchCumulativeAck(0xc0007296c0) /pulsar/pulsar-client-go/pulsar/consumer_test.go:1027 +0xdee testing.tRunner(0xc0007296c0, 0x10630a0) /usr/local/go/src/testing/testing.go:1446 +0x217 created by testing.(*T).Run /usr/local/go/src/testing/testing.go:1493 +0x75e </code></pre> </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
