java.lang.RuntimeException: Docker template DockerSlaveTemplate[id=b0c337e4-d767-427b-a67b-f454c44415d0,labelString=docker-slave,launcher=com.github.kostyasha.yad.launcher.DockerComputerJNLPLauncher@29263773,remoteFs=/home/jenkins,maxCapacity=10,mode=EXCLUSIVE,retentionStrategy=com.github.kostyasha.yad.strategy.DockerOnceRetentionStrategy@27f,numExecutors=1,dockerContainerLifecycle=com.github.kostyasha.yad.DockerContainerLifecycle@35526c25[image=jenkins_slave,pullImage=com.github.kostyasha.yad.commons.DockerPullImage@6248c5ca,createContainer=DockerCreateContainer[command=,hostname=,dnsHosts=[],volumes=[],volumesFrom=[],environment=[],bindPorts=,bindAllPorts=false,memoryLimit=0,cpuShares=<null>,privileged=false,tty=false,macAddress=<null>,extraHosts=[],networkMode=<null>,devices=[],cpusetCpus=,cpusetMems=,links=<null>],stopContainer=com.github.kostyasha.yad.commons.DockerStopContainer@27f,removeContainer=com.github.kostyasha.yad.commons.DockerRemoveContainer@5aea],nodeProperties=[]] has no assigned Cloud.

GitHub | SalahAdDin | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 90#252405643

    GitHub | 5 months ago | SalahAdDin
    java.lang.RuntimeException: Docker template DockerSlaveTemplate[id=b0c337e4-d767-427b-a67b-f454c44415d0,labelString=docker-slave,launcher=com.github.kostyasha.yad.launcher.DockerComputerJNLPLauncher@29263773,remoteFs=/home/jenkins,maxCapacity=10,mode=EXCLUSIVE,retentionStrategy=com.github.kostyasha.yad.strategy.DockerOnceRetentionStrategy@27f,numExecutors=1,dockerContainerLifecycle=com.github.kostyasha.yad.DockerContainerLifecycle@35526c25[image=jenkins_slave,pullImage=com.github.kostyasha.yad.commons.DockerPullImage@6248c5ca,createContainer=DockerCreateContainer[command=,hostname=,dnsHosts=[],volumes=[],volumesFrom=[],environment=[],bindPorts=,bindAllPorts=false,memoryLimit=0,cpuShares=<null>,privileged=false,tty=false,macAddress=<null>,extraHosts=[],networkMode=<null>,devices=[],cpusetCpus=,cpusetMems=,links=<null>],stopContainer=com.github.kostyasha.yad.commons.DockerStopContainer@27f,removeContainer=com.github.kostyasha.yad.commons.DockerRemoveContainer@5aea],nodeProperties=[]] has no assigned Cloud.

    Root Cause Analysis

    1. java.lang.RuntimeException

      Docker template DockerSlaveTemplate[id=b0c337e4-d767-427b-a67b-f454c44415d0,labelString=docker-slave,launcher=com.github.kostyasha.yad.launcher.DockerComputerJNLPLauncher@29263773,remoteFs=/home/jenkins,maxCapacity=10,mode=EXCLUSIVE,retentionStrategy=com.github.kostyasha.yad.strategy.DockerOnceRetentionStrategy@27f,numExecutors=1,dockerContainerLifecycle=com.github.kostyasha.yad.DockerContainerLifecycle@35526c25[image=jenkins_slave,pullImage=com.github.kostyasha.yad.commons.DockerPullImage@6248c5ca,createContainer=DockerCreateContainer[command=,hostname=,dnsHosts=[],volumes=[],volumesFrom=[],environment=[],bindPorts=,bindAllPorts=false,memoryLimit=0,cpuShares=<null>,privileged=false,tty=false,macAddress=<null>,extraHosts=[],networkMode=<null>,devices=[],cpusetCpus=,cpusetMems=,links=<null>],stopContainer=com.github.kostyasha.yad.commons.DockerStopContainer@27f,removeContainer=com.github.kostyasha.yad.commons.DockerRemoveContainer@5aea],nodeProperties=[]] has no assigned Cloud.

      at com.github.kostyasha.yad.DockerSlave.getCloud()
    2. com.github.kostyasha
      DockerComputerJNLPLauncher.launch
      1. com.github.kostyasha.yad.DockerSlave.getCloud(DockerSlave.java:95)
      2. com.github.kostyasha.yad.DockerComputer.getCloud(DockerComputer.java:40)
      3. com.github.kostyasha.yad.launcher.DockerComputerJNLPLauncher.launch(DockerComputerJNLPLauncher.java:118)
      3 frames
    3. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:262)
      1 frame
    4. jenkins.util
      ContextResettingExecutorService$2.call
      1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames