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

Executor_Number variable doesn't align with the “build executor status”

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      After cancelling a build on an agent, the EXECUTOR_NUMBER variable gets out of sync with the "build executor status" number.

      Please check attached screenshots.

        Attachments

        1. BuildExecutorStatus.png
          BuildExecutorStatus.png
          333 kB
        2. Freestyle1Job.png
          Freestyle1Job.png
          194 kB
        3. Freestyle2Job.png
          Freestyle2Job.png
          194 kB
        4. Freestyle3Job.png
          Freestyle3Job.png
          194 kB

          Activity

          fadelw Fadel Wanssa created issue -
          danielbeck Daniel Beck made changes -
          Field Original Value New Value
          Component/s core [ 15593 ]
          Component/s build-environment [ 17667 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 157706 ] JNJira + In-Review [ 179658 ]
          roebi Robert Halter made changes -
          Link This issue depends on JENKINS-4756 [ JENKINS-4756 ]
          roebi Robert Halter made changes -
          Comment [ *Example of an Impact*
          Calculate a VNC Display Number with
          {noformat}VNC_DISPLAY_NR=$((${EXECUTOR_NUMBER}+${VNC_BASE_NR})){noformat}
          With this Bug - the Executor Number is not unique - partly solved with JENKINS-4756 - a Job with the same Executor Number overtake a already used VNC Display.

          *Solutions*
          Try not to use the *EXECUTOR_NUMBER* Variable to define a VNC Display Number.
          ]
          roebi Robert Halter made changes -
          Link This issue depends on JENKINS-4756 [ JENKINS-4756 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            fadelw Fadel Wanssa
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: