BewareMyPower opened a new issue, #16509:
URL: https://github.com/apache/pulsar/issues/16509

   ClientTest.testWrongListener is flaky. It fails sporadically.
   
   - [example failure 
1](https://github.com/apache/pulsar/runs/7267589938?check_suite_focus=true)
   - [example failure 
2](https://github.com/apache/pulsar/runs/7268632561?check_suite_focus=true)
   - 
   
   ```
   {"reason":"This topic already exists"}2022-07-10 02:27:05.782 INFO  
[140267128458944] ClientTest:244 | create 
client-test-wrong-listener-1657420025: 409
   2022-07-10 02:27:05.782 INFO  [140267128458944] ClientConnection:189 | 
[<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
   2022-07-10 02:27:05.782 INFO  [140267128458944] ConnectionPool:96 | Created 
connection for pulsar://localhost:6650
   2022-07-10 02:27:05.791 INFO  [140267125356288] ClientConnection:375 | 
[127.0.0.1:50304 -> 127.0.0.1:6650] Connected to broker
   2022-07-10 02:27:05.792 INFO  [140267125356288] HandlerBase:64 | 
[persistent://public/default/client-test-wrong-listener-1657420025-partition-0, 
] Getting connection from pool
   2022-07-10 02:27:05.794 INFO  [140267125356288] HandlerBase:64 | 
[persistent://public/default/client-test-wrong-listener-1657420025-partition-1, 
] Getting connection from pool
   2022-07-10 02:27:05.795 INFO  [140267125356288] HandlerBase:64 | 
[persistent://public/default/client-test-wrong-listener-1657420025-partition-2, 
] Getting connection from pool
   2022-07-10 02:27:05.797 ERROR [140267125356288] ClientConnection:998 | 
[127.0.0.1:50304 -> 127.0.0.1:6650] Failed lookup req_id: 2 error: 
ServiceUnitNotReady msg: org.apache.pulsar.broker.PulsarServerException: the 
broker do not have test listener
   2022-07-10 02:27:05.799 ERROR [140267125356288] PartitionedProducerImpl:150 
| Unable to create Producer for partition - 0 Error - ServiceUnitNotReady
   2022-07-10 02:27:05.799 INFO  [140267128458944] Client:88 | Subscribing on 
Topic :client-test-wrong-listener-1657420025
   2022-07-10 02:27:05.799 ERROR [140267125356288] ClientConnection:597 | 
[127.0.0.1:50304 -> 127.0.0.1:6650] Read operation failed: Bad file descriptor
   2022-07-10 02:27:05.799 INFO  
[140[267](https://github.com/apache/pulsar/runs/7267589938?check_suite_focus=true#step:11:268)125356288]
 ClientConnection:1560 | [127.0.0.1:50304 -> 127.0.0.1:6650] Connection closed
   2022-07-10 02:27:05.799 ERROR [140267125356288] PartitionedProducerImpl:289 
| Closing the producer failed for partition - 0
   2022-07-10 02:27:05.799 INFO  [140267125356288] ProducerImpl:665 | 
[persistent://public/default/client-test-wrong-listener-1657420025-partition-2, 
] Closing producer for topic 
persistent://public/default/client-test-wrong-listener-1657420025-partition-2
   2022-07-10 02:27:05.799 INFO  [140267125356288] ProducerImpl:627 | Producer 
- 
[persistent://public/default/client-test-wrong-listener-1657420025-partition-0, 
] , [batchMessageContainer = { BatchMessageContainer [size = 0] [bytes = 0] 
[maxSize = 1000] [maxBytes = 131072] [topicName = 
persistent://public/default/client-test-wrong-listener-1657420025-partition-0] 
[numberOfBatchesSent_ = 1] [averageBatchSize_ = 0] }]
   2022-07-10 02:27:05.799 INFO  [140267125356288] ProducerImpl:627 | Producer 
- 
[persistent://public/default/client-test-wrong-listener-1657420025-partition-1, 
] , [batchMessageContainer = { BatchMessageContainer [size = 0] [bytes = 0] 
[maxSize = 1000] [maxBytes = 131072] [topicName = 
persistent://public/default/client-test-wrong-listener-1657420025-partition-1] 
[numberOfBatchesSent_ = 1] [averageBatchSize_ = 0] }]
   2022-07-10 02:27:05.799 INFO  [140267125356288] ProducerImpl:627 | Producer 
- 
[persistent://public/default/client-test-wrong-listener-1657420025-partition-2, 
] , [batchMessageContainer = { BatchMessageContainer [size = 0] [bytes = 0] 
[maxSize = 1000] [maxBytes = 131072] [topicName = 
persistent://public/default/client-test-wrong-listener-1657420025-partition-2] 
[numberOfBatchesSent_ = 1] [averageBatchSize_ = 0] }]
   2022-07-10 02:27:05.799 ERROR [140267125356288] ClientImpl:397 | Error 
Checking/Getting Partition Metadata while Subscribing on 
persistent://public/default/client-test-wrong-listener-1657420025 -- 
ConnectError
   /pulsar/pulsar-client-cpp/tests/ClientTest.cc:252: Failure
   Expected equality of these values:
     ResultServiceUnitNotReady
       Which is: ServiceUnitNotReady
     client.subscribe(topic, "sub", consumer)
       Which is: ConnectError
   ```
   


-- 
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]

Reply via email to