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

Node label queries fail when # labels > 2

XMLWordPrintable

      I have a matrix build which contains three slave labels. In the example below, they are (64&&solarisstudio&&solaris). The matrix builder cannot find a suitable node. It can find a suitable node if only two (any two) labels are used, but fails with three.

      Started by user anonymous
      Building on master
      Checkout:workspace / /var/lib/hudson/jobs/solaris/workspace - hudson.remoting.LocalChannel@158fa97
      Using strategy: Default
      Last Built Revision: Revision 3151e6760e9177d1f10eabc050453b93b241f45a (origin/master)
      Checkout:workspace / /var/lib/hudson/jobs/solaris/workspace - hudson.remoting.LocalChannel@158fa97
      GitAPI created
      Fetching changes from the remote Git repository
      Fetching upstream changes from git@git.kayasoft.com:$REPO
      [workspace] $ /opt/csw/bin/git fetch -t git@git.kayasoft.com:$REPO +refs/heads/:refs/remotes/origin/
      [workspace] $ /opt/csw/bin/git ls-tree HEAD
      [workspace] $ /opt/csw/bin/git rev-parse origin/master
      Commencing build of Revision 3151e6760e9177d1f10eabc050453b93b241f45a (origin/master)
      GitAPI created
      Checking out Revision 3151e6760e9177d1f10eabc050453b93b241f45a (origin/master)
      [workspace] $ /opt/csw/bin/git checkout -f 3151e6760e9177d1f10eabc050453b93b241f45a
      [workspace] $ /opt/csw/bin/git tag -a -f -m "Hudson Build #12" hudson-solaris-12
      Recording changes in branch origin/master
      [workspace] $ /opt/csw/bin/git whatchanged --no-abbrev -M --pretty=raw 3151e6760e9177d1f10eabc050453b93b241f45a..3151e6760e9177d1f10eabc050453b93b241f45a
      Triggering 64,solarisstudio,solaris,release
      Triggering 64,solarisstudio,solaris,debug
      Triggering 64,gcc,solaris,debug
      Triggering 32,solarisstudio,solaris,debug
      Triggering 32,gcc,solaris,release
      Triggering 64,gcc,solaris,release
      Triggering 32,solarisstudio,solaris,release
      Triggering 32,gcc,solaris,debug
      64,solarisstudio,solaris,release is still in the queue: All nodes of label '64&&solarisstudio&&solaris' are offline

            josephalevin josephalevin
            kayabek kayabek
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: