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

ZipExtractionInstaller not working behind proxy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • core
    • None

      I the host's Global Tool Configuration/CMake/Extract .tar.gz/Download URL for binary archive setting i put:
      https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz

      But on the slave i get the following failure when the job runs:

      Unpacking https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz to /home/admin/zrackove/jenkins/tools/hudson.plugins.cmake.CmakeTool/From_cmake.org on arch-skx01
      ERROR: Failed to download https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz from agent; will retry from master
      java.io.IOException: remote file operation failed: /home/admin/zrackove/jenkins/tools/hudson.plugins.cmake.CmakeTool/From_cmake.org at hudson.remoting.Channel@38b11c70:arch-skx01: java.net.ConnectException: Connection timed out
      	at hudson.FilePath.act(FilePath.java:1014)
      	at hudson.FilePath.act(FilePath.java:996)
      	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:835)
      	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:768)
      	at hudson.tools.ZipExtractionInstaller.performInstallation(ZipExtractionInstaller.java:81)
      	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
      	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109)
      	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
      	at hudson.plugins.cmake.CmakeTool.forNode(CmakeTool.java:95)
      	at hudson.plugins.cmake.CmakeTool.forNode(CmakeTool.java:34)
      	at hudson.tools.ToolInstallation.translate(ToolInstallation.java:172)
      	at hudson.tools.ToolInstallation.translate(ToolInstallation.java:187)
      	at hudson.plugins.cmake.CmakeBuilder.perform(CmakeBuilder.java:208)
      	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:534)
      	at hudson.model.Run.execute(Run.java:1741)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      Caused by: java.net.ConnectException: Connection timed out
      	at java.net.PlainSocketImpl.socketConnect(Native Method)
      	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
      	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
      	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
      	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      	at java.net.Socket.connect(Socket.java:589)
      	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
      	at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
      	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
      	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
      	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
      	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
      	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
      	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
      	at java.net.URL.openStream(URL.java:1038)
      	at hudson.FilePath$Unpack.invoke(FilePath.java:871)
      	at hudson.FilePath$Unpack.invoke(FilePath.java:865)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      	at hudson.remoting.Request$2.run(Request.java:332)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      	at ......remote call to arch-skx01(Native Method)
      	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
      	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
      	at hudson.remoting.Channel.call(Channel.java:781)
      	at hudson.FilePath.act(FilePath.java:1007)
      	... 21 more
      

      I suspect that the download is failing due to lack of support for proxy settings.

            Unassigned Unassigned
            zvi Zvi Rackover
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: