cloud icon indicating copy to clipboard operation
cloud copied to clipboard

Improving cloud build timeout

Open pavithrasv opened this issue 4 years ago • 1 comments

Feedback from Yixing Fu:

Runtime Error: There was an error executing the cloud build job. Job status: WORKING.

This error description is not very helpful. Also from GCP console the build is actually successful. This error did not come up the second time I tried it. I am guessing it is caused by creating a docker image that took a long time and triggered some time out? Update: Got this again today. Seems build time > 5 produces this problem, and build time <3 are fine.
Update: Now that I looked a bit into the code, this error is clearly raised by the 10 trial, each 30 second limit. Maybe there should be a check to see if the job status is still “WORKING”, raise a warning that building time is long, and only kill it for much longer time or when job status is something else?

pavithrasv avatar Jul 19 '20 02:07 pavithrasv

Additionally, it would be nice to log progress of the Cloud Build when running tfc.run.

rosbo avatar Nov 05 '20 19:11 rosbo