yifan zou created BEAM-8119:
-------------------------------
Summary: The python RC validation script need cleanup the pubsub
resources after finish.
Key: BEAM-8119
URL: https://issues.apache.org/jira/browse/BEAM-8119
Project: Beam
Issue Type: Sub-task
Components: testing
Reporter: yifan zou
* Python staging artifacts were moved to ‘python/’ directory. This needs to be
fixed in the script, otherwise the script won’t download the sdks and hash
files correctly.
* If the test fails, it sometimes left some died pubsub topics. This might
cause failures in the reruns since the resources already exist:
* ERROR: Failed to create topic
[projects/apache-beam-testing/topics/wordstream-python-topic-1]: Resource
already exists in the project (resource=wordstream-python-topic-1).
* *Workaround*: I manually deleted the topics using cmd: gcloud alpha pubsub
topics delete wordstream-python-topic-1
* TODO:
** Change the download directory in the script.
** Add cleanup if the job was interrupted.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)