goapp deploy failing after multiple compilation attemps

194 views
Skip to first unread message

lu...@tigaris.com

unread,
Jun 22, 2016, 9:59:41 PM6/22/16
to google-appengine-go
Note that I have deployed this app hundreds of times in the last three months, and I have never seen this problem before.  As part of the troubleshooting process, I upgraded to 1.9.38, but I was getting the same problem with 1.9.35.  I have tried deploying multiple times over the last couple hours.  I am hopeful that this is a known transient issue with google app engine.

go version:
go version go1.6.2 darwin/amd64

goapp version:
go version go1.6.1 (appengine-1.9.38) darwin/amd64

Below is goapp deploy output:

Lukes-MacBook-Pro:inmatch-backend luketigaris$ goapp deploy
07:03 PM Application: inmatch-1217; version: alpha-015
07:03 PM Host: appengine.google.com
07:03 PM Starting update of app: inmatch-1217, version: alpha-015
07:03 PM Getting current resource limits.
07:03 PM Scanning files on local disk.
Could not guess mimetype for swagger/lib/underscore-min.map.  Using application/octet-stream.
Could not guess mimetype for swagger/lib/underscore-min.map.  Using application/octet-stream.
07:03 PM Cloning 46 static files.
07:03 PM Cloning 174 application files.
07:03 PM Compilation starting.
07:03 PM Compilation: 166 files left.
07:04 PM Compilation: 167 files left.
07:05 PM Compilation: 167 files left.
07:05 PM Compilation: 167 files left.
07:06 PM Compilation: 167 files left.
07:07 PM Compilation: 167 files left.
07:07 PM Compilation: 167 files left.
07:08 PM Compilation: 167 files left.
07:09 PM Compilation: 167 files left.
07:10 PM Compilation: 167 files left.
07:10 PM Compilation: 167 files left.
07:11 PM Error 422: --- begin server output ---
Failed multiple precompilation attempts.
--- end server output ---
07:11 PM Rolling back the update.
Error 422: --- begin server output ---

--- end server output ---
error while running appcfg.py: exit status 1

Dave Day

unread,
Jun 22, 2016, 11:48:03 PM6/22/16
to lu...@tigaris.com, google-appengine-go
Sorry about the issue Luke, I'm taking a look now.

Did you end up being able to deploy (at around 8pm local?). I'm trying to work out if there's any ongoing issues.

Thanks,
Dave

Jonathan Ingram

unread,
Jun 23, 2016, 2:21:19 AM6/23/16
to google-appengine-go, lu...@tigaris.com
If I can chime in: it's 4:15pm Sydney time and I still can't deploy. Haven't been able to for the past 2 or so hours.

If I can provide any useful info please let me know:

Versions:

$ goapp version

go version go1.6.1 (appengine-1.9.38) darwin/amd64

$ go version

go version go1.6.2 darwin/amd64


Deploy attempt


$ $HOME/go_appengine/appcfg.py -A $APP -v update web/app.yaml

...
2016-06-23 16:16:13,336 INFO appcfg.py:1706 Send: /api/appversion/create, params={'version': '1', 'app_id': 'THE-PROJECT'} 
04:16 PM Cloning 343 application files.
2016-06-23 16:16:13,994 INFO appcfg.py:1706 Send: /api/appversion/clonefiles, params={'version': '1', 'app_id': 'THE-PROJECT'} 
04:16 PM Compilation starting.
04:16 PM Compilation: 249 files left.
2016-06-23 16:16:16,224 INFO appcfg.py:1706 Send: /api/appversion/precompile, params={'version': '1', 'app_id': 'THE-PROJECT'} 
04:16 PM Compilation: 250 files left.
2016-06-23 16:16:58,467 INFO appcfg.py:1706 Send: /api/appversion/precompile, params={'version': '1', 'app_id': 'THE-PROJECT'} 
04:17 PM Compilation: 250 files left.
2016-06-23 16:17:39,453 INFO appcfg.py:1706 Send: /api/appversion/precompile, params={'version': '1', 'app_id': 'THE-PROJECT'} 
04:18 PM Compilation: 250 files left.
2016-06-23 16:18:20,891 INFO appcfg.py:1706 Send: /api/appversion/precompile, params={'version': '1', 'app_id': 'THE-PROJECT'} 
04:19 PM Compilation: 250 files left.
2016-06-23 16:19:01,701 INFO appcfg.py:1706 Send: /api/appversion/precompile, params={'version': '1', 'app_id': 'THE-PROJECT'} 

