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

Possible deadlock during checking remote job

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.
      ...
      

        Attachments

          Activity

          muczy Peter Mihaly Avramucz created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 169164 ] JNJira + In-Review [ 183382 ]
          cashlalala KaiHsiang Chang made changes -
          Released As https://github.com/jenkinsci/parameterized-remote-trigger-plugin/releases/tag/Parameterized-Remote-Trigger-3.0.0
          Assignee Maurice W. [ morficus ] KaiHsiang Chang [ cashlalala ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          cashlalala KaiHsiang Chang made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: