This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      Hi,

      I made a mistake by deleting a resource group on azure which was managed by Jenkins.

      Now the node still appear on Jenkins but I can't delete it anymore, so in each build, my jobs are complaining that the node is down before spawning an other one.

      Here is the stacktrace when I try to delete the agent from Jenkins

       

      Feb 09, 2018 9:46:02 AM INFO jenkins.branch.MultiBranchProject$BranchIndexing run
      Assurance_14 #20180209.094600 branch indexing action completed: SUCCESS in 1.3 sec
      Feb 09, 2018 9:46:36 AM INFO hudson.model.AsyncPeriodicWork$1 run
      Started Azure VM Agents Clean Task
      Feb 09, 2018 9:46:36 AM INFO com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      AzureVMAgentCleanUpTask: execute: start
      Feb 09, 2018 9:46:36 AM INFO com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      AzureVMAgentCleanUpTask: execute: Running clean with 5 minute timeout
      Feb 09, 2018 9:46:36 AM SEVERE com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      AzureVMAgentCleanUpTask: execute: Got execution exception while cleaning
      java.lang.NullPointerException
      	at com.microsoft.azure.vmagent.AzureVMAgent.getServiceDelegate(AzureVMAgent.java:499)
      	at com.microsoft.azure.vmagent.AzureVMManagementServiceDelegate.virtualMachineExists(AzureVMManagementServiceDelegate.java:718)
      	at com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask.cleanVMs(AzureVMAgentCleanUpTask.java:501)
      	at com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask.cleanVMs(AzureVMAgentCleanUpTask.java:461)
      	at com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask.clean(AzureVMAgentCleanUpTask.java:569)
      	at com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask.access$200(AzureVMAgentCleanUpTask.java:64)
      	at com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask$3.call(AzureVMAgentCleanUpTask.java:583)
      	at com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask$3.call(AzureVMAgentCleanUpTask.java:580)
      	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)
      Caused: java.util.concurrent.ExecutionException
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:206)
      	at com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask.execute(AzureVMAgentCleanUpTask.java:593)
      	at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:101)
      	at java.lang.Thread.run(Thread.java:745)

            Assignee:
            Chenyang Liu
            Reporter:
            Anthony BOUQUET
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: