Deployment times out on high load instances

Issue #21 resolved
David Richard created an issue

When deploying to an instance that is quite slow/busy the deployment task times out most of the time.

Log:

16-Oct-2013 22:17:20    Polling https://extranet.atlassian.com/rest/plugins/1.0/pending/dbf259ab-e3f4-4f9f-bcb3-141ad52abc70?_=-3365287666281884599 for plugin upload response...
16-Oct-2013 22:17:20    HTTP/1.1 200 OK
16-Oct-2013 22:17:20    Polling https://extranet.atlassian.com/rest/plugins/1.0/pending/dbf259ab-e3f4-4f9f-bcb3-141ad52abc70?_=1218086252447546157 for plugin upload response...
16-Oct-2013 22:17:20    HTTP/1.1 200 OK
16-Oct-2013 22:17:20    Polling https://extranet.atlassian.com/rest/plugins/1.0/pending/dbf259ab-e3f4-4f9f-bcb3-141ad52abc70?_=-2465475667374377207 for plugin upload response...
16-Oct-2013 22:17:20    HTTP/1.1 200 OK
16-Oct-2013 22:17:20    Error occurred while running Task 'Deploy to https://extranet.atlassian.com/(3)' of type com.atlassian.bamboo.plugins.deploy.continuous-plugin-deployment:confdeploy.
16-Oct-2013 22:17:20    com.atlassian.bamboo.task.TaskException: Plugin upload did not succeed within the timeout.
16-Oct-2013 22:17:20            at com.atlassian.bamboo.plugins.confdeploy.UniversalPluginUploader.poll(UniversalPluginUploader.java:477)
16-Oct-2013 22:17:20            at com.atlassian.bamboo.plugins.confdeploy.UniversalPluginUploader.upload(UniversalPluginUploader.java:192)
16-Oct-2013 22:17:20            at com.atlassian.bamboo.plugins.confdeploy.AutoDeployTask.run(AutoDeployTask.java:168)
16-Oct-2013 22:17:20            at com.atlassian.bamboo.plugins.confdeploy.AutoDeployTask.execute(AutoDeployTask.java:76)
16-Oct-2013 22:17:20            at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:212)
16-Oct-2013 22:17:20            at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98)
16-Oct-2013 22:17:20            at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
16-Oct-2013 22:17:20            at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:181)
16-Oct-2013 22:17:20            at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:101)
16-Oct-2013 22:17:20            at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108)
16-Oct-2013 22:17:20            at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:55)
16-Oct-2013 22:17:20            at java.lang.Thread.run(Thread.java:662)
16-Oct-2013 22:17:20    Finalising the build...
16-Oct-2013 22:17:20    Stopping timer.
16-Oct-2013 22:17:20    Build 514588673-527040515-541884511 completed.
16-Oct-2013 22:17:20    Finished processing deployment result Deployment of '1.0.119' on 'EAC'

Proposed workaround:

Make the timeout (default 90 seconds) customizable

Comments (6)

  1. David Richard Account Deactivated reporter

    Thanks for addressing this so quickly! Now that BUILDENG-4141 seems resolved is there anything stopping us from rolling out the upgrade?

  2. Joe Clark

    Not really, just my available time. I'll do a release and ask build engineering to roll it out this week.

  3. Log in to comment