Adam Eijdenberg

unread,
Jun 23, 2016, 5:08:23 AM6/23/16
to Jonathan Ingram, google-appengine-go, lu...@tigaris.com
If it's helpful, I was having the same problems from one of my workstations. I'm now at a different one, running SDK 1.9.37 and that one just succeeded deploying the same app that previously failed.

--
You received this message because you are subscribed to a topic in the Google Groups "google-appengine-go" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine-go/RckOHSyN8Nw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

lu...@tigaris.com

unread,
Jun 23, 2016, 7:54:34 AM6/23/16
to google-appengine-go, lu...@tigaris.com
Yes I was finally able to deploy an hour after this post.   I didn't change anything, so it appears to be some temporary failure of the google app engine /api/appversion/precompile endpoint.

Cheers!
Luke

adam.ei...@gmail.com

unread,
Jun 23, 2016, 6:56:44 PM6/23/16
to google-appengine-go, lu...@tigaris.com
If it's helpful I'm also having a very similar problem (slightly different error IDs) - also on Go - have deployed successfully hundreds of times over the past few months, but failed twice (attempting third time now) with same error. Mail me directly if you'd like my app ID.

GOPATH=$PWD:$PWD/vendor appcfg.py update src/consolidated

...

03:32 PM Cloning 263 static files.

03:32 PM Cloning 390 application files.

03:32 PM Compilation starting.

03:32 PM Compilation: 319 files left.

03:35 PM Error 500: --- begin server output ---


<html><head>

<meta http-equiv="content-type" content="text/html;charset=utf-8">

<title>500 Server Error</title>

</head>

<body text=#000000 bgcolor=#ffffff>

<h1>Error: Server Error</h1>

<h2>The server encountered an error and could not complete your request.<p>Please try again in 30 seconds.</h2>

<h2></h2>

</body></html>

--- end server output ---

03:35 PM Rolling back the update.

Error 500: --- begin server output ---


--- end server output ---


wil...@gmail.com

unread,
Jun 23, 2016, 6:56:44 PM6/23/16
to google-appengine-go, lu...@tigaris.com
I am getting the same "Failed multiple precompilation attempts" problem for deployment of a Go app with a very minor change since the last deployment:

07:14 AM Application: genux-b (was: genuxb); version: 13
07:14 AM Host: appengine.google.com
07:14 AM Starting update of app: genux-b, version: 13
07:14 AM Getting current resource limits.
07:14 AM Scanning files on local disk.
07:14 AM Cloning 2 static files.
07:14 AM Cloning 11 application files.
07:14 AM Compilation starting.
07:14 AM Compilation: 9 files left.
07:15 AM Compilation: 10 files left.
07:16 AM Compilation: 10 files left.
07:16 AM Compilation: 10 files left.
07:17 AM Compilation: 10 files left.
07:18 AM Compilation: 10 files left.
07:18 AM Compilation: 10 files left.
07:19 AM Compilation: 10 files left.
07:20 AM Compilation: 10 files left.
07:20 AM Compilation: 10 files left.
07:21 AM Compilation: 10 files left.
07:22 AM Error 422: --- begin server output ---

Failed multiple precompilation attempts.
--- end server output ---
07:22 AM Rolling back the update.

Error 422: --- begin server output ---

--- end server output ---




Reply all
Reply to author
Forward
0 new messages