Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine: Build Timed Out during Deployment

Edit: Google Cloud at its finest. Made absolutely no changes but deployed fine this morning.

Error after ~10m of deployment (10+ deploy attempts).

I've changed the app to add a simply function with less than 10 lines of code. It has no affect on libraries and uses native python only and hence I'm not sure how it can affect the deployment.

I've tested the app and it runs fine locally.

Here is the error that I get:

ERROR: (gcloud.app.deploy) Cloud build failed. Check logs at https://console.cloud.google.com/xxxxxxxx/ Failure status: UNKNOWN: Error Response: [4] DEADLINE_EXCEEDED

Previously to that, logs don't show any errors, in fact everything is going as expected.

Newest entries first:

9302e2430a0e: Pushed 
4f56eb74b6bf: Pushed 
21df82f90a72: Layer already exists 
f0e2b3558b28: Layer already exists 
99c71ba2c817: Layer already exists 
2483da9621d1: Layer already exists 
af09d2110abe: Layer already exists 
d968669f4b42: Pushed 
4b1e707066a6: Layer already exists 
55530b72c8c8: Layer already exists 
62c169a7d462: Layer already exists
like image 682
GRS Avatar asked Apr 26 '18 15:04

GRS


People also ask

How do I increase App Engine timeout?

You cannot go beyond 30 secs, but you can indirectly increase timeout by employing task queues - and writing task that gradually iterate through your data set and processes it. Each such task run should of course fit into timeout limit.

Is Google App Engine deprecated?

In Google I/O 2011, Google announced App Engine Backends, which are allowed to run continuously, and consume more memory. The Backend API was deprecated as of March 13, 2014 in favor of the Modules API.


1 Answers

According to this you can change the build timeout setting with:

gcloud config set app/cloud_build_timeout 1000

Setting it to 1000 seconds in this example.

like image 58
Artem Kalinchuk Avatar answered Oct 11 '22 17:10

Artem Kalinchuk