Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29719

java.util.concurrent.TimeoutException when running long deployment and RequestTimeout set properly

      I get the following exception when I want to deploy a big package (>100MB). I have the RequestTimeout set to 600000 but it seems to be not passed to the call of Future.get() properly.

      FATAL: Failed to deploy package: java.util.concurrent.TimeoutException: No response received after 60000
      java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException: No response received after 60000
      	at com.ning.http.client.providers.netty.NettyResponseFuture.get(NettyResponseFuture.java:223)
      	at com.ning.http.client.providers.netty.NettyResponseFuture.get(NettyResponseFuture.java:187)
      	at net.adamcin.granite.client.packman.async.AsyncPackageManagerClient.executeDetailedRequest(AsyncPackageManagerClient.java:256)
      	at net.adamcin.granite.client.packman.async.AsyncPackageManagerClient.access$1000(AsyncPackageManagerClient.java:53)
      	at net.adamcin.granite.client.packman.async.AsyncPackageManagerClient$AsyncResponseBuilder.getDetailedResponse(AsyncPackageManagerClient.java:464)
      	at net.adamcin.granite.client.packman.AbstractPackageManagerClient.install(AbstractPackageManagerClient.java:972)
      	at org.jenkinsci.plugins.graniteclient.DeployPackageCallable$Execution.doExecute(DeployPackageCallable.java:89)
      	at org.jenkinsci.plugins.graniteclient.DeployPackageCallable$Execution.doExecute(DeployPackageCallable.java:61)
      	at org.jenkinsci.plugins.graniteclient.GraniteClientExecutor.execute(GraniteClientExecutor.java:87)
      	at org.jenkinsci.plugins.graniteclient.DeployPackageCallable.invoke(DeployPackageCallable.java:123)
      	at org.jenkinsci.plugins.graniteclient.DeployPackageCallable.invoke(DeployPackageCallable.java:42)
      	at hudson.FilePath.act(FilePath.java:991)
      	at hudson.FilePath.act(FilePath.java:969)
      	at org.jenkinsci.plugins.graniteclient.DeployPackagesBuilder.perform(DeployPackagesBuilder.java:273)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      	at hudson.model.Build$BuildExecution.build(Build.java:205)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      	at hudson.model.Run.execute(Run.java:1744)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:374)
      Caused by: java.util.concurrent.TimeoutException: No response received after 60000
      	at com.ning.http.client.providers.netty.NettyResponseFuture.get(NettyResponseFuture.java:215)
      	... 22 more
      

          [JENKINS-29719] java.util.concurrent.TimeoutException when running long deployment and RequestTimeout set properly

          I am seeing the same issue, setting Request Timeout value seems to have zero impact on this timeout exception

          Morgan O'Brien added a comment - I am seeing the same issue, setting Request Timeout value seems to have zero impact on this timeout exception

          Dean Anderson added a comment -

          Any resolution to this yet?

          Dean Anderson added a comment - Any resolution to this yet?

          eric gong added a comment -

          Facing the same issue as well.

          eric gong added a comment - Facing the same issue as well.

          Code changed in jenkins
          User: wowandos26
          Path:
          src/main/java/org/jenkinsci/plugins/graniteclient/GraniteClientExecutor.java
          http://jenkins-ci.org/commit/crx-content-package-deployer-plugin/9433eae08399bc3d7167a2c0d33790efb9e90492
          Log:
          fixed setting custom timeout value (JENKINS-29719)

          fixed issue https://issues.jenkins-ci.org/browse/JENKINS-29719
          it is possible now to set custom request timeout.
          code on the line 91 doesn't do it (I don't understand why)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: wowandos26 Path: src/main/java/org/jenkinsci/plugins/graniteclient/GraniteClientExecutor.java http://jenkins-ci.org/commit/crx-content-package-deployer-plugin/9433eae08399bc3d7167a2c0d33790efb9e90492 Log: fixed setting custom timeout value ( JENKINS-29719 ) fixed issue https://issues.jenkins-ci.org/browse/JENKINS-29719 it is possible now to set custom request timeout. code on the line 91 doesn't do it (I don't understand why)

          Code changed in jenkins
          User: Mark Adamcin
          Path:
          src/main/java/org/jenkinsci/plugins/graniteclient/GraniteClientExecutor.java
          http://jenkins-ci.org/commit/crx-content-package-deployer-plugin/76430f546104657be4e79f19da3f276747686307
          Log:
          Merge pull request #7 from wowandos26/master

          fixed setting custom timeout value (JENKINS-29719)

          Compare: https://github.com/jenkinsci/crx-content-package-deployer-plugin/compare/06bff90a4666...76430f546104

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mark Adamcin Path: src/main/java/org/jenkinsci/plugins/graniteclient/GraniteClientExecutor.java http://jenkins-ci.org/commit/crx-content-package-deployer-plugin/76430f546104657be4e79f19da3f276747686307 Log: Merge pull request #7 from wowandos26/master fixed setting custom timeout value ( JENKINS-29719 ) Compare: https://github.com/jenkinsci/crx-content-package-deployer-plugin/compare/06bff90a4666...76430f546104

          Oleg Nenashev added a comment -

          I'd guess it is fixed now. CC madamcin

          Oleg Nenashev added a comment - I'd guess it is fixed now. CC madamcin

            Unassigned Unassigned
            diru Dirk Rudolph
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: