You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/01 06:28:40 UTC

[GitHub] [pulsar-client-cpp] BewareMyPower opened a new issue, #135: Flaky test: ProducerTest.testWaitForExclusiveProducer

BewareMyPower opened a new issue, #135:
URL: https://github.com/apache/pulsar-client-cpp/issues/135

   [example failure](https://github.com/apache/pulsar-client-cpp/actions/runs/3589998748/jobs/6042967481)
   
   ```
   FAILED TESTS (1/376):
        166 ms: ./pulsar-tests ProducerTest.testWaitForExclusiveProducer (try #1)
   ```
   
   ```
   [ RUN      ] ProducerTest.testWaitForExclusiveProducer
   2022-12-01 06:25:37.989 INFO  [140250769911488] ClientConnection:189 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
   2022-12-01 06:25:37.989 INFO  [140250769911488] ConnectionPool:97 | Created connection for pulsar://localhost:6650
   2022-12-01 06:25:37.991 INFO  [140250766808640] ClientConnection:379 | [[::1]:37744 -> [::1]:6650] Connected to broker
   2022-12-01 06:25:37.997 INFO  [140250766808640] HandlerBase:72 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-1] Getting connection from pool
   2022-12-01 06:25:38.038 INFO  [140250766808640] ProducerImpl:190 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-1] Created producer on broker [[::1]:37744 -> [::1]:6650]
   2022-12-01 06:25:38.043 INFO  [140250769911488] ProducerImpl:721 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-1] Closing producer for topic persistent://public/default/testWaitForExclusiveProducer1669875937
   2022-12-01 06:25:38.044 INFO  [140250766808640] ProducerImpl:687 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-1] Closed producer 0
   2022-12-01 06:25:38.045 INFO  [140250766808640] HandlerBase:72 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-2] Getting connection from pool
   2022-12-01 06:25:38.053 INFO  [140250766808640] ProducerImpl:190 | [persistent://public/default/testWaitForExclusiveProducer1669875937, p-name-2] Created producer on broker [[::1]:37744 -> [::1]:6650]
   /home/runner/work/pulsar-client-cpp/pulsar-client-cpp/tests/ProducerTest.cc:331: Failure
   Expected equality of these values:
     ResultOk
       Which is: Ok
     producer2.send(MessageBuilder().setContent("content").build())
       Which is: ProducerNotInitialized
   ```


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-client-cpp] BewareMyPower commented on issue #135: Flaky test: ProducerTest.testWaitForExclusiveProducer

Posted by "BewareMyPower (via GitHub)" <gi...@apache.org>.
BewareMyPower commented on issue #135:
URL: https://github.com/apache/pulsar-client-cpp/issues/135#issuecomment-1482488789

   [Another failure](https://github.com/apache/pulsar-client-cpp/actions/runs/4509062291/jobs/7938385505?pr=232)
   
   ```
   [ RUN      ] ProducerTest.testWaitForExclusiveProducer
   
   2023-03-24 08:16:50.796 INFO  [140716606979840] ClientConnection:183 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
   2023-03-24 08:16:50.796 INFO  [140716606979840] ConnectionPool:106 | Created connection for pulsar://localhost:6650
   2023-03-24 08:16:50.799 INFO  [140716603856448] ClientConnection:381 | [[::1]:35688 -> [::1]:6650] Connected to broker
   2023-03-24 08:16:50.800 INFO  [140716603856448] HandlerBase:72 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-1] Getting connection from pool
   2023-03-24 08:16:50.807 INFO  [140716603856448] ProducerImpl:208 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-1] Created producer on broker [[::1]:35688 -> [::1]:6650]
   2023-03-24 08:16:50.811 INFO  [140716606979840] ProducerImpl:755 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-1] Closing producer for topic 0x7ffb1c003ae0
   2023-03-24 08:16:50.812 INFO  [140716603856448] HandlerBase:72 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-2] Getting connection from pool
   2023-03-24 08:16:50.812 INFO  [140716603856448] ProducerImpl:719 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-1] Closed producer 0
   2023-03-24 08:16:50.813 INFO  [140716603856448] ProducerImpl:208 | [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-2] Created producer on broker [[::1]:35688 -> [::1]:6650]
   /home/runner/work/pulsar-client-cpp/pulsar-client-cpp/tests/ProducerTest.cc:332: Failure
   Expected equality of these values:
     ResultOk
       Which is: Ok
     producer2.send(MessageBuilder().setContent("content").build())
       Which is: ProducerNotInitialized
   2023-03-24 08:16:50.814 INFO  [140716606979840] ProducerImpl:709 | Producer - [persistent://public/default/testWaitForExclusiveProducer1679645810, p-name-1] , [batchMessageContainer = { BatchMessageContainer [size = 0] [bytes = 0] [maxSize = 1000] [maxBytes = 131072] [topicName = 0x7ffb1c003ae0] [numberOfBatchesSent_ = 2] [averageBatchSize_ = 0.5] }]
   ```


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org