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

Matrix projects can't add Agents axis if a multi-line description is assigned to a label

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • matrix-project-plugin
    • None
    • OS: RHEL7.9
      Jenkins: 2.319.3 upgraded from 2.303.1
      Matrix Project plugin: 1.20 upgraded from 1.19
      Node and Label parameter plugin: 1.10.3 upgraded from 1.10.1

      After a Jenkins application and all plugins-update, new and existing multi-configuration projects have lost the ability to add an Agents axis.  Running through Chrome's debugger, this error displays when the Agents button is selected under the "Add axis" option.  

      Uncaught SyntaxError: Invalid or unexpected token 
        at eval (<anonymous>) 
        at geval (hudson-behavior.js:471:30)
        [...]

      This is occurring on two production servers, both of which have many nodes defined.  It is not occurring on two development servers, which only have three to six nodes defined.  . I added all the nodes from one production server to one dev server, but that did not have an impact.  

      In the /configure screen, when I select "Add axis" and then "Agents", no window and no errors are displayed in the GUI.  (In the dev environment, when I do that I get the Agents/Name/Node\Label window.)  I also note in dev I see a checkName "step", but that does not occur in prod.

      Using Chrome to see what I could figure out, I captured some errors.  Attached.

      Please let me know what additional information I can provide.  This is impacting existing multi-configuration projects, which no longer have the agents available to them.

          [JENKINS-67843] Matrix projects can't add Agents axis if a multi-line description is assigned to a label

          Victoria created issue -
          Mark Waite made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ]
          Victoria made changes -
          Attachment New: plugins-ver.txt [ 57319 ]
          Victoria made changes -
          Description Original: After a Jenkins application and all plugins-update, new and existing multi-configuration projects have lost the ability to add an Agents axis.  

          This is occurring on two production servers, both of which have many nodes defined.  It is not occurring on two development servers, which only have three to six nodes defined.

          In the /configure screen, when I select "Add axis" and then "Agents", no window and no errors are displayed in the GUI.  (In the dev environment, when I do that I get the Agents/Name/Node\Label window.)  I also note in dev I see a checkName "step", but that does not occur in prod.

          Using Chrome to see what I could figure out, I captured some errors.  Attached.

          Please let me know what additional information I can provide.  This is impacting existing multi-configuration projects, which no longer have the agents available to them.
          New: After a Jenkins application and all plugins-update, new and existing multi-configuration projects have lost the ability to add an Agents axis.  

          This is occurring on two production servers, both of which have many nodes defined.  It is not occurring on two development servers, -which only have three to six nodes defined.-  . I added all the nodes from one production server to one dev server, but that did not have an impact.  

          In the /configure screen, when I select "Add axis" and then "Agents", no window and no errors are displayed in the GUI.  (In the dev environment, when I do that I get the Agents/Name/Node\Label window.)  I also note in dev I see a checkName "step", but that does not occur in prod.

          Using Chrome to see what I could figure out, I captured some errors.  Attached.

          Please let me know what additional information I can provide.  This is impacting existing multi-configuration projects, which no longer have the agents available to them.
          Victoria made changes -
          Environment Original: OS: RHEL7.9
          Jenkins: 2.319.3
          Matrix plugin: 1.20
          New: OS: RHEL7.9
          Jenkins: 2.319.3 upgraded from 2.303.1
          Matrix Project plugin: 1.20 upgraded from 1.19
          Node and Label parameter plugin: 1.10.3 upgraded from 1.10.1
          Mark Waite made changes -
          Victoria made changes -
          Description Original: After a Jenkins application and all plugins-update, new and existing multi-configuration projects have lost the ability to add an Agents axis.  

          This is occurring on two production servers, both of which have many nodes defined.  It is not occurring on two development servers, -which only have three to six nodes defined.-  . I added all the nodes from one production server to one dev server, but that did not have an impact.  

          In the /configure screen, when I select "Add axis" and then "Agents", no window and no errors are displayed in the GUI.  (In the dev environment, when I do that I get the Agents/Name/Node\Label window.)  I also note in dev I see a checkName "step", but that does not occur in prod.

          Using Chrome to see what I could figure out, I captured some errors.  Attached.

          Please let me know what additional information I can provide.  This is impacting existing multi-configuration projects, which no longer have the agents available to them.
          New: After a Jenkins application and all plugins-update, new and existing multi-configuration projects have lost the ability to add an Agents axis.  
          {code:java}
          Uncaught SyntaxError: Invalid or unexpected token
            at eval (<anonymous>)
            at geval (hudson-behavior.js:471:30)
          {code}
          This is occurring on two production servers, both of which have many nodes defined.  It is not occurring on two development servers, -which only have three to six nodes defined.-  . I added all the nodes from one production server to one dev server, but that did not have an impact.  

          In the /configure screen, when I select "Add axis" and then "Agents", no window and no errors are displayed in the GUI.  (In the dev environment, when I do that I get the Agents/Name/Node\Label window.)  I also note in dev I see a checkName "step", but that does not occur in prod.

          Using Chrome to see what I could figure out, I captured some errors.  Attached.

          Please let me know what additional information I can provide.  This is impacting existing multi-configuration projects, which no longer have the agents available to them.
          Victoria made changes -
          Summary Original: Multi-config projects unable to add Agents axis New: Multi-config projects unable to add Agents axis (hudson.behavior.js:471:30)
          Victoria made changes -
          Description Original: After a Jenkins application and all plugins-update, new and existing multi-configuration projects have lost the ability to add an Agents axis.  
          {code:java}
          Uncaught SyntaxError: Invalid or unexpected token
            at eval (<anonymous>)
            at geval (hudson-behavior.js:471:30)
          {code}
          This is occurring on two production servers, both of which have many nodes defined.  It is not occurring on two development servers, -which only have three to six nodes defined.-  . I added all the nodes from one production server to one dev server, but that did not have an impact.  

          In the /configure screen, when I select "Add axis" and then "Agents", no window and no errors are displayed in the GUI.  (In the dev environment, when I do that I get the Agents/Name/Node\Label window.)  I also note in dev I see a checkName "step", but that does not occur in prod.

          Using Chrome to see what I could figure out, I captured some errors.  Attached.

          Please let me know what additional information I can provide.  This is impacting existing multi-configuration projects, which no longer have the agents available to them.
          New: After a Jenkins application and all plugins-update, new and existing multi-configuration projects have lost the ability to add an Agents axis.  Running through Chrome's debugger, this error displays when the Agents button is selected under the "Add axis" option.  
          {code:java}
          Uncaught SyntaxError: Invalid or unexpected token
            at eval (<anonymous>)
            at geval (hudson-behavior.js:471:30)
            [...]{code}
          This is occurring on two production servers, both of which have many nodes defined.  It is not occurring on two development servers, -which only have three to six nodes defined.-  . I added all the nodes from one production server to one dev server, but that did not have an impact.  

          In the /configure screen, when I select "Add axis" and then "Agents", no window and no errors are displayed in the GUI.  (In the dev environment, when I do that I get the Agents/Name/Node\Label window.)  I also note in dev I see a checkName "step", but that does not occur in prod.

          Using Chrome to see what I could figure out, I captured some errors.  Attached.

          Please let me know what additional information I can provide.  This is impacting existing multi-configuration projects, which no longer have the agents available to them.
          Victoria made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Justin Vallon made changes -
          Resolution Original: Cannot Reproduce [ 5 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]

            Unassigned Unassigned
            nm_v Victoria
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: