Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-2570

Windows Docker agent provisioning fails

    Details

    • Similar Issues:

      Description

      "windock" machines cannot be provisioned on ci.jenkins.io or trusted.ci.

       

      ```com.microsoft.azure.vmagent.exceptions.AzureCloudException: AzureVMCloud: createProvisionedAgent: Deployment Failed: Microsoft.Compute/virtualMachines:win2019-982351 - Conflict - {status=Failed, error={code=ResourceDeploymentFailure, message=The resource operation completed with terminal provisioning state 'Failed'., details=[{code=OSProvisioningClientError, message=OS Provisioning for VM 'win2019-982351' did not finish in the allotted time. However, the VM guest agent was detected running. This suggests the guest OS has not been properly prepared to be used as a VM image (with CreateOption=FromImage). To resolve this issue, either use the VHD as is with CreateOption=Attach or prepare it properly for use as an image: * Instructions for Windows: https://azure.microsoft.com/documentation/articles/virtual-machines-windows-upload-image/  * Instructions for Linux: https://azure.microsoft.com/documentation/articles/virtual-machines-linux-capture-image/ }]}} at com.microsoft.azure.vmagent.exceptions.AzureCloudException.create(AzureCloudException.java:37) at com.microsoft.azure.vmagent.AzureVMCloud.createProvisionedAgent(AzureVMCloud.java:586) at com.microsoft.azure.vmagent.AzureVMCloud$2.call(AzureVMCloud.java:831) at com.microsoft.azure.vmagent.AzureVMCloud$2.call(AzureVMCloud.java:809) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)```
      

       

      From https://ci.jenkins.io//cloud-stats/activity/1315008351/phase/PROVISIONING/attachment/exception/ . Jenkins agent builds fail with timeout.

       

      CC Alex Earl Olblak

        Attachments

          Issue Links

            Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Link This issue blocks INFRA-1105 [ INFRA-1105 ]
            slide_o_mix Alex Earl made changes -
            Assignee Alex Earl [ slide_o_mix ]
            Hide
            slide_o_mix Alex Earl added a comment -

            I believe this is resolved

            Show
            slide_o_mix Alex Earl added a comment - I believe this is resolved
            slide_o_mix Alex Earl made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                slide_o_mix Alex Earl
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: