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

Cannot create a libvirt agent

XMLWordPrintable

    • 1.9.1

      With Jenkins 2.276, got an "oops"

      Caused: java.lang.Error: Failed to instantiate class hudson.plugins.libvirt.VirtualMachineSlave from {"name":"libvirt-buildslave-2","hypervisorDescription":"QEMU+SSH - localhost","virtualMachineName":"aName","snapshotName":"clean","beforeJobSnapshotName":"","nodeDescription":"","startupWaitingPeriodSeconds":"60","startupTimesToRetryOnFailure":"0","numExecutors":"1","remoteFS":"D:\\","labelString":"aLabel","shutdownMethod":"shutdown","rebootAfterRun":false,"mode":"NORMAL","":["hudson.slaves.JNLPLauncher","hudson.slaves.RetentionStrategy$Always"],"delegateLauncher":{"stapler-class<span class="code-quote">":["hudson.slaves.JNLPLauncher","hudson.slaves.CommandLauncher","hudson.plugins.sshslaves.SSHLauncher","hudson.os.windows.ManagedWindowsServiceLauncher"],"workDirSettings":{"disabled":false,"workDirPath":"","internalDir":"remoting","failIfWorkDirIsMissing":false},"webSocket":false,"tunnel":"","vmargs":""},"retentionStrategy":{"stapler-class<span class="code-quote">":["hudson.slaves.RetentionStrategy$Always","hudson.slaves.RetentionStrategy$Demand","hudson.slaves.SimpleScheduledRetentionStrategy","com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy"]},"nodeProperties":{"stapler-class-bag":"true","hudson-tools-ToolLocationNodeProperty":{"locations":[{"key":"hudson.model.JDK$DescriptorImpl@OracleJDK 7","home":"C:\\Program Files\\Java\\jdk1.7.0_80"},{"key":"hudson.model.JDK$DescriptorImpl@OracleJDK 8","home":"C:\\Program Files\\Java\\jdk1.8.0_201"}]}},"type":"hudson.plugins.libvirt.VirtualMachineSlave","Jenkins-Crumb":"..."}
      at hudson.model.Descriptor.newInstance(Descriptor.java:606)
      at hudson.model.ComputerSet.doDoCreateItem(ComputerSet.java:297)
      

            bgermann Bastian Germann
            falcon benoit guerin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: