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

hudson.model.Computer.isIdle() fails to account for fly weight tasks.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      The hudson.model.Computer.isIdle() method will indicate that a computer is idle even if there is a fly weight task running on it. I have a cloud plugin for a local cloud system that removes nodes after being idle for a period of time. This causes computers to get removed which are hosting fly weight tasks. Also the method hudson.model.Computer.getIdleStartMilliseconds() may need to take fly weight tasks into account.

          [JENKINS-5049] hudson.model.Computer.isIdle() fails to account for fly weight tasks.

          nairb774 created issue -
          nairb774 made changes -
          Attachment New: 000-isIdle.patch [ 19047 ]
          nairb774 made changes -
          Attachment New: 001-getIdleStartMilliseconds.patch [ 19061 ]
          Attachment New: 002-countExecutors.patch [ 19062 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135133 ] New: JNJira + In-Review [ 203284 ]

            Unassigned Unassigned
            nairb774 nairb774
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: