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

Getting IOException when Jenkins is trying to connect to Slaves in Azure Cloud

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • _unsorted
    • None
    • Jenkins Version : 2.190.1

      While provisioning from jenkins master we are getting exception: AzureCloudException java.io.IOException: Agent failed to connect

      And below is the exception that we are getting :

      AzureCloudException

      java.io.IOException: Agent failed to connect, even though the launcher didn't report it. See the log output for details.
      at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:321)
      Caused: java.util.concurrent.ExecutionException
      at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      at java.util.concurrent.FutureTask.get(FutureTask.java:192)
      at com.microsoft.azure.vmagent.AzureVMCloud$2.call(AzureVMCloud.java:856)
      Caused: com.microsoft.azure.vmagent.exceptions.AzureCloudException
      at com.microsoft.azure.vmagent.exceptions.AzureCloudException.create(AzureCloudException.java:54)
      at com.microsoft.azure.vmagent.exceptions.AzureCloudException.create(AzureCloudException.java:33)
      at com.microsoft.azure.vmagent.AzureVMCloud$2.call(AzureVMCloud.java:885)
      at com.microsoft.azure.vmagent.AzureVMCloud$2.call(AzureVMCloud.java:808)
      at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

            jieshe Jie Shen
            adugar anil dugar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: