java.lang.IllegalArgumentException: Invalid label expression: SUSE LINUX

Jenkins JIRA | sampost | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Slave starts up successfully and is usable (hence the "minor" priority) but the platform labeler doesn't function as expected. See backtrace below <===[HUDSON REMOTING CAPACITY]===>���channel started Slave.jar version: 1.372 This is a Unix slave Copied maven-agent.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar ERROR: Unexpected error in launching a slave. This is probably a bug in Hudson. java.lang.IllegalArgumentException: Invalid label expression: SUSE LINUX at hudson.model.Hudson.getLabel(Hudson.java:1381) at org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.requestNodeLabels(NodeLabelCache.java:99) at org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.cacheLabels(NodeLabelCache.java:76) at org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.onOnline(NodeLabelCache.java:67) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:349) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:320) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:213) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: line 1:6: unexpected token: LINUX at hudson.model.label.LabelExpressionParser.term4(LabelExpressionParser.java:170) at hudson.model.label.LabelExpressionParser.term3(LabelExpressionParser.java:119) at hudson.model.label.LabelExpressionParser.term2(LabelExpressionParser.java:89) at hudson.model.label.LabelExpressionParser.term1(LabelExpressionParser.java:60) at hudson.model.label.LabelExpressionParser.expr(LabelExpressionParser.java:50) at hudson.model.Label.parseExpression(Label.java:458) at hudson.model.Hudson.getLabel(Hudson.java:1379) ... 12 more

    Jenkins JIRA | 6 years ago | sampost
    java.lang.IllegalArgumentException: Invalid label expression: SUSE LINUX
  2. 0

    Slave starts up successfully and is usable (hence the "minor" priority) but the platform labeler doesn't function as expected. See backtrace below <===[HUDSON REMOTING CAPACITY]===>���channel started Slave.jar version: 1.372 This is a Unix slave Copied maven-agent.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar ERROR: Unexpected error in launching a slave. This is probably a bug in Hudson. java.lang.IllegalArgumentException: Invalid label expression: SUSE LINUX at hudson.model.Hudson.getLabel(Hudson.java:1381) at org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.requestNodeLabels(NodeLabelCache.java:99) at org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.cacheLabels(NodeLabelCache.java:76) at org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.onOnline(NodeLabelCache.java:67) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:349) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:320) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:213) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: line 1:6: unexpected token: LINUX at hudson.model.label.LabelExpressionParser.term4(LabelExpressionParser.java:170) at hudson.model.label.LabelExpressionParser.term3(LabelExpressionParser.java:119) at hudson.model.label.LabelExpressionParser.term2(LabelExpressionParser.java:89) at hudson.model.label.LabelExpressionParser.term1(LabelExpressionParser.java:60) at hudson.model.label.LabelExpressionParser.expr(LabelExpressionParser.java:50) at hudson.model.Label.parseExpression(Label.java:458) at hudson.model.Hudson.getLabel(Hudson.java:1379) ... 12 more

    Jenkins JIRA | 6 years ago | sampost
    java.lang.IllegalArgumentException: Invalid label expression: SUSE LINUX

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid label expression: SUSE LINUX

      at hudson.model.Hudson.getLabel()
    2. Hudson
      Hudson.getLabel
      1. hudson.model.Hudson.getLabel(Hudson.java:1381)
      1 frame
    3. org.jvnet.hudson
      NodeLabelCache.onOnline
      1. org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.requestNodeLabels(NodeLabelCache.java:99)
      2. org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.cacheLabels(NodeLabelCache.java:76)
      3. org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache.onOnline(NodeLabelCache.java:67)
      3 frames
    4. Hudson
      SlaveComputer.setChannel
      1. hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:349)
      1 frame
    5. hudson.plugins.sshslaves
      SSHLauncher.launch
      1. hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:320)
      2. hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:213)
      2 frames
    6. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      5. java.lang.Thread.run(Thread.java:636)
      5 frames