Closed codeconsole closed 2 years ago
It eventually fails, but after TWENTY minutes.
Beginning deployment of service [default]...
#============================================================#
#= Uploading 0 files to Google Cloud Storage =#
#============================================================#
File upload done.
Updating service [default]...
............................................................done.
Setting traffic split for service [default]...
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................failed.
ERROR: (gcloud.app.deploy) Error Response: [14] Delays were encountered while waiting for traffic split/default version changes to apply. The requested changes will eventually apply, but may take some time.
> Task :default:appengineDeploy FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':default:appengineDeploy'.
> com.google.cloud.tools.appengine.AppEngineException: com.google.cloud.tools.appengine.operations.cloudsdk.process.ProcessHandlerException: com.google.cloud.tools.appengine.AppEngineException: Non zero exit: 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 20m 34s
Does this also happen with older versions?
On Mon, May 20, 2019, 00:08 Scott Murphy notifications@github.com wrote:
It eventually fails, but after TWENTY minutes.
Beginning deployment of service [default]...
============================================================
= Uploading 0 files to Google Cloud Storage =
============================================================
File upload done. Updating service [default]... ............................................................done. Setting traffic split for service [default]... .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................failed. ERROR: (gcloud.app.deploy) Error Response: [14] Delays were encountered while waiting for traffic split/default version changes to apply. The requested changes will eventually apply, but may take some time.
Task :default:appengineDeploy FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':default:appengineDeploy'.
com.google.cloud.tools.appengine.AppEngineException: com.google.cloud.tools.appengine.operations.cloudsdk.process.ProcessHandlerException: com.google.cloud.tools.appengine.AppEngineException: Non zero exit: 1
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 20m 34s
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/app-gradle-plugin/issues/347?email_source=notifications&email_token=AAJ6R6VSUBG3F355MLZSRO3PWHFWZA5CNFSM4HN5PE6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVXLWBQ#issuecomment-493796102, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ6R6WDGQEYH4DYSJ6ZSNTPWHFWZANCNFSM4HN5PE6A .
@loosebazooka I never used this feature with older versions. It is really hit or miss. Deployment is always fast though. Waiting for split is the problem.
hrmm... think you might have to file a bug directly with the appengine team: https://issuetracker.google.com/savedsearches/559750
ludoch@ any ideas?
2.0.1 using standard environment
apply plugin: "com.google.cloud.tools.appengine-appenginewebxml"
Plugin works great. It takes me around 30 seconds to deploy and successfully stops the previous version. However, if I have promote=true, and almost never terminates EVEN when it is deploying to the SAME version number. I have it successfully finish once in 2 minutes, but that was rare.
If I set promote to false, it takes 30 seconds and the same thing is accomplished because it is deploying to the same version number.
Perhaps a feature to where promote is true, but it will not wait would be nice? On the server side, the split works right away, but gradle still hangs.