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

Possible deadlock during checking remote job

XMLWordPrintable

      Sometimes we experience the following problem: the job, configured to use the remove trigger plugin, is polling the remove job correctly, then a network problem occurs and the polling stops (at least judging from the logs) and after that, the job cannot be aborted, neither by plugin, nor by hand.

      What I've found, the the code sets the connection timeout but it does not set the read timeout, which is by default -1/0 meaning infinite.

      Log:

      ...
      04:44:38 Waiting for remote build to finish.
      04:44:38 Waiting for 30 seconds until next poll.
      04:45:09 Waiting for remote build to finish.
      04:45:09 Waiting for 30 seconds until next poll.
      06:38:26 Build timed out (after 120 minutes). Marking the build as aborted.
      ...
      

            cashlalala KaiHsiang Chang
            muczy Peter Mihaly Avramucz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: