apache / pulsar-client-python

Apache Pulsar Python client library
https://pulsar.apache.org/
Apache License 2.0
51 stars 39 forks source link

Flaky test: Oauth2Test.test_base64 #140

Open shibd opened 1 year ago

shibd commented 1 year ago

https://github.com/apache/pulsar-client-python/actions/runs/5493895300/jobs/10012373710?pr=138

======================================================================
2023-07-08 10:09:29.109 ERROR [139724761126464] ClientImpl:214 | Error Checking/Getting Partition Metadata while creating producer on persistent://public/default/oauth2-test-base64 -- AuthenticationError
ERROR: test_base64 (__main__.Oauth2Test)
2023-07-08 10:09:29.110 INFO  [139724795805696] ClientImpl:614 | Closing Pulsar client with 0 producers and 0 consumers
----------------------------------------------------------------------
2023-07-08 10:09:29.110 INFO  [139724761126464] ClientConnection:263 | [[::1]:45552 -> [::1]:6650] Destroyed connection
Traceback (most recent call last):
  File "/home/runner/work/pulsar-client-python/pulsar-client-python/tests/oauth2_test.py", line 69, in test_base64
    producer = client.create_producer('oauth2-test-base64')
  File "/home/runner/.local/lib/python3.10/site-packages/pulsar/__init__.py", line 684, in create_producer
    p._producer = self._client.create_producer(topic, conf)
_pulsar.TopicNotFound: Pulsar error: TopicNotFound

======================================================================
ERROR: test_key_file (__main__.Oauth2Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/pulsar-client-python/pulsar-client-python/tests/oauth2_test.py", line 53, in test_key_file
    producer = client.create_producer('oauth2-test-base64')
  File "/home/runner/.local/lib/python3.10/site-packages/pulsar/__init__.py", line 684, in create_producer
    p._producer = self._client.create_producer(topic, conf)
_pulsar.TopicNotFound: Pulsar error: TopicNotFound