Abacn commented on PR #27463:
URL: https://github.com/apache/beam/pull/27463#issuecomment-1631846337

   for whatever reason when delete a topic then create one immediately, and 
repeat some times, it fails to create the topic:
   
   ```
   (py38beam) yathu@yathu-macbookpro ~/beam/release/src/main/python-release -  
(v2.49.0-RC2_validations) $ create_pubsub
   create_pubsub
   Created topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-1].
   Created topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-2].
   Created subscription 
[projects/apache-beam-testing/subscriptions/wordstream-python-sub2].
   (py38beam) yathu@yathu-macbookpro ~/beam/release/src/main/python-release -  
(v2.49.0-RC2_validations) $ cleanup_pubsub ; create_pubsub
   cleanup_pubsub ; create_pubsub
   Deleted topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-1].
   Deleted topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-2].
   Deleted subscription 
[projects/apache-beam-testing/subscriptions/wordstream-python-sub2].
   Created topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-1].
   Created topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-2].
   Created subscription 
[projects/apache-beam-testing/subscriptions/wordstream-python-sub2].
   (py38beam) yathu@yathu-macbookpro ~/beam/release/src/main/python-release -  
(v2.49.0-RC2_validations) $ cleanup_pubsub ; create_pubsub
   cleanup_pubsub ; create_pubsub
   Deleted topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-1].
   Deleted topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-2].
   Deleted subscription 
[projects/apache-beam-testing/subscriptions/wordstream-python-sub2].
   Created topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-1].
   Created topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-2].
   Created subscription 
[projects/apache-beam-testing/subscriptions/wordstream-python-sub2].
   (py38beam) yathu@yathu-macbookpro ~/beam/release/src/main/python-release -  
(v2.49.0-RC2_validations) $ cleanup_pubsub ; create_pubsub
   cleanup_pubsub ; create_pubsub
   Deleted topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-1].
   Deleted topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-2].
   Deleted subscription 
[projects/apache-beam-testing/subscriptions/wordstream-python-sub2].
   Created topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-1].
   ERROR: Failed to create topic 
[projects/apache-beam-testing/topics/wordstream-python-topic-2]: Resource 
already exists in the project (resource=wordstream-python-topic-2).
   ERROR: (gcloud.pubsub.topics.create) Failed to create the following: 
[wordstream-python-topic-2].
   ```
   
   this is probably an issue on pubsub. Managed to run all python3.8 validation 
if add a 30sec sleep between delete and create topic.


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