BewareMyPower commented on issue #11635:
URL: https://github.com/apache/pulsar/issues/11635#issuecomment-897527855
I also found this problem recently. It's flaky but the cause is hard to know
currently. Maybe a temporary solution is adding the retry logic for `python
pulsar_test.py`? I'm not sure if it's easy to do that. In addition, I found
test-logs.zip only contains gtest logs (C++ tests) and broker's logs
(unfortunately `immediateFlush` is false by default). Python test logs can only
be found in the CI workflow page. Maybe it's better to modify `immediateFlush`
from false to true when running C++/Python tests.
From the last few lines of the Python test output
```
[persistent://public/default/partitioned_topic_name_test-partition-0,
partitioned_topic_name_test_sub, 0] Closed consumer 0
2021-08-11 06:29:09.454 INFO [139946459391744] ConsumerImpl:930 |
[persistent://public/default/partitioned_topic_name_test-partition-1,
partitioned_topic_name_test_sub, 1] Closed consumer 1
2021-08-11 06:29:09.454 INFO [139946459391744] ConsumerImpl:930 |
[persistent://public/default/partitioned_topic_name_test-partition-2,
partitioned_topic_name_test_sub, 2] Closed consumer 2
2021-08-11 06:29:09.455 INFO [139946459391744] ClientConnection:1504 |
[127.0.0.1:56176 -> 127.0.0.1:6650] Connection closed
```
and standalone logs
```
06:29:09.444 [Thread-380] INFO org.apache.pulsar.broker.service.ServerCnx -
[/127.0.0.1:56176] Created new producer:
Producer{topic=PersistentTopic{topic=persistent://public/default/partitioned_topic_name_test-partition-1},
client=/127.0.0.1:56176, producerName=standalone-0-355, producerId=1}
06:29:09.444 [Thread-380] INFO org.apache.pulsar.broker.service.ServerCnx -
[/127.0.0.1:56176]
persistent://public/default/partitioned_topic_name_test-partition-0 configured
with schema false
06:29:09.445 [Thread-380] INFO org.apache.pulsar.broker.service.ServerCnx -
[/127.0.0.1:56176] Created new producer:
Producer{topic=PersistentTopic{topic=persistent://public/default/partitioned_topic_name_test-partition-0},
client=/127.0.0.1:56176,
```
we can see the topic is `partitioned_topic_name_test`. See
https://github.com/apache/pulsar/blob/36d5738412bb1ed9018178007bf63d9202b675db/pulsar-client-cpp/python/pulsar_test.py#L1113-L1132
But it looks like there's no problem with the code. And usually a rerun
could work.
--
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]