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

SEVERE: Error in provisioning; agent=KubernetesSlave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • kubernetes-plugin
    • None

       

      May 11, 2018 1:05:59 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher logLastLines
       SEVERE: Error in provisioning; agent=KubernetesSlave name: incubator-providerreferenceseribcommonsuite2-api23-198-qd-w3h1m, template=PodTemplate{, name='incubator-providerreferenceseribcommonsuite2-api23-198-qd4zp', namespace='default', label='incubator-providerreferenceseribcommonsuite2-api23-198', volumes=[HostPathVolume [mountPath=/var/run/docker.sock, hostPath=/var/run/docker.sock]], containers=[ContainerTemplate{name='jnlp', image='1.1.1.1:5000/android:latest', privileged=true, workingDir='/root/agent', resourceRequestCpu='1.5', resourceRequestMemory='3.5G', resourceLimitCpu='1.5', resourceLimitMemory='3.5G', envVars=[KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME],
      ...
      KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar [getValue()=/root, getKey()=HOME], KeyValueEnvVar  [getMay 11, 2018 5:55:09 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch
      

       

      def androidEmulator(String name, Closure c) {
       final String podName = name.toLowerCase().trim()
      
       podTemplate(cloud: 'android',
       name: podName,
       label: podName,
       containers: [containerTemplate(
       name: 'jnlp',
       image: '1.1.1.1:5000/android:latest',
       envVars: [envVar(key: 'HOME', value: '/root')],
       workingDir: '/root/agent',
       privileged: true,
       resourceRequestCpu: '1.5',
       resourceRequestMemory: '3.5G')],
       volumes: [hostPathVolume(hostPath: '/var/run/docker.sock',
       mountPath: '/var/run/docker.sock')]) {
       work(podName) {
       c()
       }
       }
      }

       

            csanchez Carlos Sanchez
            sasah Sasa Hohol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: