[ 
https://issues.apache.org/jira/browse/BEAM-8119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yifan Zou closed BEAM-8119.
---------------------------
    Fix Version/s: 2.16.0
                   Not applicable
       Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: Not applicable, 2.16.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> * 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.4#803005)

Reply via email to