| Built a snapshot plugin based on https://github.com/jenkinsci/azure-vm-agents-plugin/commit/82829b83854244c8e203e67fff7689056a8fd515 Upload the azure-vm-agents.hpi, then restart Jenkins. Check the new pic I uploaded. It is the same error. See new attached pic. From jenkins log, it looks like it thinks it provisioned successfully, but it actually didn't. Check attached new pic.
Apr 30, 2019 4:17:09 PM com.microsoft.azure.vmagent.AzureVMManagementServiceDelegate createDeploymentApr 30, 2019 4:17:09 PM com.microsoft.azure.vmagent.AzureVMManagementServiceDelegate createDeploymentINFO: AzureVMManagementServiceDelegate: createDeployment: Initializing deployment for agentTemplate test-vmApr 30, 2019 4:17:09 PM com.microsoft.azure.vmagent.AzureVMManagementServiceDelegate createDeploymentINFO: AzureVMManagementServiceDelegate: createDeployment: Creating a new deployment test-vm0430161709407 with VM base name test-vm40794Apr 30, 2019 4:17:10 PM com.microsoft.azure.vmagent.AzureVMManagementServiceDelegate createDeploymentINFO: AzureVMManagementServiceDelegate: createDeployment: Use embedded deployment template (with managed) /referenceImageIDTemplateWithManagedDisk.jsonApr 30, 2019 4:17:10 PM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask$DeploymentRegistrar registerDeploymentINFO: AzureVMAgentCleanUpTask: registerDeployment: Registering deployment test-vm0430161709407 in cardinal-jenkins-testApr 30, 2019 4:17:13 PM com.microsoft.azure.vmagent.AzureVMCloud createProvisionedAgentINFO: AzureVMCloud: createProvisionedAgent: Waiting for deployment test-vm0430161709407 to be completedApr 30, 2019 4:17:43 PM com.microsoft.aad.adal4j.AuthenticationAuthority doInstanceDiscoveryINFO: [Correlation ID: 90fe5df5-b8e3-403c-b4c8-5ad1e8b43a32] Instance discovery was successfulApr 30, 2019 4:17:43 PM okhttp3.internal.platform.Platform logINFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?Apr 30, 2019 4:18:07 PM com.microsoft.azure.vmagent.AzureVMCloud createProvisionedAgentINFO: AzureVMCloud: createProvisionedAgent: Deployment test-vm0430161709407 not yet finished (Running): Microsoft.Compute/virtualMachines:test-vm407940 - waited 30 secondsApr 30, 2019 4:18:37 PM com.microsoft.aad.adal4j.AuthenticationAuthority doInstanceDiscoveryINFO: [Correlation ID: 22087788-162d-4386-b453-f33292ef2516] Instance discovery was successfulApr 30, 2019 4:18:38 PM okhttp3.internal.platform.Platform logINFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?Apr 30, 2019 4:18:48 PM com.microsoft.azure.vmagent.AzureVMCloud createProvisionedAgentINFO: AzureVMCloud: createProvisionedAgent: VM available: test-vm407940Apr 30, 2019 4:18:49 PM com.microsoft.azure.vmagent.AzureVMManagementServiceDelegate parseResponseINFO: AzureVMManagementServiceDelegate: parseDeploymentResponse: found agent test-vm407940 OS type Linux number of executors 1Apr 30, 2019 4:18:51 PM com.microsoft.azure.vmagent.AzureVMManagementServiceDelegate setVirtualMachineDetailsINFO: The Azure agent doesn't have a public IP. Will use the private IPApr 30, 2019 4:18:51 PM com.microsoft.azure.vmagent.AzureVMManagementServiceDelegate setVirtualMachineDetailsINFO: Azure agent details:nodeNametest-vm407940adminUserName=azure-jenkinsshutdownOnIdle=falseretentionTimeInMin=0labels=packerApr 30, 2019 4:18:51 PM com.microsoft.azure.vmagent.AzureVMCloud$3 callINFO: Azure Cloud: provision: Adding agent test-vm407940 to Jenkins nodesApr 30, 2019 4:18:51 PM com.microsoft.azure.vmagent.AzureVMAgent createComputerINFO: AzureVMAgent: createComputer: start for agent test-vm407940Apr 30, 2019 4:18:51 PM com.microsoft.azure.vmagent.AzureVMCloudPoolRetentionStrategy startINFO: AzureVMCloudRetensionStrategy: start: azureComputer name test-vm407940Apr 30, 2019 4:18:51 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher launchINFO: AzureVMAgentSSHLauncher: launch: launch method called for agent test-vm407940Apr 30, 2019 4:18:51 PM com.microsoft.azure.vmagent.AzureVMManagementServiceDelegate isVMAliveOrHealthyINFO: AzureVMManagementServiceDelegate: isVMAliveOrHealthy: status PowerState/runningApr 30, 2019 4:18:51 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher connectToSshINFO: AzureVMAgentSSHLauncher: connectToSsh: startApr 30, 2019 4:18:51 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher getRemoteSessionINFO: AzureVMAgentSSHLauncher: getRemoteSession: getting remote session for user jenkins to host 10.10.0.42:22Apr 30, 2019 4:18:52 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher getRemoteSessionINFO: AzureVMAgentSSHLauncher: getRemoteSession: Got remote session for user jenkins to host 10.10.0.42:22Apr 30, 2019 4:18:52 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher connectToSshINFO: AzureVMAgentSSHLauncher: connectToSsh: Got remote connectionApr 30, 2019 4:18:52 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher launchINFO: AzureVMAgentSSHLauncher: launch: checking for java runtimeApr 30, 2019 4:18:52 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher executeRemoteCommandINFO: AzureVMAgentSSHLauncher: executeRemoteCommand: starting java fullversionApr 30, 2019 4:18:54 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher executeRemoteCommandINFO: AzureVMAgentSSHLauncher: executeRemoteCommand: executed successfullyApr 30, 2019 4:18:54 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher launchINFO: AzureVMAgentSSHLauncher: launch: java runtime present, copying slave.jar to remoteApr 30, 2019 4:18:54 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher copyFileToRemoteINFO: AzureVMAgentSSHLauncher: copyFileToRemote: Initiating file transfer to slave.jarApr 30, 2019 4:19:04 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher copyFileToRemoteINFO: AzureVMAgentSSHLauncher: copyFileToRemote: copied file Successfully to slave.jarApr 30, 2019 4:19:04 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher launchINFO: AzureVMAgentSSHLauncher: launch: launching agent: java -jar slave.jarApr 30, 2019 4:19:04 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher launchINFO: AzureVMAgentSSHLauncher: launch: Connected successfullyApr 30, 2019 4:19:13 PM com.microsoft.azure.vmagent.remote.AzureVMAgentSSHLauncher launchINFO: AzureVMAgentSSHLauncher: launch: launched agent successfullyApr 30, 2019 4:23:36 PM com.microsoft.rest.interceptors.LoggingInterceptor logINFO: <- HTTP FAILED: java.net.SocketException: Connection resetApr 30, 2019 4:23:36 PM okhttp3.internal.platform.Platform logINFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
|